...应该删除索引或者使用会忽略索引(IGNORE INDEX)的语句(如果其他的查询还需要用到该索引)。也可以使用强制索引(FORCE INDEX)使优化器知道你想要使用的索引。这些语句对于查询调优也非常有用,比如当你想要了解特定索引对性能会有怎样影响的时候。
基于186个网页-相关网页
访问计划指示,强制优化器使用指定的访问方法进行数据检索,要么是连续扫描,要么是索引扫描。
Access plan directives that force the optimizer to use the designated access method for data retrieval, either sequential scan or index scan.
ALLINDEXES属性可以被设置为“TRUE”以强制使用所有合适的关系和xml索引,而不考虑成本。
The ALLINDEXES attribute can be set to 'TRUE' to force the usage of all applicable relational and XML indexes, irrespective of cost.
强制更新数据库/索引可使用$sudo updatedb命令,这也花不了多少时间。
forcing locate to update the database/index is done with $ sudo updatedb, and it doesn’t take a lot of time
应用推荐