Quantcast
Channel: SCN: Message List - SAP MaxDB
Viewing all 2539 articles
Browse latest View live

Re: NetWeaver 2004 on MaxDB - assertion failed

$
0
0

Hi Symon,

 

which Linux do you use to install your SAP system? SAP is not supported on all Linux versions.

Some posts before you mentioned that you want to install "light" version of netweaver...

Maybe you could have a look at

http://www.sdn.sap.com/irj/scn/nw-downloads

there are "light" versions of netweaver, even an older (2004s) Linux version.

 

Best regards

Christian


Re: Live Cache 7.9 : Data cache Usage 100% even when system not used

$
0
0

Hi,

 

please check notes

Note 1173395 - FAQ: SAP MaxDB and liveCache configuration

Note 1139904 - FAQ: SAP MaxDB/liveCache database parameters

the old name for CacheMemorySize was cache_size.

"When using the SAP liveCache technology, it should be possible to hold all data that is to be processed in the IO buffer cache."

That means, you should have a CacheMemorySize of the size of your (filled) LiveCache database.

So if your LiveCache database is filled with 10 Gb of data, your CacheMemorySize should be 10 GB, at least, too.

 

Best regards

Christian

Re: Live Cache 7.9 : Data cache Usage 100% even when system not used

$
0
0

Hello Raoul,         

 

liveCache version 7.9 loads the OMS data impictely after restart into the data cache . So you'll see in the DB-Analyzer expert analysis -> Data Cache Usage file that the Data cache is immediately filled up. The column DC_usage tells you the percentage value of the datacache filling level. If all data is filled into the DC and the Usage in percent is lower than 100% - all OMS data can be loaded into the Cache and you have additional free space for SQL data.

 

The reload mechanism stops when:

1. all OMS data is loaded into the cache

2. the Filling level of 100% is reached

 

To find out the correct size of the Data Cache you should use the Db-Analyzer data. here the DB-Analyzer tells you if in normal processing the DC hitrate gets lower than 99%. Then a performacne analysis should be started.

 

There are no commen recommendations for the size of the Datacache. It depends on the SCM applications and the amount of data which has to be processed in the liveCache.

 

Regards, Christiane

Re: NetWeaver 2004 on MaxDB - assertion failed

$
0
0

Dear Christian,

 

thanks a lot for your advice.

I'd prefer to build the system myself, this is why I'm doing it.

I am using Oracle Linux 5 update 8, 32-bit.

I've checked the links, there is only 2004S (7.0), but no 2004.

 

Dear Deepak, I'll post the output of the commands later on tonight. Thank you!

Re: NetWeaver 2004 on MaxDB - assertion failed

$
0
0

Dear Deepak,

 

here is the output:

 

sdbregview  -l

install registry not found

MaxDB install registry viewer exited abnormally at Fr, Jun 14, 2013 at 23:14:19

 

dbmcli inst_enum

OK

7.5.0.32     /sapdb/N04/db

 

dbmcli db_enum

OK

N04     /sapdb/N04/db   7.5.0.32        fast    offline

N04     /sapdb/N04/db   7.5.0.32        quick   offline

N04     /sapdb/N04/db   7.5.0.32        slow    offline

 

I've also decided to post this one:

 

xuser list

-----------------------------------------------------------------

XUSER Entry  1

--------------

Key         :DEFAULT          

Username    :N04ADM                                                         

UsernameUCS2:N.0.4.A.D.M. . . . . . . . . . . . . . . . . . . . . . . . . . .

Password    :?????????

PasswordUCS2:?????????

Dbname      :N04              

Nodename    :N04                                                            

Sqlmode     :SAPR3  

Cachelimit  :-1

Timeout    

Isolation  

Charset     :<unspecified>    

-----------------------------------------------------------------

XUSER Entry  2

--------------

Key         :c                

Username    :CONTROL                                                        

UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .

Password    :?????????

PasswordUCS2:?????????

Dbname      :N04              

Nodename    :N04                                                            

Sqlmode     :SAPR3  

Cachelimit  :-1

Timeout    

Isolation  

Charset     :<unspecified>    

-----------------------------------------------------------------

XUSER Entry  3

--------------

Key         :c_J2EE           

Username    :CONTROL                                                        

UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .

Password    :?????????

PasswordUCS2:?????????

Dbname      :N04              

Nodename    :N04                                                            

Sqlmode     :SAPR3  

Cachelimit  :-1

Timeout    

Isolation  

Charset     :<unspecified>    

-----------------------------------------------------------------

XUSER Entry  4

--------------

Key         :w                

Username    :SUPERDBA                                                       

UsernameUCS2:S.U.P.E.R.D.B.A. . . . . . . . . . . . . . . . . . . . . . . . .

Password    :?????????

PasswordUCS2:?????????

Dbname      :N04              

Nodename    :N04                                                            

Sqlmode     :SAPR3  

Cachelimit  :-1

Timeout    

Isolation  

Charset     :<unspecified>    

Re: NetWeaver 2004 on MaxDB - assertion failed

$
0
0

OK, I went a bit deeper into this now...

I have retried the whole installation procedure on a new clean VM.

I've installed IBM Java 1.4.2, and now sapinst created all the users, not me.

 

Now, when the first assertion failed error comes up, the xuser list command is empty.

 

I have used these commands to create users:

 

su -c "/opt/sdb/programs/bin/xuser -U DEFAULT -u n04adm,sapn04adm -d N04 -n N04 -S SAPR3 -t 0 -I 0 set" -l n04adm

su -c "/opt/sdb/programs/bin/xuser -U c -u control,sapn04adm -d N04 -n N04 -S SAPR3 -t 0 -I 0 set" -l n04adm

su -c "/opt/sdb/programs/bin/xuser -U c_J2EE -u control,sapn04adm -d N04 -n N04 -S SAPR3 -t 0 -I 0 set" -l n04adm

su -c "/opt/sdb/programs/bin/xuser -U w -u superdba,sapn04adm -d N04 -n N04 -S SAPR3 -t 0 -I 0 set" -l n04adm

 

What I realized now, is, that sapn04adm stands for the password, and I have entered a different one in sapinst. Therefore, I have re-executed the 4 commands, using the password which I supplied to sapinst. Unfortunately, still couldn't connect to the DB.

Then I've tried to re-execute with clear and then set, but still no luck.

 

Then I've realized, that the password can't be longer than 8 characters, hence I tried sapn04ad.

And again no luck. Now I'm wondering what to do... Why sapinst isn't creating those users by itself...

And what to do... ? Perhaps if I reinstall everything again and supply to both sapinst and to the xuser creation command the same passwords, it might work... ?

 

PLEASE help me, I'm going nuts about this !!

Re: NetWeaver 2004 on MaxDB - assertion failed

$
0
0

Hi Symon,

 

I would really suggest to use a Linux supported by SAP, this would be SLES or Readhed.

At least SLES you could get for free (no support).

https://www.suse.com/products/server/eval.html

 

If you do not use one of them you will run into the problems you are getting right now. There are scripts and binaries compiled in a different way, using different prameters than used in the install scripts which will cause thes problems.

 

I would suggest to do a fresh install using one of the supported distributions.

 

Best regards

Christian

Re: MAXDB Installation error - Some Database application might still be running

$
0
0

Hello Edward.


I was getting same error while installing ERP 6 EHP 6 IDES Version Installation.

 

Your reply helped me a lot.

 

Thanks  Edward.

 

 

Regards

Sumeet S


Re: NetWeaver 2004 on MaxDB - assertion failed

$
0
0

Come one, guys, PLEASE PLEASE help me on this !!! This is a really crazy situation !!!

Re: NetWeaver 2004 on MaxDB - assertion failed

$
0
0

Hi Symon,

 

Please refer SAP Note No. 895992.

 

As currently you are on MaxDB 7.5 , suggestion would be to upgrade the database to atleast 7.6.

 

Hope this helps.

 

Regards,

Deepak Kori

Upgrade and Migrate DB

$
0
0

Hi,

 

We have a Windows 2003 Server with MaxDB 7.6 and 250GB of data

The server is outdated and we want to install Windows 2008 with MaxDB 7.8 on a new server.

We then want to migrate the DB from the windows 2003 server to the new windows 2008 server.

What would the best process be?

 

Regards

Nelus

Re: NetWeaver 2004 on MaxDB - assertion failed

$
0
0

Hi Symon, hi Deepak,

 

I am sorry, but I get lost of the current problem.

So what is it?

As I understood:

Symon wants to install a Netweaver 04 (Kernel 640) on an Oracle Linux 5 update 8, 32-bit

     Oracle Linux 5 is not supported by SAP for 32 bit -> please use an other Linux Distribution (SLES, Redhat, Oracle Linux 64 bit) and retry the installation using the relevant notes

https://service.sap.com/sap/support/notes/0000171356?nlang=E

If you still want to use Oracle Linux 5: Did you check

     https://service.sap.com/sap/support/notes/1567511

     https://service.sap.com/sap/support/notes/1565179

Please keep in mind, that these notes are for 64 bit!

If you still want to use Oracle Linux 5 32 bit: What is the current error?

Is the database installed? Can you connect to it?

Which install media do you use?

https://service.sap.com/sap/support/notes/969660

 

When I was installing Netweaver 04 on SLES 11 I noted the following to solve some errors:

https://service.sap.com/sap/support/notes/1066891

https://service.sap.com/sap/support/notes/817463

https://service.sap.com/sap/support/notes/822239

set LD_LIBRARY_PATH for root as well /sapdb/programs/lib/

But I was trying to install ECC 5.0 together with MaxDB 7.8.

 

Best regards

Christian

Re: Livecache 7.7 installation in a MSCS environment fails

$
0
0

We tried with a new SWPM 1.0 SP02, Patch 3 and indeed the installation on node A could be finished successfully.

Now when trying to configure Node B for the Livecache, installation already fails during input phase. Reason is that the installer switches the SAP DB TEch cluster group from node A to node B and tries to start the X_Server. But at this point neither the required binaries in I:\sapdb\programs are available nor the windows service for X_Server has been created.

We suspect a general issue in the installation procedure but we don't know where the problem is.

 

What we did so far for the SCM installation

1. Install first cluster node (ASCS, ERS, etc)

2. Install DB instance on first cluster node

      here Livecache client software has been installed on first node

3. Configure second cluster node (ASCS, ERS, etc)

4. Install the central instance locally on first cluster node

5. Install dialog instance locally on second cluster node

     here Livecache client software has been installed on Second node

6. Install Livecache on first cluster node

7. Configure second cluster node for Livecache

=== here we got stuck now ===

 

Any idea ?

 

Cheers,

  Juergen

-24994,ERR_RTE: Runtime environment error

$
0
0

Hello,

 

We are trying to install maxdb and create a database, on a Suse 10.1

 

We downloaded the maxdb-all-linux-32bit-i386-7_8_02_35.tgz

We extracted and install with ./SDBINST

 

The installation process finished without errors

 

Then we try to create a database :

 

base@or:/pl/sdb/MAXDB/bin> ./dbmcli -s db_create BASE1 ADMINDB,ADMINDB

OK

base@or:/pl/sdb/MAXDB/bin> ./dbmcli -d BASE1 -u ADMINDB,ADMINDB -i /pl/maxdb/test.script

>param_startsession

OK

 

 

---

>param_init

OK

 

 

---

>param_put MAXUSERTASKS 5

OK

 

---

>param_checkall

OK

 

 

---

>param_commitsession

OK

 

 

---

>param_addvolume 1 LOG LOG_001 F 2000

OK

 

 

---

>param_addvolume 1 DATA DAT_001 F 10000

OK

 

 

---

>db_admin

ERR

-24994,ERR_RTE: Runtime environment error

20090,Check kernel message file! Kernel exited with '0' before reaching ADMIN st

ate

 

Can you help me please ?

 

Thanks for answer

Re: NetWeaver 2004 on MaxDB - assertion failed

$
0
0

Dear Masters,

 

would you kindly help me again ?

The Database load has been running for the whole night, all the R3load processes

finished, except 1. which has been running for more than 5 hours, doing God knows what...

In the console window, where I ran sapinst, I have the following message:

 

sapparam: sapargv( argc, argv) has not been called.

sapparam(1c): No Profile used.

sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

INFO       2013-06-20 01:03:10 [syuxccuren.cpp:243]

           CSyCurrentProcessEnvironmentImpl::setGroup(PSyGroup)

            lib=iamodload module=CR3ldStep

Real group ID set to 200.

 

In the View Log button, I have nothing... Please advise what to do... Somewhere on the net, they say to ignore it (but for how long ... ? When is it going to finish ... ? Others say to restart the listener, but my case is for MaxDB, PLEASE HELP :-)


Re: NetWeaver 2004 on MaxDB - assertion failed

$
0
0

OK, the problem seems to be solved. THANKS A LOT, Deepak !!!!!!!!!!

The root cause is, that MaxDB 7.5 is VERY VERY VERY BUGGY !!!

It simply wouldn't start !!! As I don't know nothing about MaxDB, it took me a lot to find it out.

On an attempt to be started, it would produce the following error:

 

ERR

-24994,ERR_RTE: runtime environment error

1,Check knldiag! Kernel died before reaching ADMIN state

 

though no knldiag file was generated.

 

The final solution comes partly from Note 790879 - SAP Web AS 6.40 SR1 Installation on UNIX: MaxDB , which really inspired me to the solution.

Though, they say: Install MaxDB database software 7.5 build 25 or higher. I have build 32 and STILL it wouldn't start !!

Now I took MaxDB 7.6 (I think from the installation of NetWeaver 7.0) and at least I could pass the fatal step #14 ;-) And contrary to what the note says, I had to start from scratch again, as I couldn't resume the previous installation. Now the DB is being loaded, let's see... Wish me luck ;-)

Re: Runtime Errors & Tables missing

$
0
0

Did anybody ever get anywhere with this?  I am having the same issue.

 

Thanks

 

Mark

Re: NetWeaver 2004 on MaxDB - assertion failed

$
0
0

Hi,

 

the one R3load running should be the one creating the indexes (this cant be done in parallel).

You could connect to database and have a look at table /MAXDB/INDEXSTATEMENTS, at the end this table should be empty or does not exist anymore.

 

https://service.sap.com/sap/support/notes/1464560

 

So just wait ...

an (as root)

 

sapdb/<SID>/db/bin/x_cons <DBID> sh ac 5

 

should give you the running threads of maxdb, if there are still some this should be ok.

 

 

Best regards

Christian

Re: Upgrade and Migrate DB

$
0
0

Hi Nelus,

 

I assume you have an SAP system running on Windows 2003 with MaxDB database.

In such a case I shall suggest you to perform homogenous system copy using R3load.

In this procedure you perform the following

 

1) Export the source database using SAP tools

2) Prepare the target system on Windows 2008 and MaxDB 7.8

3) Import the data from step-1 into the target system

4) Perform post system copy activities

 

You may refer system copy guides on SAP Marketplace for detailed operations.

 

Hope this helps.

 

Regards,

Deepak Kori

Bad performance SQL statement in MaxDB

$
0
0

Hi,

 

Tranaction ke30 has a very bad performance.

Following SQL statement runs very badly. Our database is Maxdb, version 7.8.02.31.

 

SELECT
  T_00 . "BESKZ" , T_00 . "BUKRS" , T_00 . "BZIRK" , T_00 . "KAUFN" ,
  T_00 . "KNDNR" , T_00 . "KVGR1" , T_01 . "GJAHR" , T_01 . "PERDE" ,
  T_00 . "PLIKZ" , T_00 . "PRCTR" , T_00 . "VBUND" , T_01 . "VRGAR" ,
  T_00 . "VTWEG" , T_00 . "WERKS" , T_00 . "WWLWE" , T_00 . "WWPH1" ,
  T_00 . "WWPH2" , T_00 . "WWPH3" , T_00 . "WWSGF" , T_00 . "WWVB" ,
  T_00 . "WWWKV" , SUM( T_01 . "VV010" ) "VV010" ,
  SUM( T_01 . "VV020" ) "VV020" , SUM( T_01 . "VV050" ) "VV050" ,
  SUM( T_01 . "VV060" ) "VV060" , SUM( T_01 . "VV061" ) "VV061" ,
  COUNT(*) "RECCOUNT"
FROM
  "K810025" T_00 INNER JOIN "K810026" T_01 ON T_00 . "TRKEYNR" = T_01 . "TRKEYNR
  "
WHERE
  T_01 . "GJAHR" = ? AND T_01 . "PERDE" = ? AND T_00 . "PLIKZ" = ? AND ( T_01 .
  "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" =
  ? AND T_01 . "PERDE" = ? AND T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR
  T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 .
  "PERDE" = ? AND T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR T_01 . "VRGAR"
  = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 . "PERDE" = ? AND
  T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 .
  "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" =
  ? AND T_01 . "PERDE" = ? AND T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR
  T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 .
  "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 . "PERDE" = ? AND T_00 . "PLIKZ"
  = ? AND ( T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR
  T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 .
  "PERDE" BETWEEN ? AND ? AND T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR
  T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 .
  "PERDE" BETWEEN ? AND ? AND T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR
  T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 .
  "PERDE" BETWEEN ? AND ? AND T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR
  T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 .
  "PERDE" BETWEEN ? AND ? AND T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR
  T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 .
  "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 . "PERDE" BETWEEN ? AND ? AND
  T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 .
  "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" =
  ? AND T_01 . "PERDE" BETWEEN ? AND ? AND T_00 . "PLIKZ" = ? AND ( T_01 .
  "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ?
  OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 . "PERDE" = ? AND T_00
  . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 .
  "VRGAR" = ? )
GROUP BY
  T_00 . "BESKZ" , T_00 . "BUKRS" , T_00 . "BZIRK" , T_00 . "KAUFN" ,
  T_00 . "KNDNR" , T_00 . "KVGR1" , T_01 . "GJAHR" , T_01 . "PERDE" ,
  T_00 . "PLIKZ" , T_00 . "PRCTR" , T_00 . "VBUND" , T_01 . "VRGAR" ,
  T_00 . "VTWEG" , T_00 . "WERKS" , T_00 . "WWLWE" , T_00 . "WWPH1" ,
  T_00 . "WWPH2" , T_00 . "WWPH3" , T_00 . "WWSGF" , T_00 . "WWVB" ,
  T_00 . "WWWKV"

 

In some cases we start the report with different selection, and in this case the statement has following where clause, but the same bad performance:

 

WHERE
  T_00 . "BUKRS" = ? AND T_00 . "PRCTR" = ? AND T_00 . "WERKS" = ? AND ( T_01 .
  "GJAHR" = ? AND T_01 . "PERDE" = ? AND T_00 . "PLIKZ" = ? AND ( T_01 .
  "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" =
  ? AND T_01 . "PERDE" = ? AND T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR
  T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 .
  "PERDE" = ? AND T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR T_01 . "VRGAR"
  = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 . "PERDE" = ? AND
  T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 .
  "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" =
  ? AND T_01 . "PERDE" = ? AND T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR
  T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 .
  "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 . "PERDE" = ? AND T_00 . "PLIKZ"
  = ? AND ( T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR
  T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 .
  "PERDE" BETWEEN ? AND ? AND T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR
  T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 .
  "PERDE" BETWEEN ? AND ? AND T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR
  T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 .
  "PERDE" BETWEEN ? AND ? AND T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR
  T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 .
  "PERDE" BETWEEN ? AND ? AND T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR
  T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 .
  "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 . "PERDE" BETWEEN ? AND ? AND
  T_00 . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 .
  "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" =
  ? AND T_01 . "PERDE" BETWEEN ? AND ? AND T_00 . "PLIKZ" = ? AND ( T_01 .
  "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ?
  OR T_01 . "VRGAR" = ? ) OR T_01 . "GJAHR" = ? AND T_01 . "PERDE" = ? AND T_00
  . "PLIKZ" = ? AND ( T_01 . "VRGAR" = ? OR T_01 . "VRGAR" = ? OR T_01 .
  "VRGAR" = ? ) )
GROUP BY
  T_00 . "BESKZ" , T_00 . "BUKRS" , T_00 . "BZIRK" , T_00 . "KAUFN" ,
  T_00 . "KNDNR" , T_00 . "KVGR1" , T_01 . "GJAHR" , T_01 . "PERDE" ,
  T_00 . "PLIKZ" , T_00 . "PRCTR" , T_00 . "VBUND" , T_01 . "VRGAR" ,
  T_00 . "VTWEG" , T_00 . "WERKS" , T_00 . "WWGCX" , T_00 . "WWLWE" ,
  T_00 . "WWPH1" , T_00 . "WWPH2" , T_00 . "WWPH3" , T_00 . "WWSGF" ,
  T_00 . "WWVB" , T_00 . "WWWKV"

 

Execution plans, indices are attached.

 

K810026 hasn't got an index.

Have you got an idea, how can I improve the performance from this statement? Which index should I create?

 

Many thanks for your help.

 

Regards,

 

Stefan

Viewing all 2539 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>