otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire

Go Back   Oracle OTM / G-Log GC3 Community Support > OTM / G-Log - Technical Topics > Performance, Scalability and HA
Reload this Page

i_transaction_no column in the i_log table with -1 value


Performance, Scalability and HA Optimizing the performance of OTM / G-Log, configuring Scalability (SCA) and maintaining High Availability.

Tags: , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old August 6th, 2008, 03:57
Junior Member
 
Join Date: Jul 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
LenDB2 is on a distinguished road
Lightbulb i_transaction_no column in the i_log table with -1 value

This is my very first post, so please be kind if my question is lame.

My customer is running 5.5 (CU4) with the database being Oracle 10gR2 (10.2.0.3). They've experienced some interesting performance issues related to two (2) SQL statements against the i_log table.

The first is a SELECT COUNT(*) from the i_log table Where the i_transaction_no is equal to a Bind Variable (:1) and the code is equal to an "E". I suspect this is a check to see if any of the i_log rows written were Error ("E") records.

The second is a DELETE from the i_log table Where the i_transaction_no is equal to a Bind Variable (:1).

We verified that an index exists on the i_log table which contains the i_transction_no as the high order column and that stats were current. The AWR report indicated that each execution of either of the above 2 statements "touched" several thousand blocks to complete. What made it more interesting is the Plan chosen was using the expected index.

After further research, we realized that a large number (almost 100K) of i_log rows contained an i_transaction_no value of negative one (-1). This resulted in Oracle's CBO picking an access path that "touched" a large number of blocks.

Can anyone explain what a value of negatie one (-1) in the i_transaction_no column represents? Any insight would be greatly appreciated. TIA.

Lenny
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old August 6th, 2008, 08:11
Junior Member
 
Join Date: Mar 2008
Location: Dortmund,Germany
Posts: 22
Thanks: 8
Thanked 4 Times in 4 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
svenhaul is on a distinguished road
Re: i_transaction_no column in the i_log table with -1 value

Lenny,

this question is not lame at all - it shows a potential future bottleneck for us that is worth monitoring.

If you open a transmission report in the UI (Business Process Automation, Integration, Transmission Manager, find a transmission, view it, click the Report button), you will see the various log messages of the transmission.
The messages written by the XML_STAGE component all have an ITransactionNo of -1, the messages written by, say, the OrderInterface component have a "real" ITransactionNo.
If there is any way to selectively switch off the log messages from XML_STAGE, I do not know, but maybe that is worth exploring.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Add a New Column in FTI-New Request cool_brat Reports / FTI and Other Analytics 0 July 31st, 2008 15:58
Adding a new column in Result Page of the Sceen Set karthiotm Branding, Screen Sets, XSL/CSS and Translations 1 June 12th, 2008 16:15
Event table new_otm Database Administration 2 April 1st, 2008 16:15
Assigning Color to a cell in results column miks Branding, Screen Sets, XSL/CSS and Translations 3 March 18th, 2008 16:38
Column Lock in Screen Set albert Branding, Screen Sets, XSL/CSS and Translations 7 February 15th, 2008 08:11



All times are GMT. The time now is 04:03.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37