The R-tree secondary access method is specifically designed to index data with the following two special properties:
Examples of these types of data include:
If you create a time range user-defined data type, you can search for overlapping clips more efficiently with an R-tree index than with a B-tree index.
An R-tree index works on data with only one of these properties (multi-dimensional points or ranges along a single dimension) but data corresponding to points on a single dimension is better indexed with a B-tree index.
Unlike other data structures, such as a grid-file and a quad-tree, the R-tree access method does not require that data values be in a known bounded area.
If you are developing a DataBlade module that includes a user-defined data type of a multidimensional or interval nature, you might want to use the R-tree access method to index columns of this data type.
The type of data most suited to B-tree indexes (the other indexing method included in Dynamic Server) is ordered numeric values in one dimension. Do not use B-tree indexes to index range or interval data. The following types of data are suited to being indexed with the B-tree access method and not the R-tree access method:
After you decide to use the R-tree access method to index a user-defined data type, you must create a new operator class. Creating a New Operator Class describes this process. The next section describes issues you should be aware of when you design the user-defined data type.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]