Update 21_datafile.sql
This commit is contained in:
@@ -17,7 +17,7 @@ SELECT
|
|||||||
file_id, file_name, tablespace_name,
|
file_id, file_name, tablespace_name,
|
||||||
round(bytes/1024/1024,0) bytes,
|
round(bytes/1024/1024,0) bytes,
|
||||||
round(maxbytes/1024/1024,0) maxbytes,
|
round(maxbytes/1024/1024,0) maxbytes,
|
||||||
round(100*bytes/maxbytes) Pct_Used,
|
round(100*bytes/CASE WHEN maxbytes = 0 THEN 32767*1024*1024 ELSE maxbytes END) Pct_Used,
|
||||||
online_status,
|
online_status,
|
||||||
status, autoextensible
|
status, autoextensible
|
||||||
FROM dba_data_files
|
FROM dba_data_files
|
||||||
|
|||||||
Reference in New Issue
Block a user