| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> REPOST: Re: Need an easy explain on Inittrans and Maxtrans
When you want to update, insert or delete a row, you have to be allowed
access to the body of the block wherein that piece of DML is about to take
place. To gain access, you have to acquire a 'transaction slot'. INITRANS
and MAXTRANS tell us how many slots are available to start with (1 by
default on a table) and how many we can dynamically expand to as the number
of concurrent transactions increase (255 by default, if memory serves).
If there's a lot of concurrent activity on a block, we have to start creating the second, third, fourth and so on transaction slots. Since each slot takes up space (it's about 20 or so bytes per slot), that means (effectively) that the header of the block expands downwards towards the data. Increasing INITRANS (which you would do when first creating a table) would thus have the effect of reducing the amount of useable space within the block, because it would make the header of the block bigger from the word go.
On hugely concurrent systems, there might be a requirement to increase maxtrans to permit greater access to the data by multiple users simultaneously -but it would have to be a really popular block, and have a hell of a lot of concurrent transactions before the need would arise. Still, if you get lots of buffer busy waits because of contention for the block, it's an option.
Frankly, I've never had a need to change either setting from their default values. My own suspicion is that unless you were working in a large Parallel Server enviroment with thousands of users, you'd be unlikely to need to either.
Regards
HJR
-- ---------------------------------------------- Resources for Oracle: http://www.hjrdba.com =============================== "frank" <frankw_at_qd.lucent.com> wrote in message news:a0j3fh$kk4_at_nntpa.cb.lucent.com...Received on Sat Dec 29 2001 - 16:23:06 CST
> Hello,
>
> Can you give me a easy explain on how these parameters are used. I am in a
> puzzle about these two parameters
>
> Thanks in advance
> Frank
>
>
========= WAS CANCELLED BY =======: Path: news.sol.net!spool1-nwblwi.newsops.execpc.com!newsfeeds.sol.net!news-out.visi.com!hermes.visi.com!pulsar.dimensional.com!dimensional.com!newshub1.wanet.net!uunet!sac.uu.net!lax.uu.net!news.navix.net!u-n-c-a-n-c-e-l-l-e-r From: "Howard J. Rogers" <dba_at_hjrdba.com> Newsgroups: alt.config,comp.lang.c,comp.databases.oracle.server Subject: cmsg cancel <3c2e41e8$0$5268$afc38c87_at_news.optusnet.com.au> Control: cancel <3c2e41e8$0$5268$afc38c87_at_news.optusnet.com.au> Date: Mon, 31 Dec 2001 04:54:24 GMT Organization: Navix Internet Subscribers Lines: 2 Message-ID: <cancel.3c2e41e8$0$5268$afc38c87_at_news.optusnet.com.au> NNTP-Posting-Host: 166.102.15.34 X-Trace: iac5.navix.net 1009788877 26548 166.102.15.34 (31 Dec 2001 08:54:37 GMT) X-Complaints-To: abuse_at_navix.net NNTP-Posting-Date: 31 Dec 2001 08:54:37 GMT X-No-Archive: yes Comment: Anarchy! Fuck You! X-Commentary: I love NewsAgent 1.10, Sandblaster Build 74 (19 March 1999) and the Polaris Cancel Engine V. 6.1 X-Unacanc3l: yes This message was cancelled from within Mozilla...not
![]() |
![]() |