Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们很少有带有分区的表,我们不知道如何获取特定表的分区键。
如何获取或查看在 oracle 数据库中为特定表设置的分区键?
您可以在此处找到该信息:
select * from USER_PART_TABLES; select * from USER_PART_KEY_COLUMNS;
资源。
查看以下所有数据字典视图,
ALL_PART_KEY_COLUMNS DBA_PART_KEY_COLUMNS USER_PART_KEY_COLUMNS
还有一个视图叫做ALL_SUBPART_KEY_COLUMNS.
ALL_SUBPART_KEY_COLUMNS