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 > snapshot problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-08-04, 03:01
shedb shedb is offline
Registered User
 
Join Date: Dec 2003
Posts: 78
snapshot problem

hello all,
to get a snapshot on a aix db2 udb 7.2 fixpack 10a server's database, what i do is:
connect to tevr00;
update monitor switches using bufferpool on;
update monitor switches using statement on;
update monitor switches using lock on;
update monitor switches using sort on;
update monitor switches using table on;
update monitor switches using uow on;


then wait for sometime(10 minutes):
then run the commands:
db2 connect to tevr00
db2 get snapshot for all on tevr00

but when i do that, many things ar not collected:

Locks held currently = 0
Lock waits = Not Collected
Time database waited on locks (ms) = Not Collected
Lock list memory in use (Bytes) = 3492
Deadlocks detected = 0
Lock escalations = 0

...........

Total sorts = Not Collected
Total sort time (ms) = Not Collected
Sort overflows = Not Collected
Active sorts = 0

Buffer pool data logical reads = Not Collected
Buffer pool data physical reads = Not Collected
Asynchronous pool data page reads = Not Collected
Buffer pool data writes = Not Collected
Asynchronous pool data page writes = Not Collected
Buffer pool index logical reads = Not Collected
Buffer pool index physical reads = Not Collected
Asynchronous pool index page reads = Not Collected

......................


Number of executions = 17
Number of compilations = 2
Worst preparation time (ms) = 1
Best preparation time (ms) = 1
Internal rows deleted = Not Collected
Internal rows inserted = Not Collected
Rows read = Not Collected
Internal rows updated = Not Collected
Rows written = Not Collected
Statement sorts = Not Collected
Total execution time (sec.ms) = Not Collected
Total user cpu time (sec.ms) = Not Collected
Total system cpu time (sec.ms) = Not Collected
Statement text = SELECT count(*) AS SAYI FROM


................


we do the same things on other servers and it works, what is wrong with that one?
is there something missing with the monitoring
Reply With Quote
  #2 (permalink)  
Old 09-08-04, 03:08
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Are you doing the snapshot on the same session/window ??

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 09-08-04, 06:23
shedb shedb is offline
Registered User
 
Join Date: Dec 2003
Posts: 78
yes
i connect throug telnet, and do all operations on the same window
Reply With Quote
  #4 (permalink)  
Old 09-08-04, 13:52
udbraja udbraja is offline
Registered User
 
Join Date: Sep 2004
Posts: 111
Recycling the instance will help to collect these missed informations

-Raj
Reply With Quote
  #5 (permalink)  
Old 09-09-04, 06:06
shedb shedb is offline
Registered User
 
Join Date: Dec 2003
Posts: 78
what is recycling the instance?
how can i do that?
Reply With Quote
  #6 (permalink)  
Old 09-09-04, 06:32
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
db2stop/db2start

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #7 (permalink)  
Old 09-09-04, 06:52
shedb shedb is offline
Registered User
 
Join Date: Dec 2003
Posts: 78
during monitoring?
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