An overview of spatial indexes in the geodatabase
Last modified February 10, 2009
Print all topics in : "Spatial indexes"
ArcGIS uses spatial indexes to quickly locate features in feature classes. Identifying a feature, selecting features by pointing or dragging a box, and panning and zooming all require ArcMap to use the spatial index to locate features.
Feature classes in some geodatabases use a system of grids as the spatial index. When you create an empty feature class in ArcCatalog or import data to create a new feature class, you can choose a default grid size or specify your own. If you are unfamiliar with creating spatial index grids, use the default value provided; creating a poorly defined grid will increase the time needed to complete a spatial search.
A feature class in a personal geodatabase can have just one grid. Once a feature class is created in a personal geodatabase, you cannot modify the grid size.
A feature class in a file or ArcSDE geodatabase can have up to three grids. The additional grids allow feature classes with features of very different sizes to be queried faster. The size of each grid in a file or ArcSDE geodatabase feature class must be at least three times the previous grid size. However, for most feature classes, only a single grid size is required. You can modify the grid size at any time.
Learn about tuning the spatial index for an ArcSDE geodatabase licensed through ArcGIS Server Enterprise.
ArcMap does not use spatial index grid sizes in Informix or PostgreSQL databases, nor are spatial index grid sizes used for feature classes that use Microsoft SQL Server spatial types or Oracle Spatial for geometry storage. As other strategies are used to locate features in these geodatabases, you can ignore grid sizes. You also will not be able to use ArcCatalog to update the spatial indexes of feature classes that do not use spatial grid indexes.
For more information on spatial indexes in file, personal, and ArcSDE geodatabases, see Setting spatial indexes.