Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Secret maximum for INITRANS?

RE: Secret maximum for INITRANS?

From: K Gopalakrishnan <kaygopal_at_yahoo.com>
Date: Mon, 04 Mar 2002 18:18:21 -0800
Message-ID: <F001.0041F021.20020304181821@fatcity.com>


Robert,

I guess you are looking in 'itc' in block dumps which shows the ITL Count.

And yes.. There is an upper bound for number of ITLs based on the block size.
The transaction slots (and other headers) can not use the more than 50% of the
space available for data in the data block. Each ITL will take 24 bytes of space
in variable header part of the data block.

In 2K block (2048) 50 % is 1024 Bytes. In this we can not use the first 48 bytes
(fixed headers in cache layer and TX data layers uses them. So the space
available
for ITLs will be 976 bytes.

So you can get round (976/24) ~41 ITL slots for 2K block size. If you set INITRANS
more than 41 they are simply ignored and only 41 ITLS are created in that block.

Best Regards,
K Gopalakrishnan
Bangalore, INDIA

-----Original Message-----
Eskridge
Sent: Monday, March 04, 2002 4:08 PM
To: Multiple recipients of list ORACLE-L

I'm still messing with my enqueue waits on an insert. I'm now able to recreate it on a test database by throwing enough simultaneous inserts at my table. I was going to make sure which of the tables/indexes was actually causing the waits by individually raising the INITRANS above what they would naturally expand to, and see how the waiting sessions responded.

I was hitting it with 50 simultaneous inserts and usually had 10 sessions go into an enqueue wait until the 40 sessions committed or rolled back. So I was going though the indexes and then tables raising the INITRANS to 50 to see which one(s) made a difference. None of them made a difference.

So I dumped blocks that had been populated only during this exercise. Invariably, there were 0x29 Itl slots. Is there something out there that would limit the Itl entries to 41 even when MAXTRANS=255? Is there some secret bound based on block size? Ours is 2k (which I figure is part of the problem).

Other vital stats: 8.0.5 on Solaris 2.7.

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Robert Eskridge
  INET: bryny_at_dfweahs.net

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L

(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: K Gopalakrishnan INET: kaygopal_at_yahoo.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Mon Mar 04 2002 - 20:18:21 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US