Oracle Logbook

October 11, 2007

Who is using which UNDO or TEMP segment?

Filed under: Uncategorized — heliodias @ 1:10 pm


1 Comment »

  1. To get who is using TEMP segment.

    SELECT distinct s.username, s.sid, s.serial#, s.osuser, u.tablespace, u.contents, u.segtype, u.extents, u.blocks
    FROM v$session s, v$sort_usage u
    WHERE s.saddr=u.session_addr
    order by s.username, s.osuser;

    I apreciate if you have a query to know who is using rbs or undo.

    Comment by Marco — March 4, 2008 @ 10:15 am | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: