Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.2.0
Connected as apps
SQL>
SQL> SELECT T.TABLESPACE_NAME,
2 NVL(ROUND(((SUM(U.BLOCKS) * P.VALUE) / 1024 / 1024), 2), 0) USED_MB,
3 T.TOT_MB,
4 NVL(ROUND(SUM(U.BLOCKS) * P.VALUE / 1024 / 1024 / T.TOT_MB * 100, 2),
5 0) "USED %"
6 FROM GV$SORT_USAGE U,
7 GV$PARAMETER P,
8 (SELECT TABLESPACE_NAME, SUM(BYTES) / 1024 / 1024 TOT_MB
9 FROM DBA_TEMP_FILES
10 GROUP BY TABLESPACE_NAME) T
11 WHERE P.NAME = 'db_block_size' AND U.TABLESPACE(+) = T.TABLESPACE_NAME
12 GROUP BY T.TABLESPACE_NAME, P.VALUE, T.TOT_MB
13 ORDER BY 1, 2;
TABLESPACE_NAME USED_MB TOT_MB USED %
------------------------------ ---------- ------ ----------
TEMP2 160 6000 2.67
SQL>
Subscribe to:
Post Comments (Atom)
Troubleshooting ACFS-07981: Metadata Validation Errors
Troubleshooting ACFS-07981: Metadata Validation Errors Introduction The ACFS-07981 error indicates that an attempt to run an online file ...
-
Mastering ORA-00054: Resolving the "Resource Busy" Error The ORA-00054 error, often accompanied by the message "resource b...
-
Symptoms When running Create Accounting using SLA with the profile option FA: Use Workflow Account Generation set to Yes at the Site level,...
-
Getting below error in EBS R12.1.3 in Oracle Database SMTP Error. Getting below error while trying to send email in XXXXXXX instance ...
No comments:
Post a Comment