该查询计划展示了函数索引的使用。
本文提供了一些有关函数索引的示例。
This article provides several samples of functional indexes.
比较函数索引和非函数索引。
函数索引可以根据用户定义的类型创建。
函数索引还会产生额外的函数执行开销。
A functional index incurs the additional cost of function execution.
创建函数索引的注意事项。
最后,执行查询,该查询将使用函数索引。
该查询计划显示索引扫描使用了函数索引。
This query plan shows an index scan using our functional index.
这次没有定义函数索引。
不能针对返回大对象的UDR创建函数索引。
A functional index cannot be created on a UDR that returns a large object.
注意:优化器不会对下面这个查询使用函数索引。
Note: Here is a query for which the optimizer cannot consider using the functional index.
本文的目的是帮助您理解函数索引的定义以及使用。
The purpose of this article is to help you understand what functional indexes are and how they are used.
下面列出了r - Tree函数索引的一些有趣特性。
函数索引不能是内置的代数、指数、对数或十六进制函数。
A functional index cannot be a built-in algebraic, exponential, log, or hex function.
您已经了解了函数索引的定义以及其使用方式和使用时机。
You have now learned the definition of a functional index and have seen how and when to use them.
这个例子演示了如何使用函数索引选择具有某些特征的图像。
This example demonstrates how functional indexes can be used to select images with certain characteristics.
函数索引对列中的数据进行转换并按照顺序保存转换后的值。
A functional index transforms the data in a column and stores the derived values in sorted order.
改善查询性能的一种更好的方法是对name创建函数索引。
A better way to improve the performance of this query is to create a functional index on name.
对于用于函数索引的UDR,传递给它的参数在数量上有所限制。
There are limitations on the number of arguments that can be passed to a UDR used by a functional index.
在这个例子中,我们将针对一副数字图像的像素平均色值创建函数索引。
In this example, we create functional indexes on the average color values of the pixels in a digital image.
每个例子都附带了分步指导,根据这些指导,您将能够亲自实现函数索引。
Each example provides step-by-step instructions so that you can implement the functional index yourself.
这说明,在创建或删除函数索引时,执行索引的表中始终持有一个排他锁。
This means that an exclusive lock is always placed on the indexed table while a functional index is being created or dropped.
在创建和使用方面,函数索引和非函数索引之间存在着大量差异。
There are not many differences between functional and non-functional indexes with respect to how you create and use them.
在本例中,我们将向您展示如何创建使用r - Tree访问方法的函数索引。
In this example we show you how to create a functional index that USES the R-Tree access method.
DBMS将自动管理函数索引以及不需要包含逻辑来管理大写形式数据的应用程序。
The DBMS automatically manages the functional index and applications need not include logic to manage the upper case data.
如果将某个UDR用于函数索引,则该U DR不能使用集合数据类型作为参数类型。
A UDR used by a functional index cannot have arguments that are collection data types.
要满足这个查询,必须计算地理城市中心,因此,需要创建一个函数索引来计算这个值。
To satisfy this query, you must compute the geographical city center, so create a functional index that computes this value.
当定义udr并将之用于函数索引时,您必须显式将其指定为NOTVARIANT。
You must explicitly specify NOT VARIANT when you define a UDR that is used for a functional index.
如果表非常小,或者不经常执行使用函数索引的查询,那么创建函数索引可能收效甚微。
If the tables are small or if the frequency of queries that would make use of the functional index is small, then you may not benefit from creating a functional index.
希望我们介绍的这些创建和使用函数索引的方法能够帮助您改善查询搜索的性能。
Hopefully by seeing the various ways that functional indexes are created and used, you will be able to use them to improve the performance of your query searches.
应用推荐