user_part_indexes 已分区索引 user_ind_partitions 索引分区 user_ind_subpartitions 索引子分区 user_part_lobs 表中的LOB数据分区 user_lob_partitions LOB分区 user_lob_subpartitions LOB子分区 user_part_key_columns 已分区对象的分区关键字列 user_subpart_key_columns 使用组合范围/散列法分区的表的子分区...
查询索引的分区信息可以通过user_part_indexes、user_ind_partitions两个数据字典: JSSWEB> select index_name, partitioning_type, partition_count 2 From user_part_indexes 3 where index_name = 'IDX_PARTI_RANGE_ID'; ③ Local分区索引的创建最简单,例如: 仍然借助t_partition_range表来创建索引 --首先删除...
SQL>select index_name,table_name,partitioning_type,locality,ALIGNMENTfrom user_part_indexes where table_name=‘CUSTADDR’;index_name table_name partition locali alignment ix_custaddr_local_areacode custaddr list local prefixed ix_custaddr_local_id custaddr list local non_prefixed 因为我们的custad...
SQL>selectdistinct(locality)from dba_part_indexes;LOCALI---LOCAL LOCAL意味着是本地索引;GLOBAL则意味着是全局索引。 DBA_PART_INDEXES和ALL_PART_INDEXES、USER_PART_INDEXES视图的字段相同,分别展示的是数据库(DBA级别)、用户权限级别(ALL)和用户所属级别(USER)的分区索引信息。 至于分区类型等,可以通过这个视...
2 From user_part_indexes 3 where index_name = 'IDX_PARTI_RANGE_ID'; ③ Local分区索引的创建最简单,例如: 仍然借助t_partition_range表来创建索引 --首先删除之前创建的global索引 JSSWEB> drop index IDX_PARTI_RANGE_ID; 索引已删除。 JSSWEB> create index IDX_PARTI_RANGE_ID on T_PARTITION_RANGE...
SELECT * FROM USER_PART_INDEXES; -- 查询所有分区索引 一个索引对应n个分区就有n条记录 SELECT * FROM USER_IND_PARTITIONS; -- 创建分区本地索引 有几个分区就会生成多少条local索引 create index idx_daily_partition on daily_partition(CREATE_TIME) local; --注:相同字段不能同时存在分区索引和全表索引...
USER查看索引分区 select * from user_ind_partitions DBA查看索引分区类型 select * from dba_part_indexes USER查看索引分区类型 select * from user_part_indexes oracle视频教程请关注:http://home.51cto.com/apps/download/index.php?s=/Index/index/uid/4202939...
Getting started guides, documentation, tutorials, architectures, and more content for Oracle products and services.
[DBA,ALL,USER]_INDEX_USAGE [DBA,ALL,USER]_INDEXES [DBA,ALL,USER]_OBJECTS [DBA,ALL,USER]_PART_INDEXES [DBA,ALL,USER]_PART_TABLES [DBA,ALL,USER]_PROCEDURES [DBA,ALL,USER]_SEGMENTS [DBA,ALL,USER]_SEQUENCES [DBA,ALL,USER]_SOURCE ...
USER_开头:查询当前用户下的内容; 以下是分区表的一些相关字典表,前缀是“DBA_”、“ALL_”、“USER_”; 分区表信息字典表:*_PART_TABLES; 分区信息字典表:*_TAB_PARTITIONS; 子分区信息字典表:*_TAB_SUBPARTITIONS; 分区表的分区字段信息字典表:*_PART_KEY_COLUMNS; ...