Temporary Tablespaces in Oracle Database
Temporary Tablespaces in Oracle Database
Temporary Tablespaces in Oracle Database
PROPERTY_VALUE
DESCRIPTION
----------------------------------------------------------TEMP
Name of default temporary
PROPERTY_VALUE
DESCRIPTION
----------------------------------------------------------TEMP1
Name of default temporary
size 100m;
Getting Usage Details of Temp tablespace in a database :##################### RAC Database ###############################
SQL> Select
INST_ID,TABLESPACE_NAME,sum(BYTES_USED/1024/1024/1024),sum(BYTES_FREE/1024
/1024/1024) from gv$temp_space_header group by INST_ID,TABLESPACE_NAME;
##################### StandAlone Database ###############################
SQL> Select
TABLESPACE_NAME,sum(BYTES_USED/1024/1024/1024),sum(BYTES_FREE/1024/1024/10
24) from v$temp_space_header group by TABLESPACE_NAME;
######################################################################
SQL> Select * from DBA_TEMP_FREE_SPACE;
TABLESPACE_NAME
FREE_SPACE
-----------------------------TEMP
TABLESPACE_SIZE
--------------104857600
ALLOCATED_SPACE
--------------8388608
---------103809024