테이블 정보 검색 - DBA_OBJECTS, DBA_SEGMENTS, DBA_TABLES, DBA_EXTENTS
개발 및 관리/Oracle 9i, 10g, 11g, 12c, 19c 2011. 3. 23. 23:44
*테이블 정보 검색
1)DBA_OBJECTS
select owner, object_name, object_id, data_object_id from dba_objects;
select owner, object_name, object_id, data_object_id from dba_objects where rownum < 3;
2)DBA_SEGMENTS
select owner, segment_name, tablespace_name, header_file, header_block from dba_segments;
select owner, segment_name, tablespace_name, header_file, header_block from dba_segments where rownum < 3;
3)DBA_TABLES
select owner, table_name, pct_free, pct_used, initial_extent, next_extent, min_extents, max_extents, pct_increase, cache, blocks, empty_blocks, chain_cnt,
temporary, duration from dba_tables;
select owner, table_name, pct_free, pct_used, initial_extent, next_extent, min_extents, max_extents, pct_increase, cache, blocks, empty_blocks, chain_cnt,
temporary, duration from dba_tables where rownum < 3;
4)DBA_EXTENTS
select owner, segment_name, extent_id, file_id, block_id, blocks from dba_extents;
select owner, segment_name, extent_id, file_id, block_id, blocks from dba_extents where rownum < 3;
'개발 및 관리 > Oracle 9i, 10g, 11g, 12c, 19c' 카테고리의 다른 글
오라클 버젼 정보 확인 (0) | 2011.03.23 |
---|---|
언두 에러 (0) | 2011.03.23 |
인덱스 생성, Oracle Table에 Assign되어 있는 Index 조회, 인덱스 생성 지침, 인덱스 재구축(Rebuild), 인덱스 유효성 검사, 인덱스 삭제 (0) | 2011.03.23 |
OFF-Line 백업을 이용한 불완전 복구 - 2 (0) | 2011.03.06 |
OFF-Line 백업을 이용한 불완전 복구 - 1 (0) | 2011.03.06 |