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 > Take snapshots of certain period ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-17-08, 04:57
vilius vilius is offline
Registered User
 
Join Date: Nov 2007
Posts: 55
Take snapshots of certain period ?

Hi,

Is it possible to take snapshots of certain period ?
I want my snapshots to contain only information when db is heavily loaded. I don't want global statistics since db instance was started.

thank
you
Reply With Quote
  #2 (permalink)  
Old 11-17-08, 05:20
JAYANTA_DATTA JAYANTA_DATTA is offline
Registered User
 
Join Date: Oct 2004
Location: DELHI INDIA
Posts: 336
Its not possible to have Snapshot over a period of time: For that you need to go for EVENT MONITOR.

1> For the requirement you mentioned: this is what you can do.

Write a Shell script to have a check on your server to run after every 5 minutes or so which will look-into the CPU utilization. Once the CPU is above > 60% (e.g.), just take the DB/Application Snapshot. Sleep for 2 Minutes or so, then Again the CPU load, if it still beyond 60% again take the next SNAPSHOT and so on. Continue to Take Snapshots after every 120 Seconds till your CPU Load is beyond 60% (the threshold you set).

You can periodically check those Snapshots to see which were the contributing applications (with detail) during HIGH-Load period.

Thanks,
Jayanta
Reply With Quote
  #3 (permalink)  
Old 11-17-08, 05:32
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
You can also consider tools like the DB2 Performance Expert, which provides you with an infrastructure to do various analysis on the DB2 performance indicators. It also allows you to aggregate snapshot information for certain time intervals.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #4 (permalink)  
Old 11-17-08, 08:01
vilius vilius is offline
Registered User
 
Join Date: Nov 2007
Posts: 55
Is it possible to evaluate DB2 Performance Expert tool ?
It looks like it's not for free.

thanks
Vilius
Reply With Quote
  #5 (permalink)  
Old 11-18-08, 03:57
JAYANTA_DATTA JAYANTA_DATTA is offline
Registered User
 
Join Date: Oct 2004
Location: DELHI INDIA
Posts: 336
For having the flavour of PE, you need to contact IBM Representative in your Region for the Free Evaluation. Direct download is n't available.

In addition to that, you can see Live Demo of the same in IBM Support website. The same can be bought as a stand-alone product.
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