mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
lib/storage: return back finalPartsToMerge from 2 to 3 in order to prevent from excessive merges in old partitions
This commit is contained in:
parent
885ba17905
commit
5c2099ecfe
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ const defaultPartsToMerge = 15
|
|||
// It must be smaller than defaultPartsToMerge.
|
||||
// Lower value improves select performance at the cost of increased
|
||||
// write amplification.
|
||||
const finalPartsToMerge = 2
|
||||
const finalPartsToMerge = 3
|
||||
|
||||
// getMaxRowsPerPartition returns the maximum number of rows that haven't been converted into parts yet.
|
||||
func getMaxRawRowsPerPartition() int {
|
||||
|
|
Loading…
Reference in a new issue