Update 21_datafile.sql
This commit is contained in:
@@ -1,13 +1,12 @@
|
|||||||
prompt <h2>Datafiles </h2>
|
prompt <h2>Détail des datafiles : </h2>
|
||||||
SELECT /*+ NO_MERGE */
|
SELECT
|
||||||
x.file_name, x.file_id, x.tablespace_name, round(x.bytes/1024/1024,0) "Bytes_Mo", x.status, x.autoextensible, round(x.maxbytes/1024/1024/1024,0) "MaxBytes_Go", x.online_status
|
x.file_name, x.file_id, x.tablespace_name,
|
||||||
--,c.name con_name
|
round(x.bytes/1024/1024,0) "Bytes_Mo", x.status, x.autoextensible,
|
||||||
|
round(x.maxbytes/1024/1024/1024,0) "MaxBytes_Go", x.online_status
|
||||||
FROM dba_data_files x
|
FROM dba_data_files x
|
||||||
--LEFT OUTER JOIN v$containers c ON c.con_id = x.con_id
|
|
||||||
ORDER BY
|
ORDER BY
|
||||||
--x.con_id,
|
|
||||||
x.file_name;
|
x.file_name;
|
||||||
|
|
||||||
prompt <h2>v$database_block_corruption</h2>
|
prompt <h2>Existance de blocks corrompus :</h2>
|
||||||
select * from v$database_block_corruption;
|
select * from v$database_block_corruption;
|
||||||
exit
|
exit
|
||||||
Reference in New Issue
Block a user