2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
-- -----------------------------------------------------------------------------------
-- File Name : https://oracle-base.com/dba/monitoring/segments_in_ts.sql
-- Author : Tim Hall
-- Description : Lists the objects stored in a tablespace.
-- Call Syntax : @objects_in_ts (tablespace-name)
-- Last Modified: 15/06/2018
-- -----------------------------------------------------------------------------------
SET PAGESIZE 20
BREAK ON segment_type SKIP 1
COLUMN segment_name FORMAT A30
COLUMN partition_name FORMAT A30
SELECT segment_type,
segment_name,
partition_name,
ROUND(bytes/2014/1024,2) AS size_mb
FROM dba_segments
WHERE tablespace_name = UPPER('&1')
ORDER BY 1, 2;
CLEAR BREAKS