mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
lib/storage: limit maxRaRowsPerPartition by 500K for any number of rawRowsShardsPerPartition
This should reduce write amplification for high ingestion rate on multi-CPU systems
This commit is contained in:
parent
c60fdbed30
commit
fc71602039
@ -76,7 +76,7 @@ func getMaxRawRowsPerPartition() int {
|
|||||||
if n > 500e3 {
|
if n > 500e3 {
|
||||||
n = 500e3
|
n = 500e3
|
||||||
}
|
}
|
||||||
maxRawRowsPerPartition = n / rawRowsShardsPerPartition
|
maxRawRowsPerPartition = n
|
||||||
})
|
})
|
||||||
return maxRawRowsPerPartition
|
return maxRawRowsPerPartition
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user