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 > Flushing bufferpool

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-28-04, 07:15
ashaq ashaq is offline
Registered User
 
Join Date: Dec 2003
Posts: 39
Flushing bufferpool

Hello,

I need to monitor the excution time of the querry,for that I want there should be no pages in the bufferpool ,and it should begin with fetching from the disk into the buffer ,can anyone please tell me how to flush the pages from BP..Any help wld be appreciated


with regards
ashaq
Reply With Quote
  #2 (permalink)  
Old 01-28-04, 07:16
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: Flushing bufferpool

Deactivate database and activate it ...

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 01-28-04, 07:20
ashaq ashaq is offline
Registered User
 
Join Date: Dec 2003
Posts: 39
Re: Flushing bufferpool

hello satyaraam,

Thx for the suggestion,Is there no commond as we have in Oracle to flush the BF..In my case deactvating is not possible
Reply With Quote
  #4 (permalink)  
Old 01-28-04, 07:38
nitingm nitingm is offline
Registered User
 
Join Date: Jul 2003
Location: Austin, TX, USA
Posts: 278
To Add.

Hi Ashaq,

As Sathyaram mentioned that is the only option available. However what I would also suggest is a restart of your Operating system as well in case you are looking for perfect figures as I am not sure whether the Deactivate database command would flush the operating system cache as well. On NT there is an os cache parameter DB2NTNOCACHE which is for the OS Cache.

There is no command to start/stop bufferpools to the best of my knowledge as well.

Cheers

Nitin
__________________
HTH

Nitin

Ask the experienced rather than the learned
Reply With Quote
  #5 (permalink)  
Old 02-03-04, 05:20
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

Please also check the buffer pool questions.

Hope this helps,
Grofaty
Reply With Quote
  #6 (permalink)  
Old 02-03-04, 12:00
famudba famudba is offline
Registered User
 
Join Date: Jan 2004
Location: Tallahassee, FL, USA
Posts: 96
Re: Flushing bufferpool

Quote:
Originally posted by ashaq
Hello,

I need to monitor the excution time of the querry,for that I want there should be no pages in the bufferpool ,and it should begin with fetching from the disk into the buffer ,can anyone please tell me how to flush the pages from BP..Any help wld be appreciated


with regards
ashaq
Which version of DB2 R U using, let me know


Lekharaju Ennam
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