暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Which Oracle features require and/or force the use of Cost Based Optimisation ?

2011-01-01
584

The Oracle (tm) Users' Co-Operative FAQ

Which Oracle features require and/or force the use of Cost Based Optimisation ?


Author's name: Jonathan Lewis

Author's Email: Jonathan@jlcomp.demon.co.uk

Date written: 1st Nov 2002

Oracle version(s): 8.1 - 9.2

Which Oracle features require and/or force the use of Cost Based Optimisation ?


There is a list of Oracle features in the Performance Tuning Guide that are quoted as 'forcing Cost Based Optimisation' to happen. Unfortunately, this list is a little misleading. Some of the features (such as parallel tables) force CBO to kick in, others simply will not work unless CBO has been invoked. This note splits the list into the two relevant groups.

The presence of the following features appears to force CBO to kick in.

Index Organized Tables (IOTs)

Partitioned Tables

Parallel Tables

The SAMPLE clause

ANSI Outer joins

The Rule Based Optimizer will not notice the presence of the following features - you must invoke CBO explicitly

Reverse key indexes

Function based indexes

Bitmap indexes

Bitmap Join indexes

The Rule based optimiser will use the following, without invoking CBO

Inline (from clause) views

Partition views

ANSI natural and cross joins

Other comments

Other functionality such as star joins, bitmap star transformations, the progress meter (v$session_longops) and hash joins are also dependent on the cost based optimiser being invoked. However I have not included them in the lists above, as they are 'action-oriented' options rather than having what might be called a sort of 'physical presence'.


Further reading: N/A



最后修改时间:2020-04-16 15:12:40
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论