skip_unusable_indexparameter

alter session/system set skip_unusable_index = true/false ;

公司主营业务:网站建设、成都网站设计、移动网站开发等业务。帮助企业客户真正实现互联网宣传,提高企业的竞争能力。成都创新互联是一支青春激扬、勤奋敬业、活力青春激扬、勤奋敬业、活力澎湃、和谐高效的团队。公司秉承以“开放、自由、严谨、自律”为核心的企业文化,感谢他们对我们的高要求,感谢他们从不同领域给我们带来的挑战,让我们激情的团队有机会用头脑与智慧不断的给客户带来惊喜。成都创新互联推出鹤山免费做网站回馈大家。

The point :

1, if set to true, then allow DML on table with unusable indexes(and index partitions). Or set to false to disallow DML on table.

2, DML on tables with constraints which with unusable index status will failed because data maybe violated constraint if DML allowed.

3, if DML not referencing on index column, DML will successfull dispite of this parameter .

suppose index idx_job_emp is defined on column job.

alter session set skip_unusable_index = false ;

insert into emp( empno, job, deptno) values (1,'analyzer',10) ; -- false ,because index maintenance can not be skip.

insert into emp( empno, deptno) values (1,10) ; -- successfull , because index does not indexing NULL value key.

[@more@]
分享名称:skip_unusable_indexparameter
文章链接:http://csruizhi.cn/article/joddgo.html

其他资讯

Copyright © 2007-2024 成都优众联杰科技有限公司 All Rights Reserved 蜀ICP备2024116266号
友情链接: 成都网站制作 成都网站建设 成都营销网站建设 专业网站建设 成都网站设计 外贸网站设计方案 成都网站制作 成都商城网站制作 做网站设计 成都网站建设 成都网站建设 响应式网站设计 攀枝花网站设计 定制网站制作 成都网站建设 专业网站设计 专业网站设计 成都网站设计 成都响应式网站建设 网站建设 广安网站设计 成都网站建设公司