github.com/pingcap/br@v5.3.0-alpha.0.20220125034240-ec59c7b6ce30+incompatible/docker/config/tikv.toml (about)

     1  [storage]
     2  reserve-space = "1KB"
     3  
     4  [raftstore]
     5  # true (default value) for high reliability, this can prevent data loss when power failure.
     6  sync-log = true
     7  
     8  [coprocessor]
     9  # Make region split more aggressive.
    10  region-max-keys = 100
    11  region-split-keys = 80
    12  
    13  [rocksdb]
    14  # Number of open files that can be used by the DB.  You may need to
    15  # increase this if your database has a large working set. Value -1 means
    16  # files opened are always kept open. You can estimate number of files based
    17  # on target_file_size_base and target_file_size_multiplier for level-based
    18  # compaction.
    19  # If max-open-files = -1, RocksDB will prefetch index and filter blocks into
    20  # block cache at startup, so if your database has a large working set, it will
    21  # take several minutes to open the db.
    22  max-open-files = 1024
    23  
    24  [raftdb]
    25  max-open-files = 1024