[Oacle][Partition]Partition操作与 Index, Global Index 的关系

简介:
[Oacle][Partition]Partition操作与 Index, Global Index 的关系:

■ Regarding the local index and the global index,

In the case of "alter table add partition"

Even without using "update indexes" and "update global indexes"
Local index and global index are not unusable (remain VALID).

In the case of "alter table drop partition"

When "update indexes" and "update global indexes" are not used,
The status of the local index is not affected, the global index becomes unusable.

Using "update indexes"
The global index is not unusable (it remains VALID).
In case
Using "update global indexes"
The global index is not unusable (it remains VALID).

■ Similar results were obtained in cases where nonpartitioned / local partition indexes were mixed:

In the case of "alter table add partition"

Even without using "update indexes" and "update global indexes"
Local indexes, global indexes, non-partitioned inexclusions are not unusable (remain VALID).

In the case of "alter table drop partition"

When "update indexes" and "update global indexes" are not used,
The status of the local index is not affected, the global index and the non-partitioned inex are unusable.

Using "update indexes"
Global indexes and non-partitioned inexclusions do not become unusable (remain VALID).
In case
Using "update global indexes"

Global indexes and non-partitioned inexclusions do not become unusable (remain VALID).







本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/p/3_15303168691.html,如需转载请自行联系原作者

目录
相关文章
|
17天前
|
索引 Python
row[i] = col[j] = TrueIndexError: list assignment index out of range
row[i] = col[j] = TrueIndexError: list assignment index out of range
|
3月前
|
算法 C++ 容器
【C++算法】is_partitioned、partition_copy和partition_point
【C++算法】is_partitioned、partition_copy和partition_point
未完成--Sum of Pairs
未完成--Sum of Pairs
56 0
|
SQL 索引
ORA-01502: index ‘index_name' or partition of such index is in unusable state
错误现象:   今天发布脚本时,一个表插入数据时报如下错误   ORA-01502: index ‘index_name' or partition of such index is in unusable state   ORA-06512: at line 168 错误原因:   这个错误一般是因为索引状态为UNUSABLE引起的。
908 0
|
测试技术 索引 关系型数据库
[20171211]UNIQUE LOCAL(Partitioned)Index
[20171211]UNIQUE LOCAL (Partitioned) Index.txt --//如何在分区表中建立local unique index呢?自己对分区表这部分内容了解很少,参考链接: --//https://hemantoracledba.
1118 0

热门文章

最新文章