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
> [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to