mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 16:30:55 +01: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
e5b1fa0c38
commit
a10c4cad85
@ -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 New Issue
Block a user