728x90
클러스터 테이블 조회
cluster_name 컬럼을 통해 연결된 클러스터 확인
col TABLE_NAME for a30
select owner, table_name, tablespace_name, cluster_name
from dba_tables
where owner='스키마명'
and table_name='테이블명';
클러스터 조회
set lines 300 pages 1000
col owner for a15
col cluster_name for a30
col tablespace_name for a30
select owner, cluster_name, tablespace_name, cluster_type
from dba_clusters
where owner='스키마명'
and cluster_name='클러스터명';
클러스터 인덱스 조회
table_name에 클러스터명을 쓰면 됩니다.
col index_name for a30
col table_name for a30
col tablespace_name for a30
select owner, index_name, index_type, table_name, table_type, tablespace_name
from dba_indexes
where index_type='CLUSTER'
and table_name='클러스터명';728x90
'📁 Database > Oracle' 카테고리의 다른 글
| [Oracle] KO16MSWIN949 vs AL32UTF8 (0) | 2025.09.19 |
|---|---|
| [Oracle] ORA-20000: ORU-10027: buffer overflow, DBMS_OUTPUT 버퍼 (1) | 2025.08.11 |
| [Oracle] expdp 수행 도중 ORA-02032: clustered tables cannot be used before the cluster index is built (ORA-31693, 2354, 2373, 2032) (0) | 2025.08.05 |
| [Oracle] 인덱스(Index) 클러스터 테이블(Clustered Table) 생성 방법 (3) | 2025.08.05 |
| [Oracle] 클러스터 테이블(Clustered Table)에 대해 (2) | 2025.08.05 |