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

23
vdh/index_info.sql Normal file
View File

@@ -0,0 +1,23 @@
set linesize 300
set long 100
set verify off
column owner format a20
column index_type format a15
column partition_name format a15
column subpartition_name format a15
select ind.owner,ind.index_name, ind.index_type, ind.visibility, inp.partition_name, inps.subpartition_name,
ind.status index_status, inp.status part_status, inps.status subpart_status
from dba_indexes ind, dba_ind_partitions inp, dba_ind_subpartitions inps
where ind.index_name = inp.index_name(+)
and ind.owner = inp.index_owner(+)
and inp.index_name = inps.index_name(+)
and inp.index_owner = inps.index_owner(+)
and inp.partition_name = inps.partition_name(+)
and ind.table_owner='&owner'
and ind.table_name = '&table_name'
and ind.dropped = 'NO'
order by 1,2,4,5;
set verify on