INSERT
, UPDATE
, and DELETE
.
INSERT
/UPDATE
/COPY
statement creates at least one new segment. Generally speaking, search performance is improved if the number of segments is equal to the number of parallel workers.
It is acceptable to have more segments than parallel workers, but anything more than several hundred segments will likely degrade search performance.
To guard against excessive segment growth, the index will try to merge segments together as part of an INSERT
/UPDATE
/COPY
statement.
The merge policy is a configurable layered policy that attempts to merge segments into
layers of different sizes.