QUERY_REWRITE_ENABLED

时间:2014-05-11 07:08:00   收藏:0   阅读:300

官方文档中:

QUERY_REWRITE_ENABLED

Property Description
Parameter type String
Syntax QUERY_REWRITE_ENABLED = { false | true | force }
Default value If OPTIMIZER_FEATURES_ENABLE is set to 10.0.0 or higher, then true

If OPTIMIZER_FEATURES_ENABLE is set to 9.2.0 or lower, then false

Modifiable ALTER SESSIONALTER SYSTEM
Real Application Clusters Multiple instances can have different values.

QUERY_REWRITE_ENABLED allows you to enable or disable query rewriting globally for the database.

Values:

To take advantage of query rewrite for a particular materialized view, you must enable query rewrite for that materialized view, and you must enable cost-based optimization.



QUERY_REWRITE_ENABLED,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!