Search This Blog

Wednesday 15 August 2007

Which user is using the Temporary Tablespace

Some times it is necessary to know which users are using the temporary tablespace. As some times the temporary tablespace might get filled up and if autoextend on, than it can make the file system fill, which can create a severe problem for a DBA.

We can check from SQL Plus which users are using the temporary tablespace.

Here is the query which can be used.............

SELECT b.tablespace, ROUND(((b.blocks*p.value)/1024/1024),2)'M' "SIZE", a.sid','a.serial# SID_SERIAL, a.username, a.program FROM sys.v_$session a, sys.v_$sort_usage b, sys.v_$parameter p WHERE p.name = 'db_block_size' AND a.saddr = b.session_addr ORDER BY b.tablespace, b.blocks
/

Oracle 19c - patch 19.22 unavailability for Windows platform

 Oracle 19c - patch 19.22 unavailability for Windows platform  Having upgraded the Oracle 11g 11.2.0.4 database to Oracle 19c 19.3.0.0.0 whi...