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

Posted 健哥的数据花园

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[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).

以上是关于[Oacle][Partition]Partition操作与 Index, Global Index 的关系的主要内容,如果未能解决你的问题,请参考以下文章

Spark- Spar架构原理

hive的分区和分桶

Oracle非分区索引,全局分区索引和本地分区索引。

oracle 中在添加分区中如果要在表的开始或中间的位置添加分区,怎么使用split语句,帮忙举个例子谢谢

Kafka partition的数量问题

Topic与Partition