Spatial indexing is one of the most important concepts in Oracle Spatial. Using the index can dramatically reduce the query cost for many operations. As Oracle uses an R-tree index, there are actually no maintenance operations required once the index is built. However, there are several important considerations while building the index to get the best possible performance for queries. In the following section, we describe some of the most commonly used parameters in the
Create Index statement.
As we mentioned in Chapter 1, Defining a Data Model for Spatial Data Storage, the
LAYER_GTYPE parameter can be used to enforce type consistency across all the rows in the table. For point data, this parameter can ...