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 > Informix > OnLog

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-09-02, 11:17
silviu_stoica silviu_stoica is offline
Registered User
 
Join Date: Jan 2002
Posts: 11
OnLog

Hi! I have IDS 2000 Version 9.21 FC4 on HP-UX 11.00 and I'm trying to understand the output of onlog -l. Precisely I need to find a row in a table where an update has done. I found the records in the log related to the transaction of my colleague who made the update but now i need a hint to interpret them.
Thank you,
Silviu Stoica
Reply With Quote
  #2 (permalink)  
Old 09-09-02, 12:13
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
What do you need ?
Reply With Quote
  #3 (permalink)  
Old 09-10-02, 00:05
silviu_stoica silviu_stoica is offline
Registered User
 
Join Date: Jan 2002
Posts: 11
We have a table with about 500000 records and my colleague made, based on a trigger, some updates on it. I need the id of the modified rows in that table to know which of them were modified.
Thank you in advance,
Silviu Stoica
Reply With Quote
  #4 (permalink)  
Old 09-10-02, 09:53
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Can you post a snapshot of the output ?
Reply With Quote
  #5 (permalink)  
Old 09-10-02, 10:03
silviu_stoica silviu_stoica is offline
Registered User
 
Join Date: Jan 2002
Posts: 11
Of course. Here you are:

27b018 40 BEGIN 121 11582 0 09/09/2002 16:29:47 9031 stipr5
27b040 56 HUPDAT 121 0 27b018 20072e 3630e 0 129 129 1
27b078 52 DELITEM 121 0 27b040 2001b0 3630e 28 1 4
27b0ac 52 ADDITEM 121 0 27b078 2001b0 3630e 30 1 4
27b0e0 56 HUPDAT 121 0 27b0ac 20072e 27e04 0 129 129 1
27b118 52 DELITEM 121 0 27b0e0 2001b0 27e04 32 1 4

addr len type xid id link
27b14c 52 ADDITEM 121 0 27b118 80000001002001b0 8000000100027e04 30 1 4
27b180 56 HUPDAT 121 0 27b14c 800000010020072e 8000000100027e05 8000000100000000 129 129 1
27b1b8 52 DELITEM 121 0 27b180 80000001002001b0 8000000100027e05 32 1 4
27b1ec 52 ADDITEM 121 0 27b1b8 80000001002001b0 8000000100027e05 30 1 4
27b220 56 HUPDAT 121 0 27b1ec 800000010020072e 8000000100027e06 8000000100000000 129 129 1
27b258 52 DELITEM 121 0 27b220 80000001002001b0 8000000100027e06 32 1 4
27b28c 52 ADDITEM 121 0 27b258 80000001002001b0 8000000100027e06 30 1 4
27b2c0 56 HUPDAT 121 0 27b28c 800000010020072e 8000000100027e0c 8000000100000000 129 129 1
27b2f8 52 DELITEM 121 0 27b2c0 80000001002001b0 8000000100027e0c 32 1 4
27b32c 52 ADDITEM 121 0 27b2f8 80000001002001b0 8000000100027e0c 30 1 4
27b360 56 HUPDAT 121 0 27b32c 800000010020072e 8000000100027e0d 8000000100000000 129 129 1
27b398 52 DELITEM 121 0 27b360 80000001002001b0 8000000100027e0d 32 1 4
27b3cc 52 ADDITEM 121 0 27b398 80000001002001b0 8000000100027e0d 30 1 4
27b400 56 HUPDAT 121 0 27b3cc 800000010020072e 8000000100027e0e 8000000100000000 129 129 1
27b438 52 DELITEM 121 0 27b400 80000001002001b0 8000000100027e0e 32 1 4
27b46c 52 ADDITEM 121 0 27b438 80000001002001b0 8000000100027e0e 30 1 4
27b4a0 56 HUPDAT 121 0 27b46c 800000010020072e 8000000100027f01 8000000100000000 129 129 1
27b4d8 52 DELITEM 121 0 27b4a0 80000001002001b0 8000000100027f01 32 1 4


I hope this will help you. Thank you in advance.
Silviu Stoica
Reply With Quote
  #6 (permalink)  
Old 09-12-02, 14:32
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Is this a partial dump ? How many updates were made ?
Reply With Quote
  #7 (permalink)  
Old 09-13-02, 00:02
silviu_stoica silviu_stoica is offline
Registered User
 
Join Date: Jan 2002
Posts: 11
Yes. This is a partial dump. A lot of updates was made. I thought that only a partial dump can be suggestive. If you want the total dump I'll sent you.
Thank you in advance.
Silviu Stoica
Reply With Quote
  #8 (permalink)  
Old 09-18-02, 13:54
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
The last part of each record that is updating references the chunk/page/rowid. You need to decipher it. I am referring to the following:
27b14c 52 ADDITEM 121 0 27b118 80000001002001b0 8000000100027e04 30 1 4
If you need help with that, let me know - I will need additional information from you.
Reply With Quote
  #9 (permalink)  
Old 09-19-02, 00:28
silviu_stoica silviu_stoica is offline
Registered User
 
Join Date: Jan 2002
Posts: 11
Thank you for your response but i'm still in fog . I read the references about onlog -l but this is what i didn't understand. How can I identify chunk/page/rowid. Let me be more clear: How can i find the rowid of a table that was modified when I now chunk/page/rowid from onlog -l?
I hope i was more clearly.
Silviu Stoica
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