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

Home -> Community -> Usenet -> c.d.o.server -> Re: what's xidsql and ubasqn in v$transaction?

Re: what's xidsql and ubasqn in v$transaction?

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Tue, 6 Jun 2006 22:46:33 +0100
Message-ID: <xJOdnX4YxYwwahjZRVnyug@bt.com>

<niy38_at_hotmail.com> wrote in message
news:1149096123.160158.303290_at_y43g2000cwc.googlegroups.com...
> Thanks, great answer!
>
> xidsqn can be used to identify the unique transaction. what ubasqn is
> used for?
>
> Jonathan Lewis wrote:
>> The slots in the transaction table in the undo segment header
>> are continuously being reused. Each time a slot it re-used,
>> its sequence number (xidsqn) goes up.
>>
>> Similarly, undo blocks are re-used (though it takes more
>> time to get round to re-using them than transaction slots).
>> Each time an undo block is "newed" and reused, its
>> sequence number UBASQN goes up.
>>

Undo blocks are re-used over time - so if the undo block address recorded in a data block (ITL entry) points just to an undo block, it may be an undo block that has since been re-used. So the complete specification for an Undo Block Address (UBA) entry includes the sequence number.

-- 
Regards

Jonathan Lewis
http://www.oracle.com/technology/community/oracle_ace/ace1.html#lewis

The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html

Cost Based Oracle: Fundamentals
http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html
Received on Tue Jun 06 2006 - 16:46:33 CDT

Original text of this message

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