[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,如需转载请自行联系原作者

目录
相关文章
|
1月前
|
算法 数据处理 C++
c++ STL划分算法;partition()、partition_copy()、stable_partition()、partition_point()详解
这些算法是C++ STL中处理和组织数据的强大工具,能够高效地实现复杂的数据处理逻辑。理解它们的差异和应用场景,将有助于编写更加高效和清晰的C++代码。
22 0
|
6月前
|
索引 Python
row[i] = col[j] = TrueIndexError: list assignment index out of range
row[i] = col[j] = TrueIndexError: list assignment index out of range
|
6月前
|
算法 C++ 容器
【C++算法】is_partitioned、partition_copy和partition_point
【C++算法】is_partitioned、partition_copy和partition_point
|
关系型数据库 MySQL C#
【C#】【MySQL】【GridView】删除出现Parameter index is out of range
【C#】【MySQL】【GridView】删除出现Parameter index is out of range
124 0
【C#】【MySQL】【GridView】删除出现Parameter index is out of range
未完成--Sum of Pairs
未完成--Sum of Pairs
75 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引起的。
984 0
|
测试技术 索引 关系型数据库
[20171211]UNIQUE LOCAL(Partitioned)Index
[20171211]UNIQUE LOCAL (Partitioned) Index.txt --//如何在分区表中建立local unique index呢?自己对分区表这部分内容了解很少,参考链接: --//https://hemantoracledba.
1149 0