SELECT A.tablespace_name tablespace, D.mb_total, SUM (A.used_blocks * D.block_size) / 1024 / 1024 mb_used, D.mb_total - SUM (A.used_blocks * D.block_size) / 1024 / 1024 mb_free FROM v$sort_segment A, ( SELECT B.name, C.block_size, SUM (C.bytes) / 1024 / 1024 mb_total FROM v$tablespace B, v$tempfile C WHERE B.ts#= C.ts# GROUP BY B.name, C.block_size ) D WHERE A.tablespace_name = D.name GROUP by A.tablespace_name, D.mb_total;
Search This Blog
Thursday, May 30, 2013
Find temporary tablespace usage/size
Tuesday, May 7, 2013
Register the database connection in dbartisan 9.1.1 (XE3)
click on oracle servers
register
choose oracle
click next
enter host, port, service_name, instance_name, datasource_name
click on next
enter login id and password
test connection
no need to have local tnsnames.ora file in the OS level
register
choose oracle
click next
enter host, port, service_name, instance_name, datasource_name
click on next
enter login id and password
test connection
no need to have local tnsnames.ora file in the OS level
Subscribe to:
Posts (Atom)