Snippet Name: Data Files
Description: Returns data files and their sizes.
Comment: (none)
Language:
Highlight Mode: PLSQL
Last Modified: February 28th, 2009
|
SET pages 99
col file_name format a45
col tablespace_name format a13
col tablespace_name heading ts_name
col blocks format 999,999
SELECT file_name,tablespace_name,bytes,blocks
FROM dba_data_files
ORDER BY tablespace_name,file_name
/ |