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 transactional log data

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-27-11, 08:04
mkhapali mkhapali is offline
Registered User
 
Join Date: May 2011
Posts: 3
Smile DB2 transactional log data

Hello everybody
Does timestamp is logged for every INSERT statement in the db2 transactional log records?
Reply With Quote
  #2 (permalink)  
Old 05-27-11, 09:13
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
I believe that everything in the transactional log is timestamped.

Andy
Reply With Quote
  #3 (permalink)  
Old 05-30-11, 17:17
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Yes, it is. The question is what a "timestamp" actually comprises. In database logs, it could be just a counter, possibly provided by a sysplex timer, or a CPU internal clock, a real-world timestamp, or something else. Since DB2 provides the capability to roll-forward through logs to a specific point in time, a real-world timestamp is needed at least for COMMIT/ROLLBACK to decide whether a transaction completed before the desired PIT.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
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