![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, it is possible to use dbtran and a .log file to get the timestamp of each operation(insert, update, etc) done to the .db ? I tried using the -g option but it prints something like: --BEGIN TRANSACTION-1002-0053302122 Can I convert those lines to a timestamp? I'm on ASA 6.0.4 Many thanks Oliver |
#3
| |||
| |||
|
|
No. Checkpoint and connect operations include the timestamp in them, but none of the other operations include any information in the log file about the time the operation was executed, so there's no way for dbtran to provide this information. |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
What does this number means: 0053302002 |
|
Hi Reg, thanks for your answer. Is there a way I can deduce the timestamp? What does those numbers means? Are they seconds, miliseconds? For example, can I deduce the timestamp here: --CHECKPOINT-0000-0053302002-2005/dec/21 02:32 --CONNECT-1001-0053302028-dba-2005/dec/21 02:34 --BEGIN TRANSACTION-1001-0053302039 BEGIN TRANSACTION go --COMMIT-1001-0053302044 COMMIT WORK go What does this number means: 0053302002 Many thanks Oliver Reg Domaratzki (iAnywhere Solutions) wrote: No. Checkpoint and connect operations include the timestamp in them, but none of the other operations include any information in the log file about the time the operation was executed, so there's no way for dbtran to provide this information. |
#6
| |||
| |||
|
|
I forgot to write that I'm interested in the aproximate date/time of the operation. Or even only the date. Thanks Oliver |
#7
| |||
| |||
|
|
Since checkpoints happen every 20 minutes or so on an idle server, you should be able to use the checkpoint timestamps to get fairly close. |
![]() |
| Thread Tools | |
| Display Modes | |
| |