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: Which RBS have active transactions?

Re: Which RBS have active transactions?

From: Stephane Faroult <sfaroult_at_oriolecorp.com>
Date: Thu, 05 Jul 2001 07:29:16 -0700
Message-ID: <F001.003419D5.20010705072539@fatcity.com>

Terrian, Tom wrote:
>
> Does anyone know of a way to determine which RBS extents have active
> transactions?
>
> Specifically:
> select a.segment_name, a.bytes, a.extents, c.xacts
> from dba_segments a, dba_rollback_segs b, v$rollstat c
> where a.segment_type = 'ROLLBACK'
> and a.segment_name = b.segment_name
> and b.segment_id = c.usn;
>
> SEGMENT_NAME BYTES EXTENTS XACTS
> -------------------- ---------- ----------
> ----------
> RB01 14745600 90 2
> RB02 7364608 45
> 2
> RB03 3276800 20
> 2
> SYSTEM 5079040 62 0
>
> RB01 has 2 active transactions and 90 exents. Can I tell which of the exents
> have the active transactions?
>
> Tom Terrian
> Oracle DBA
> WPAFB - DAASC
> tterrian_at_daas.dla.mil
> 937-656-3844
>

I do not think so. V$TRANSACTION will give you information about the extent where it all started and how much rollback has been used (I think - out of memory), but you will not be able to tell exactly which extents (but the first one) are involved. I think that the detail is hard-coded somewhere in the RBS header ('slot'), I don't think that it's accessible even in some obscure X$.

--
Regards,

  Stephane Faroult
  Oriole Corporation
------------------------------------------------------------------
http://www.oriolecorp.com, designed by Oracle DBAs for Oracle DBAs
------------------------------------------------------------------
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: sfaroult_at_oriolecorp.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 Thu Jul 05 2001 - 09:29:16 CDT

Original text of this message

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