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 flush a query from the statment cache in Z/Os

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-19-09, 23:23
rdrechsler rdrechsler is offline
Registered User
 
Join Date: Oct 2009
Posts: 4
how to flush a query from the statment cache in Z/Os

running dynamic statement cache in db2 v9 Z/Os... how do you flush a query or all statements out of the cache.. haven't found any relevant statements in the sql reference.
Reply With Quote
  #2 (permalink)  
Old 11-20-09, 00:12
sawangupta sawangupta is offline
Registered User
 
Join Date: Nov 2009
Location: Bangalore
Posts: 25
Reply With Quote
  #3 (permalink)  
Old 11-20-09, 08:46
rdrechsler rdrechsler is offline
Registered User
 
Join Date: Oct 2009
Posts: 4
The query(ies) are already in the statement cache.. I want to get rid of them..


I don't think ODBC parms will affect whats in the cache
Reply With Quote
  #4 (permalink)  
Old 11-20-09, 08:56
rdrechsler rdrechsler is offline
Registered User
 
Join Date: Oct 2009
Posts: 4
ok, one way I found in Z/Os.. set the CACHEDYN zparm to NO compile and
then issue a SET SYSPARM command to load it... clears the whole cache..

It's a BFI method but gets the job done..

any less obtrusive ways for a particular statement?
Reply With Quote
  #5 (permalink)  
Old 11-20-09, 09:28
dav1mo dav1mo is offline
Registered User
 
Join Date: Dec 2007
Location: Richmond, VA
Posts: 782
You can perform runstats on an object.
Dave
Reply With Quote
  #6 (permalink)  
Old 11-20-09, 10:02
rdrechsler rdrechsler is offline
Registered User
 
Join Date: Oct 2009
Posts: 4
the change in zparm which I thought worked , didn't
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