Skip to content

Commit d19d981

Browse files
committed
doc: table_stats_collectors -> table_properties_collectors.
1 parent 1d08140 commit d19d981

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/index.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -609,21 +609,21 @@ <h1>Compaction</h1>
609609
</ul>
610610
<p>
611611
Other options impacting performance of compactions and when they get triggered
612-
are:
612+
are:
613613
<ul>
614614
<p>
615-
<li> <code>Options::access_hint_on_compaction_start</code> - Specify the file access
615+
<li> <code>Options::access_hint_on_compaction_start</code> - Specify the file access
616616
pattern once a compaction is started. It will be applied to all input files of a compaction. Default: NORMAL
617617
<p>
618-
<li> <code>Options::level0_file_num_compaction_trigger</code> - Number of files to trigger level-0 compaction.
618+
<li> <code>Options::level0_file_num_compaction_trigger</code> - Number of files to trigger level-0 compaction.
619619
A negative value means that level-0 compaction will not be triggered by number of files at all.
620620
<p>
621621
<li> <code>Options::max_mem_compaction_level</code> - Maximum level to which a new compacted memtable is pushed if it
622622
does not create overlap. We try to push to level 2 to avoid the relatively expensive level 0=>1 compactions and to avoid some
623623
expensive manifest file operations. We do not push all the way to the largest level since that can generate a lot of wasted disk
624624
space if the same key space is being repeatedly overwritten.
625625
<p>
626-
<li> <code>Options::target_file_size_base</code> and <code>Options::target_file_size_multiplier</code> -
626+
<li> <code>Options::target_file_size_base</code> and <code>Options::target_file_size_multiplier</code> -
627627
Target file size for compaction. target_file_size_base is per-file size for level-1.
628628
Target file size for level L can be calculated by target_file_size_base * (target_file_size_multiplier ^ (L-1))
629629
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 @@ <h1>Thread pools</h1>
698698
A thread pool is associated with Env environment object. The client has to create a thread pool by setting the number of background
699699
threads using method <code>Env::SetBackgroundThreads()</code> defined in <code>rocksdb/env.h</code>.
700700
We use the thread pool for compactions and memtable flushes.
701-
Since memtable flushes are in critical code path (stalling memtable flush can stall writes, increasing p99), we suggest
701+
Since memtable flushes are in critical code path (stalling memtable flush can stall writes, increasing p99), we suggest
702702
having two thread pools - with priorities HIGH and LOW. Memtable flushes can be set up to be scheduled on HIGH thread pool.
703703
There are two options available for configuration of background compactions and flushes:
704704
<ul>
@@ -779,9 +779,9 @@ <h1>Statistics</h1>
779779
<p>
780780
To be able to efficiently tune your application, it is always helpful if you
781781
have access to usage statistics. You can collect those statistics by setting
782-
<code>Options::table_stats_collectors</code> or
782+
<code>Options::table_properties_collectors</code> or
783783
<code>Options::statistics</code>. For more information, refer to
784-
<code>rocksdb/table_stats.h</code> and <code>rocksdb/statistics.h</code>.
784+
<code>rocksdb/table_properties.h</code> and <code>rocksdb/statistics.h</code>.
785785
These should not add significant overhead to your application and we
786786
recommend exporting them to other monitoring tools.
787787

0 commit comments

Comments
 (0)