mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-05 14:22:15 +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.
|
// It must be smaller than defaultPartsToMerge.
|
||||||
// Lower value improves select performance at the cost of increased
|
// Lower value improves select performance at the cost of increased
|
||||||
// write amplification.
|
// write amplification.
|
||||||
const finalPartsToMerge = 2
|
const finalPartsToMerge = 3
|
||||||
|
|
||||||
// getMaxRowsPerPartition returns the maximum number of rows that haven't been converted into parts yet.
|
// getMaxRowsPerPartition returns the maximum number of rows that haven't been converted into parts yet.
|
||||||
func getMaxRawRowsPerPartition() int {
|
func getMaxRawRowsPerPartition() int {
|
||||||
|
Loading…
Reference in New Issue
Block a user