Files
oracle/timhall/monitoring/tempfiles.sql
2026-03-12 21:23:47 +01:00

22 lines
732 B
SQL

-- -----------------------------------------------------------------------------------
-- File Name : https://oracle-base.com/dba/monitoring/tempfiles.sql
-- Author : Tim Hall
-- Description : Displays information about tempfiles.
-- Requirements : Access to the V$ views.
-- Call Syntax : @tempfiles
-- Last Modified: 17-AUG-2005
-- -----------------------------------------------------------------------------------
SET LINESIZE 200
COLUMN file_name FORMAT A70
SELECT file_id,
file_name,
ROUND(bytes/1024/1024/1024) AS size_gb,
ROUND(maxbytes/1024/1024/1024) AS max_size_gb,
autoextensible,
increment_by,
status
FROM dba_temp_files
ORDER BY file_name;