全局索引的online重建要注意影响(The online reconstruction of global indexes should pay attention to the impact).docVIP
- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
全局索引的online重建要注意影响(The online reconstruction of global indexes should pay attention to the impact)
Oracle database: ONLINE reconstruction of global indexes should be aware of the impact
I ran into a problem the other day, and it took more than eight hours to rebuild the index of a table. Later, the slow index was examined and the index was found to be both global and ONLINE, and the reconstruction time for each partition was basically the same, about 23 minutes or so. Actually lead to the cause of the problem is simple: because use the ONLINE mode, and the global index of each partition of data may come from any of this table partitions, so ORACLE for any a global index partition of reconstruction is to go a full table scan.
SQL SHOW USER
The USER is TEST
SQL CREATE TABLE T (ID INT, NAME VARCHAR2 (30))
2 PARTITION BY RANGE (ID)
3 (
4 PARTITION P1 VALUES LESS THAN (10000),
5 PARTITION P2 VALUES LESS THAN (20000),
6 PARTITION P3 VALUES LESS THAN (30000),
7. PARTITION P4 VALUES LESS THAN (40000),
PARTITION P5 VALUES LESS THAN (50000),
PARTITION PMAX VALUES LESS THAN (MAXVALUE)
10)
11 /
The Table is created.
SQL CREATE INDEX T_ID_IDX ON T (ID) GLOBAL
2 PARTITION BY HASH (ID)
3 PARTITIONS 32
4 /
The Index is created.
SQL COL INDEX_NAME FORMAT A20
SQL COL PARTITION_NAME FORMAT A20
SQL SELECT INDEX_NAME, PARTITION_NAME FROM USER_IND_PARTITIONS WHERE INDEX_NAME = T_ID_IDX;
INDEX_NAME PARTITION_NAME
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
T_ID_IDX SYS_P225
T_ID_IDX SYS_P226
T_ID_IDX SYS_P227
T_ID_IDX SYS_P228
T_ID_IDX SYS_P229
T_ID_IDX SYS_P230
T_ID_IDX SYS_P231
T_ID_IDX SYS_P232
T_ID_IDX SYS_P233
T_ID_IDX SYS_P234
T_ID_IDX SYS_P235
T_ID_IDX SYS_P236
T_ID_IDX SYS_P237
T_ID_IDX SYS_P238
T_ID_IDX SYS_P239
T_ID_IDX SYS_P240
T_ID_IDX SYS_P241
T_ID_IDX SYS_P242
T_ID_IDX SYS_P243
T_ID_IDX SYS_P244
T_ID_IDX SYS_P245
T_ID_IDX SYS_P246
T_ID_IDX SYS_P247
T_ID_IDX SYS_P248
T_ID_IDX SYS_P249
T_ID_IDX S
您可能关注的文档
- 甜品目录(Dessert directory).doc
- 系列教程1手机鉴定(Series 1 cell phone identification).doc
- 系统解剖学口诀(整本书全部的)(Systematic anatomical tips (entire book)).doc
- 系统介绍(20110325)(Introduction to the system (20110325)).doc
- 系统解剖学名词解释(重点解释)最终版(System anatomical terms (key interpretation) final version).doc
- 系统盘(c盘)减肥清理大全(xp适用)xp(System disk (c disk) weight loss cleaning (xp applies) xp).doc
- 系统说明书(System specification).doc
- 箱包知识文件(Suitcase knowledge file).doc
- 箱涵工程施工方案(Box culvert engineering construction scheme).doc
- 用avr单片机io口模拟i2c总线操作at24cxx的通用程序(Using avr MCU IO to simulate the general procedure of i2c bus operation at24cxx).doc
- 全科医生处方(General practitioner's prescription).doc
- 全力做好灾后恢复重建中的人力资源和社会保障工作(We will do our best to restore human resources and social security in the post-disaster recovery and reconstruction).doc
- 全排列等(The whole arrangement etc.).doc
- 全球化背景下的中国文化(Chinese culture under the background of globalization).doc
- 全球左翼论坛综述(Global leftwing BBS review).doc
- 全日制普通高中语文教材目录(Full time ordinary high school Chinese textbook catalogue).doc
- 全时四驱,实时四驱,分时四驱对比(The total time 4 drive, real time 4 drive, time 4 drive comparison).doc
- 全国咨询工程师继续教育考试93分(National consulting engineers continue to score 93 on education).doc
- 全系魔法大全(It's all magic).doc
- 全新版大学英语综合教程4课后练习 中翻英(New edition of college English comprehensive tutorial 4).doc
最近下载
- DB41T 2412-2023 高标准农田建设规范.docx VIP
- DB11_T 387.1-2016 水利工程施工质量评定 第1部分:河道整治.PDF VIP
- IPC-1602-CN:2020+印制板操作和储存标准+-+完整中文电子版(36页).pdf VIP
- 肝病相关血小板减少症临床管理中国专家共识2023解读.pptx VIP
- 夏枯草种植技术规程.pdf VIP
- 【室内装修施工组织设计】.docx VIP
- 生物物理学导论-08省名师优质课获奖课件市赛课一等奖课件.ppt VIP
- DB41_T 2416-2023 高标准农田 智慧灌溉技术规程.docx VIP
- 棉纺织生产工艺流程大全.pdf VIP
- 生物物理学课件.docx VIP
文档评论(0)