storage: reconsider the L0-sublevels / L0 files default limits #79159
Labels
A-admission-control
A-storage
Relating to our storage engine (Pebble) on-disk storage.
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-storage
Storage Team
Admission control is currently configured with default values for L0 file count and L0 sublevels of 1k and 20, respectively.
With recent Pebble improvements (incremental L0 file addition, cockroachdb/pebble#1465), we should be able to handle more L0 files. We should consider looking into whether the 1k file limit is still a strong signal, and / or whether it could be raised?
More generally, the file count and sublevels defaults are static, and with improvements in code / hardware over time, we should consider revisiting how we set these numbers - e.g. a standard, reproducible experiment that can be run to determine a "magic number".
Jira issue: CRDB-14611
The text was updated successfully, but these errors were encountered: