Spatial Index
Spatial indexes in TiDB Cloud Lake accelerate spatial predicate filtering on GEOMETRY columns. They are designed for Fuse tables and help the optimizer prune blocks before evaluating exact spatial functions.
Spatial Index Management
Supported Predicates
TiDB Cloud Lake can use spatial indexes to accelerate queries built with these spatial predicates:
ST_CONTAINSST_INTERSECTSST_WITHINST_DWITHIN
Limitations
- Spatial indexes are supported on Fuse tables.
- Indexed columns must be of type
GEOMETRY. GEOGRAPHYcolumns are not supported.