管理索引.ppt
管理索引 目标 学完这个课程,你应该可以掌握你下内容: 列出不同的索引类型和它们的使用 创建各种类型的索引 重组索引 维护索引 监控索引的使用情况 索引的种类 逻辑 Single column or concatenated Unique or nonunique Function-based Domain 物理 Partitioned or nonpartitioned B-tree Normal or reverse key Bitmap B-Tree Index Bitmap Indexes Comparing B-Tree and Bitmap Indexes Creating Normal B-Tree Indexes Creating Indexes: Guidelines Balance query and DML needs Place in separate tablespace Use uniform extent sizes: Multiples of five blocks or MINIMUM EXTENT size for tablespace Consider NOLOGGING for large indexes INITRANS should generally be higher on indexes than on the corresponding tables. Creating Bitmap Indexes Changing Storage Parameters for Indexes Allocating and Deallocating Index Space Rebuilding Indexes Use the ALTER INDEX command to: Move an index to a different tablespace Improve space utilization by removing deleted entries Rebuilding Indexes Online Indexes can be rebuilt with minimal table locking. Some restrictions still apply. Coalescing Indexes Checking Indexes and Their Validity Dropping Indexes Drop and recreate an index before bulk loads. Drop indexes that are infrequently needed and build them when necessary. Drop and recreate invalid indexes. Identifying Unused Indexes To start monitoring the usage of an index: To stop monitoring the usage of an index: Obtaining Index Information Information about indexes can be obtained by querying the following views: DBA_INDEXES: Provides information on the indexes DBA_IND_COLUMNS: Provides information on the columns indexed V$OBJECT_USAGE: Provides information on the usage of an index Summary In this lesson, you should have learned how to: Create different types of indexes Reorganize indexes Drop indexes Get index information from the data dictionary Begin and end monitoring usage of indexes Practice 12 Overview This practice covers the following topics: Creating an index on columns of a table Moving the index to another tablespace Dropping an index Obtain index information Class
您可能关注的文档
- 第八节 RLC串联电路的相量分析.ppt
- 第八节,食物的抗辐射作用.ppt
- 第六单元 冬之旅第三课时.ppt
- 第六章 创建和使用对话框.ppt
- 第六章 场景转换的应用.ppt
- 第六章 孕期监护及保健.ppt
- 第六章 编码.ppt
- 第六章幼儿园教育活动的组合和实施.ppt
- 第六讲 社会主义市场经济理论.ppt
- 第十一章 植物的抗病性.ppt
- 公用环保行业2026年1月投资策略:国务院发布《固体废物综合治理行动计划》,2025年新开标垃圾焚烧发电项目数量止跌回升-260106-国信证券.pdf
- 公募基金市场观察系列:财富管理新范式,ETF投顾展现巨大潜力-251229-银河证券.pdf
- 国防军工行业:航天发射全年成功收官,继续看好商业航天阶段性机会-260103-中信建投.pdf
- 《中华人民共和国危险化学品安全法》解读-全面强化危险化学品法治体系建设.pptx
- 我国企业安全风险管控工作存在的主要问题和解决方案.pdf
- 工贸企业安全管理提升方案.docx
- 反三违清单及考核办法.doc
- 粉尘爆炸培训.pptx
- “五个带头”方面存在问题原因剖析、下一步整改措施对照检查材料(六篇)2026年.docx
- 人教版统编版道德与法治八年级上册《维护秩序》精品课件.ppt
原创力文档

文档评论(0)