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 > DB2 - database snapshot

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-20-09, 09:07
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
DB2 - database snapshot

Hi,
I have run database snapshot and got the following result

Code:
Commit statements attempted                = 6881526
Rollback statements attempted              = 559558
Dynamic statements attempted               = 18806473
Static statements attempted                = 50175189
Failed statement operations                = 9705
Select SQL statements executed             = 15690032
Xquery statements executed                 = 0
Update/Insert/Delete statements executed   = 4397575
DDL statements executed                    = 768
I am just wondering why "Dynamic statements attempted" + "Static statements attempted" is not the same as sum
"Select SQL statements executed" + "Update/Insert/Delete statements executed"?

Regards
Reply With Quote
  #2 (permalink)  
Old 07-20-09, 10:23
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Each line of a stored procedure is a separate SQL statement. There are also many other statements such as value, grant, etc that are probably being executed.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
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