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

12
vdh/tblspace_growth.sql Normal file
View File

@@ -0,0 +1,12 @@
column tbs_mb format 9G999G999D99
column tbs_max_mb format 9G999G999D99
column tbs_used_mb format 9G999G999D99
break on name skip 1
select name, rtime, tablespace_size * tbs.block_size/1024/1024 tbs_mb, tablespace_maxsize * tbs.block_size/1024/1024 tbs_max_mb,
tablespace_usedsize * tbs.block_size/1024/1024 tbs_used_mb
from dba_hist_tbspc_space_usage tbssp, v$tablespace ts, dba_tablespaces tbs
where tbssp.tablespace_id = ts.ts#
and ts.name = tbs.tablespace_name
and tbs.tablespace_name = '&tablespace_name'
order by name, snap_id;