We can retrieve the information regarding partitions by accessing user_tables, dba_part_tables,and user_segments. Example queries to these three tables are displayed next with corresponding output for the examples in the preceding section.
select table_name, partitionedfrom dba_tableswhere table_name in ('DEPT','EMP');select owner, table_name, partition_countfrom dba_part_tableswhere table_name = 'DEPT';select segment_name, partition_name, segment_type, tablespace_namefrom user_segments;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12361284/viewspace-594410/
,如需转载,请注明出处,否则将追究法律责任。