mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ func getMaxRawRowsPerPartition() int {
|
|||
if n > 500e3 {
|
||||
n = 500e3
|
||||
}
|
||||
maxRawRowsPerPartition = n / rawRowsShardsPerPartition
|
||||
maxRawRowsPerPartition = n
|
||||
})
|
||||
return maxRawRowsPerPartition
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue