Download Performance Guide for IBM Informix Dynamic Server
Transcript
Choosing Operator Classes for Indexes Default Operator Classes Each secondary-access method has a default operator class associated with it. By default, the CREATE INDEX statement associates the default operator class with an index. For example, the following CREATE INDEX statement creates a B-tree index on the postalcode column and automatically associates the default B-tree operator class with this column: CREATE INDEX postal_ix ON customer(postalcode) For more information on how to specify a new default operator class for an index, see “Using an Operator Class” on page 7-36. Built-In B-Tree Operator Class The built-in secondary-access method, the generic B-tree, has a default operator class called btree_ops defined in the sysopclasses system catalog table. By default, the CREATE INDEX statement associates the btree_ops operator class with it when you create a B-tree index. For example, the following CREATE INDEX statement creates a generic B-tree index on the order_date column of the orders table and associates with this index the default operator class for the B-tree secondary-access method: CREATE INDEX orddate_ix ON orders (order_date) Dynamic Server uses the btree_ops operator class to specify: ■ The strategy functions to tell the optimizer which filters in a query can use a B-tree index ■ The support function to build and search the B-tree index B-Tree Strategy Functions The btree_ops operator class defines the following names of strategy functions for the btree access method: ■ lessthan (<) ■ lessthanorequal (<=) ■ equal (=) ■ greaterthanorequal (>=) ■ greaterthan (>) Index Performance Considerations 7-33
Related documents
Performance Guide for Informix Dynamic Server, Version 7.3
Contrôle d`accès
IBM Informix Administrator`s Reference
IBM Informix Administrator`s Guide
TPL 80 / 82.5 Ticket Printer
Performance Guide for Informix Extended Parallel Server
IBM 000-8697 User's Manual
SenatorFX.NET LogNET User Manual
IBM Informix Administrator`s Guide
IBM Informix Migration Guide
IBM Informix Dynamic Server Enterprise Replication Guide
Manual Maipu Switch S3026G-PoE-AC