首页 >

Oracle index unusable和invisible的区别

数据库|mysql教程Oracle index unusable和invisible的区别
Oracle index,Oracle index unus
数据库-mysql教程
hishopb2b2c源码下载,如何使用vscode制作网页,ubuntu 菜单白底,tomcat显示全部日志,爬虫箱 英文,php 变量为空 赋值,巴南区低成本seo推广,虚拟产品回收网站源码,dede手机模板怎么使用lzw
invisible index会被优化器所忽略,但是dml操作仍然会维护索引。在session或者system级别使用参数OPTIMIZER_USE_INVISIBLE_INDEX
仿京东app源码,Ubuntu 上怎么cmd,将项目添加tomcat启动,python 爬虫ssh,网络php居中代码,夜行seolzw
在线挂号html源码,vscode添加js设置,ubuntu nat类型,ide项目安装tomcat,sqlite3数据库连接池,商城爬虫,php 数字变成字符串,seo最新优化技术排名,汽车分期网站源码,bootstrap 免费后台模板lzw

摘录自Oracle 11g的官方文档:

UNUSABLE Specify UNUSABLE to mark the index or index partition(s) or index subpartition(s) UNUSABLE. The space allocated for an index or index partition or subpartition is freed immediately when the object is marked UNUSABLE. An unusable index must be rebuilt, or dropped and re-created, before it can be used. While one partition is marked UNUSABLE, the other partitions of the index are still valid. You can execute statements that require the index if the statements do not access the unusable partition. You can also split or rename the unusable partition before rebuilding it. Refer to CREATE INDEX … UNUSABLE for more information.

An index that is not maintained by DML operations and is ignored by the optimizer. All indexes are usable (default) or unusable.

VISIBLE | INVISIBLE Use this clause to specify whether the index is visible or invisible to the optimizer. An invisible index is maintained by DML operations, but it is not be used by the optimizer during queries unless you explicitly set the parameter OPTIMIZER_USE_INVISIBLE_INDEXES to TRUE at the session or system level.

unusable index 是被优化器所忽略,并且不被dml操作维护,,如果索引被unusable后,需要重建。

invisible index会被优化器所忽略,但是dml操作仍然会维护索引。在session或者system级别使用参数OPTIMIZER_USE_INVISIBLE_INDEXES=true,那么优化器会考虑使用invisible index。适用于查看索引是否被正在的使用上。

在CentOS 6.4下安装Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虚拟机中安装步骤

Debian 下 安装 Oracle 11g XE R2

Oracle性能优化 之 共享池

本文永久更新链接地址:


Oracle index unusable和invisible的区别
  • Oracle性能优化有时就这么简单_index
  • Oracle性能优化有时就这么简单_index | Oracle性能优化有时就这么简单_index ...

    Oracle index unusable和invisible的区别
  • Oracle之索引(Index)实例讲解
  • Oracle之索引(Index)实例讲解 | Oracle之索引(Index)实例讲解 ...

    Oracle index unusable和invisible的区别
  • Oracle 索引index那些事
  • Oracle 索引index那些事 | Oracle 索引index那些事 ...