码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-10-04 14:25:46      阅读:127      评论:0      收藏:0      [点我收藏+]

标签:with   status   sed   upd   res   操作   com   oba   case   

[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 的关系

标签:with   status   sed   upd   res   操作   com   oba   case   

原文地址:http://www.cnblogs.com/gaojian/p/3_15303168691.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!