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 > DB2 > How to bypass the DB2 cache on iSeries?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-03-06, 05:42
Eric14 Eric14 is offline
Registered User
 
Join Date: Mar 2006
Posts: 2
How to bypass the DB2 cache on iSeries?

Hi,

I am doing some benchmarking on an SQL Query with DB2 for iSeries.
DB2 for iSeries automatically caches the access plan and ODP, which makes it almost impossible to measure the time the Optimizer takes to build an access plan.

Is there any way to bypass the cache, to tell DB2 that you don't want to use the cache for this statement? In the QAQQINI file maybe? Or with a statement?

Thanks,
Eric
Reply With Quote
  #2 (permalink)  
Old 04-03-06, 06:47
Eric14 Eric14 is offline
Registered User
 
Join Date: Mar 2006
Posts: 2
System_sql_statement_cache = *no

I found it in the meantime: SYSTEM_SQL_STATEMENT_CACHE = *NO in QAQQINI...
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