通常,使用索引可以改善查询性能。
否则,查询语义不允许使用索引。
在下列情况下,优化器将使用索引。
另一种方法就是使用索引。
数据库服务器使用索引来查找匹配的值。
例如,优化器必须确定是否应使用索引。
For example, the optimizer must determine whether indexes should be used.
使用索引,但要小心选择。
GAE数据存储对发出的任何查询使用索引。
优化器将决定是否可以使用索引来评估筛选器。
The optimizer will decide whether an index can be used to evaluate a filter.
清单5显示了未使用索引部分的示例。
例子1:总是使用索引t 1x(计划优化)。
因此,如果涉及到元素结构,则它们不能使用索引。
Therefore, they cannot be expected to use indexes if element construction is involved.
要使用索引吗?
这将允许下面两个查询来使用索引访问,而不是表扫描。
This will allow both of the following queries to use indexed access rather than table scans.
优化器可以决定不使用索引,即使该索引是可以使用的。
The optimizer can decide to not use an index even if it could be used.
尽可能使用索引来减少消息流实例和应用程序之间的争用。
Use indexes wherever possible to reduce the contention between message flow instances and applications.
如果查询从一个表检索大量数据,优化器就不会使用索引。
The optimizer won't use an index if the query retrieves a large amount of data from a table.
对于这个场景,您主要对未使用索引部分感兴趣。
For this scenario, you are mainly interested in the unused indexes section.
如果需要随机地搜索整个文档,那么使用索引式XML数据库。
If searching the entire document in random order is required, move to an indexed XML database.
本节描述一种简单的通过使用索引扩展创建反向文本索引的机制。
This section describes a simple mechanism for creating an inverted text index by using index extensions.
对于这个场景,您主要对列出未使用索引的部分感兴趣。
For this scenario, you are primarily interested in the section that lists the unused indexes.
如果DB 2以传统方式使用索引,数据将以EMPNO顺序返回。
And, if DB2 USES the index the traditional way, the data will come back in EMPNO order.
由于支持使用索引和日志选项,它的调优任务也比DGTT更加简单。
It can also simplify tuning over DGTT because of supported use of indexes and logging options.
这是我第一次尝试使用索引卡片法。我注意到脑海里有一个心灵之声。
The first time I tried the index card method, I noticed an inner voice in my head.
如果按照指定的方法不能合法地使用索引,则重新创建索引。
The index is recreated if it is not valid to use using the specified approach.
默认情况下,当重分发数据时,使用索引模式autoselect。
By default, the indexing mode autoselect is used when the data is being redistributed.
基本上,它会权衡使用索引来遍历选择的行或者对表进行扫描这两种方式。
Basically, it's weighing the choice of using the index to walk through the selected rows or doing a table scan.
如果天气状况恶化,一个专家小组就使用索引系统来决定庄稼是否将存活下去。
If weather conditions deteriorate, a panel of experts USES an index system to determine if crops will no longer be viable.
您要决定字段是否拥有索引,如果是的话,那么查询是否能够有效地使用索引。
Determine whether a field has an index and, if so, whether the query can efficiently use the index.
这三个设置一起使用,可以记录执行时间超过5秒和没有使用索引的查询。
These three settings, used together, log any queries that take longer than 5 seconds and any queries that don't use indexes.
应用推荐