O'Reilly logo

Applying and Extending Oracle Spatial by Siva Ravada, Simon Gerard Greener

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Spatial indexing

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.

Layer GTYPE for point data

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required