mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
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:
parent
33bff00890
commit
0d41d933e9
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
//
|
||||
|
|
|
@ -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.
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue