๋ด ๊ณ์ ์ ํ ์ด๋ธ๋ค ์ค์์ ํํฐ์ ๋ ํ ์ด๋ธ์ ๋ชฉ๋ก ๋ฐ ์ ๋ณด๋ฅผ ๋ณด๊ณ ์ถ๋ค๋ฉด
SQL > select * from user_part_tables;
์ธ๋ฑ์ค ์ ๋ณด๋
SQL > select * from user_part_indexes;
dba๊ณ์ ์ผ๋ก ๋ชจ๋ ์ฌ์ฉ์์ ํํฐ์ ๋ ํ ์ด๋ธ์ ๋ํ ์ ๋ณด๋ฅผ ๋ณด๊ณ ์ถ๋ค๋ฉด
SQL > select * from user_part_tables;
์ธ๋ฑ์ค ์ ๋ณด๋
SQL > select * from dba_part_indexes;
์ข ๋ ์์ธํ ๋ด์ฉ์ ์๋๋ฅผ ์ฐธ๊ณ ํ๊ธฐ ๋ฐ๋๋ค.
์ถ์ฒ : http://docs.oracle.com/cd/E18283_01/server.112/e16541/part_admin005.htm
Viewing Information About Partitioned Tables and Indexes
The following views display information specific to partitioned tables and indexes:
View | Description |
---|---|
DBA_PART_TABLES
| DBA view displays partitioning information for all partitioned tables in the database. ALL view displays partitioning information for all partitioned tables accessible to the user. USER view is restricted to partitioning information for partitioned tables owned by the user. |
DBA_TAB_PARTITIONS
| Display partition-level partitioning information, partition storage parameters, and partition statistics generated by the DBMS_STATS package or the ANALYZE statement. |
DBA_TAB_SUBPARTITIONS
| Display subpartition-level
partitioning information, subpartition storage parameters, and
subpartition statistics generated by the DBMS_STATS package or the ANALYZE statement. |
DBA_PART_KEY_COLUMNS
| Display the partitioning key columns for partitioned tables. |
DBA_SUBPART_KEY_COLUMNS
| Display the subpartitioning key columns for composite-partitioned tables (and local indexes on composite-partitioned tables). |
DBA_PART_COL_STATISTICS
| Display column statistics and histogram information for the partitions of tables. |
DBA_SUBPART_COL_STATISTICS
| Display column statistics and histogram information for subpartitions of tables. |
DBA_PART_HISTOGRAMS
| Display the histogram data (end-points for each histogram) for histograms on table partitions. |
DBA_SUBPART_HISTOGRAMS
| Display the histogram data (end-points for each histogram) for histograms on table subpartitions. |
DBA_PART_INDEXES
| Display partitioning information for partitioned indexes. |
DBA_IND_PARTITIONS
| Display the following for
index partitions: partition-level partitioning information, storage
parameters for the partition, statistics collected by the DBMS_STATS package or the ANALYZE statement. |
DBA_IND_SUBPARTITIONS
| Display the following
information for index subpartitions: partition-level partitioning
information, storage parameters for the partition, statistics collected
by the DBMS_STATS package or the ANALYZE statement. |
DBA_SUBPARTITION_TEMPLATES
| Display information about existing subpartition templates. |
See Also:
-
Oracle Database Reference for complete descriptions of these views
-
Oracle Database Performance Tuning Guide and Oracle Database Performance Tuning Guide for information about histograms and generating statistics for tables
-
Oracle Database Administrator's Guide for more information about analyzing tables, indexes, and clusters