Update 21_datafile.sql
This commit is contained in:
@@ -8,12 +8,15 @@ COL status head "Statut"
|
|||||||
COL online_status format a15 head "Online Statut"
|
COL online_status format a15 head "Online Statut"
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
file_name, file_id, tablespace_name,
|
file_id, file_name, tablespace_name,
|
||||||
round(bytes/1024/1024,0) "Bytes Mo", status, autoextensible,
|
round(bytes/1024/1024,0) "Bytes Mo",
|
||||||
round(maxbytes/1024/1024,0) "MaxBytes Mo", online_status "Online Statut"
|
round(maxbytes/1024/1024,0) "MaxBytes Mo",
|
||||||
|
round(100*bytes/maxbytes) "% Used",
|
||||||
|
online_status,
|
||||||
|
status, autoextensible
|
||||||
FROM dba_data_files
|
FROM dba_data_files
|
||||||
ORDER BY
|
ORDER BY
|
||||||
file_name;
|
file_name;
|
||||||
|
|
||||||
prompt <h2>Existance de blocks corrompus :</h2>
|
prompt <h2>Existance de blocks corrompus :</h2>
|
||||||
select * from v$database_block_corruption;
|
select * from v$database_block_corruption;
|
||||||
|
|||||||
Reference in New Issue
Block a user