diff --git a/doc/index.html b/doc/index.html index 84c4d132a..71f515e76 100644 --- a/doc/index.html +++ b/doc/index.html @@ -609,13 +609,13 @@ key-value during background compaction.
Other options impacting performance of compactions and when they get triggered -are: +are:
-
Options::access_hint_on_compaction_start
- Specify the file access
+Options::access_hint_on_compaction_start
- Specify the file access
pattern once a compaction is started. It will be applied to all input files of a compaction. Default: NORMAL
-
Options::level0_file_num_compaction_trigger
- Number of files to trigger level-0 compaction.
+Options::level0_file_num_compaction_trigger
- Number of files to trigger level-0 compaction.
A negative value means that level-0 compaction will not be triggered by number of files at all.
Options::max_mem_compaction_level
- Maximum level to which a new compacted memtable is pushed if it
@@ -623,7 +623,7 @@ does not create overlap. We try to push to level 2 to avoid the relatively expe
expensive manifest file operations. We do not push all the way to the largest level since that can generate a lot of wasted disk
space if the same key space is being repeatedly overwritten.
-
Options::target_file_size_base
and Options::target_file_size_multiplier
-
+Options::target_file_size_base
and Options::target_file_size_multiplier
-
Target file size for compaction. target_file_size_base is per-file size for level-1.
Target file size for level L can be calculated by target_file_size_base * (target_file_size_multiplier ^ (L-1))
For example, if target_file_size_base is 2MB and target_file_size_multiplier is 10, then each file on level-1 will
@@ -698,7 +698,7 @@ Default: kCompactionStopStyleTotalSize
A thread pool is associated with Env environment object. The client has to create a thread pool by setting the number of background
threads using method Env::SetBackgroundThreads()
defined in rocksdb/env.h
.
We use the thread pool for compactions and memtable flushes.
-Since memtable flushes are in critical code path (stalling memtable flush can stall writes, increasing p99), we suggest
+Since memtable flushes are in critical code path (stalling memtable flush can stall writes, increasing p99), we suggest
having two thread pools - with priorities HIGH and LOW. Memtable flushes can be set up to be scheduled on HIGH thread pool.
There are two options available for configuration of background compactions and flushes:
rocksdb/util/env_posix.h
for an example.
To be able to efficiently tune your application, it is always helpful if you
have access to usage statistics. You can collect those statistics by setting
-Options::table_stats_collectors
or
+Options::table_properties_collectors
or
Options::statistics
. For more information, refer to
-rocksdb/table_stats.h
and rocksdb/statistics.h
.
+rocksdb/table_properties.h
and rocksdb/statistics.h
.
These should not add significant overhead to your application and we
recommend exporting them to other monitoring tools.