Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Rollback Segments
Witold:
This will show which rollback segment is being used by a current transation.
(Also shows current sql as well as a time stamp. You can get rid of that
stuff if you don't need it.)
There's no way I know of to force a user to a particular rollback segment. Barb
select TO_CHAR(SYSDATE,'DD-MON-YYYY:HH24:MI:SS'),
osuser o, username u, segment_name s, substr(sa.sql_text,1,500) txt from v$session s, v$transaction t, dba_rollback_segs r, v$sqlarea sa where s.taddr=t.addr
> ----------
> From: Witold Iwaniec[SMTP:wiwaniec_at_novalistech.com]
> Reply To: ORACLE-L_at_fatcity.com
> Sent: Monday, February 18, 2002 8:33 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Rollback Segments
>
> Hello DBAs
>
> Is there a command that tells me which rollback segment is being
> used by current transaction?
> Also, can you force a session to use particular rollback segment? I
> have used in the past the command:
>
> set transaction use rollback segment rbs_01
>
> but the named rollback segment seemed to be used until the end of
> tranasction. After a commit or rollback a different rollback segment
> could have been used by Oracle. I wonder if there is a way to make
> sure that once a user logs in, a particular rollback segment is used.
>
> Thanks
>
> Witold
>
> ==================================
> Witold Iwaniec
> Sr Software Developer
> NovaLIS Technologies
> wiwaniec_at_novalistech.com
> http://www.novalistech.com
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Witold Iwaniec
> INET: wiwaniec_at_novalistech.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).
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Baker, Barbara INET: bbaker_at_denvernewspaperagency.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 Feb 18 2002 - 11:08:31 CST
![]() |
![]() |