All Products
Search
Document Center

PolarDB:ganos.geometry.mbbox_split_length

Last Updated:Mar 28, 2026

Sets the minimum segment length used when splitting objects to build a multi-bounding box spatial index.

Type: Double Default: 200 Range: 0.0001–10000000.00

How the length is measured

The unit depends on the object type:

  • geometry: the sum of linear distances between each pair of adjacent points along the object.

  • geography: the sum of ellipsoid distances between each pair of adjacent points along the object.

Interaction with ganos.geometry.mbbox_split_max_segments

This parameter must be used together with ganos.geometry.mbbox_split_max_segments.

When splitting by minimum length produces more segments than the maximum defined by ganos.geometry.mbbox_split_max_segments, the segment length is recalculated:

Segment length = Total length / Maximum number of segments

Example

Set the minimum segment length for the current session:

SET ganos.geometry.mbbox_split_length = 300.00;