Q
Problem solve Get help with specific problems with your technologies, process and projects.

What session is consuming the tablespace?

My users are filling up the UNDO tablespace and TEMP tablespace whenever they run a process which takes up to approximately six hours. This process spans several sessions (from WebLogic Server), uses a lot of global temp tables, types, etc., from their PL/SQL packages. I would like to know precisely what session and what SQL statement is consuming most of the tablespace.

My users are filling up the UNDO tablespace and TEMP tablespace whenever they run a process which takes up to approximately six hours. This process spans several sessions (from WebLogic Server), uses a lot of global temp tables, types, etc., from their PL/SQL packages. I would like to know precisely what session and what SQL statement is consuming most of the UNDO tablespace and TEMP tablespace. How I can do that?
In 10gR2, V$TRANSACTION will tell how how much undo each transaction is using, and V$TEMPSEG_USAGE will reveal the amount of temporary space in use by a session.

Dig Deeper on Oracle and SQL

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close