lib/mergeset: reduce the parts threshold before starting assisted merges

This should improve query speed in general case.

This is a follow-up for d1af6046c7
This commit is contained in:
Aliaksandr Valialkin 2022-12-13 09:10:44 -08:00
parent 33bff00890
commit 0d41d933e9
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ const maxInmemoryParts = 64
// This number may be reached when the insertion pace outreaches merger pace.
// If this number is reached, then assisted merges are performed
// during data ingestion.
const maxFileParts = 256
const maxFileParts = 64
// Default number of parts to merge at once.
//

View file

@ -38,7 +38,7 @@ const maxInmemoryPartsPerPartition = 32
// The maximum number of small parts in the partition.
//
// If the number of small parts reaches this value, then assisted merge runs during data ingestion.
const maxSmallPartsPerPartition = 128
const maxSmallPartsPerPartition = 64
// Default number of parts to merge at once.
//