Update 21_datafile.sql
This commit is contained in:
@@ -1,11 +1,19 @@
|
|||||||
prompt <h2>Détail des datafiles : </h2>
|
prompt <h2>Détail des datafiles : </h2>
|
||||||
|
|
||||||
|
COL file_name HEAD "Nom du datafile"
|
||||||
|
COL file_id HEAD "File ID"
|
||||||
|
COL TABLESPACE_NAME FORMAT A20 HEAD "Nom Tablespace"
|
||||||
|
COL autoextensible FORMAT A15 HEAD "Auto Extensible"
|
||||||
|
COL status head "Statut"
|
||||||
|
COL online_status format a15 head "Online Statut"
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
x.file_name, x.file_id, x.tablespace_name,
|
file_name, file_id, tablespace_name,
|
||||||
round(x.bytes/1024/1024,0) "Bytes_Mo", x.status, x.autoextensible,
|
round(bytes/1024/1024,0) "Bytes Mo", status, autoextensible,
|
||||||
round(x.maxbytes/1024/1024/1024,0) "MaxBytes_Go", x.online_status
|
round(maxbytes/1024/1024,0) "MaxBytes Mo", online_status "Online Statut"
|
||||||
FROM dba_data_files x
|
FROM dba_data_files
|
||||||
ORDER BY
|
ORDER BY
|
||||||
x.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