If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > SAP MaxDB query precalculation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-26-11, 19:05
mirekjozic mirekjozic is offline
Registered User
 
Join Date: Jun 2011
Posts: 3
SAP MaxDB query precalculation

Hi all.

Could someone please tell me is there a way how to prevent and/or circumvent SAP MaxDB's (sub)query precalculation.

Obvious examples are:

a) SELECT COUNT(*) FROM DOMAIN.DOMAINS AS T1, DOMAIN.COLUMNS AS T2, DOMAIN.TABLES AS T3 WHERE 12=32
b) SELECT * FROM (SELECT COUNT(*) FROM DOMAIN.DOMAINS AS T1, DOMAIN.COLUMNS AS T2, DOMAIN.TABLES AS T3 WHERE 12=32) WHERE 52=23

These will actually delay while it's obvious that it shouldn't. Thing is that with this kind of behavior I am getting pretty heavy benchmark hit (in some normal case it would be happening e.g. 50% of times while with this kind of behavior CPU load goes crazy for every similar case - whenever WHERE is true or false).

Please help.

KR

Last edited by mirekjozic; 06-26-11 at 19:30.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On