mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +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
d66d28f917
commit
ea7940e5a7
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.
|
// This number may be reached when the insertion pace outreaches merger pace.
|
||||||
// If this number is reached, then assisted merges are performed
|
// If this number is reached, then assisted merges are performed
|
||||||
// during data ingestion.
|
// during data ingestion.
|
||||||
const maxFileParts = 256
|
const maxFileParts = 64
|
||||||
|
|
||||||
// Default number of parts to merge at once.
|
// Default number of parts to merge at once.
|
||||||
//
|
//
|
||||||
|
|
|
@ -38,7 +38,7 @@ const maxInmemoryPartsPerPartition = 32
|
||||||
// The maximum number of small parts in the partition.
|
// 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.
|
// 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.
|
// Default number of parts to merge at once.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue