mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +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
1f941875db
commit
53e176ed67
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