You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sdong
7842920be5
Slow down writes by bytes written
...
Summary:
We slow down data into the database to the rate of options.delayed_write_rate (a new option) with this patch.
The thread synchronization approach I take is to still synchronize write controller by DB mutex and GetDelay() is inside DB mutex. Try to minimize the frequency of getting time in GetDelay(). I verified it through db_bench and it seems to work
hard_rate_limit is deprecated.
options.delayed_write_rate is still not dynamically changeable. Need to work on it as a follow-up.
Test Plan: Add new unit tests in db_test
Reviewers: yhchiang, rven, kradhakrishnan, anthony, MarkCallaghan, igor
Reviewed By: igor
Subscribers: ikabiljo, leveldb, dhruba
Differential Revision: https://reviews.facebook.net/D36351
10 years ago
..
utilities
Re-generate WriteEntry on WBWIIterator::Entry()
10 years ago
c.h
C: add WriteBatch.PutLogData support
10 years ago
cache.h
Task 6532943: Rocksdb - SetCapacity() can dynamically change cache capacity if feasible
10 years ago
compaction_filter.h
Add missing include to use std::unique_ptr
11 years ago
compaction_job_stats.h
Changed the CompactionJobStats::output_key_prefix type from char[] to string.
10 years ago
comparator.h
CompactFiles, EventListener and GetDatabaseMetaData
10 years ago
db.h
Fix Bug: CompactRange() doesn't change to correct level caused by using wrong level
10 years ago
env.h
Add Env::GetThreadID(), which returns the ID of the current thread.
10 years ago
experimental.h
Implement DB::PromoteL0 method
10 years ago
filter_policy.h
Implement full filter for block based table.
11 years ago
flush_block_policy.h
move block based table related options BlockBasedTableOptions
11 years ago
immutable_options.h
Fixed a compile error in ROCKSDB_LITE
10 years ago
iostats_context.h
Allow EventListener::OnCompactionCompleted to return CompactionJobStats.
10 years ago
iterator.h
Add License message to public header files.
11 years ago
ldb_tool.h
[RocksDB] allow LDB tool to have customized key formatter
11 years ago
listener.h
Add largest sequence to FlushJobInfo
10 years ago
memtablerep.h
Add thread-safety documentation to MemTable and related classes
10 years ago
merge_operator.h
Enhance partial merge to support multiple arguments
11 years ago
metadata.h
Fixed -WShadow errors in db/db_test.cc and include/rocksdb/metadata.h
10 years ago
options.h
Slow down writes by bytes written
10 years ago
perf_context.h
more times in perf_context and iostats_context
10 years ago
perf_level.h
more times in perf_context and iostats_context
10 years ago
rate_limiter.h
Enable dynamic changing of rate limiter's bytes_per_second
10 years ago
slice.h
Build for CYGWIN
10 years ago
slice_transform.h
Unaddressed comment in previous diff. Change only in code comments.
10 years ago
sst_dump_tool.h
Dump routine to BlockBasedTableReader
10 years ago
statistics.h
fix crashes in stats and compaction filter for db_ttl_impl
10 years ago
status.h
Optimistic Transactions
10 years ago
table.h
A new call back to TablePropertiesCollector to allow users know the entry is add, delete or merge
10 years ago
table_properties.h
Add TablePropertiesCollector::NeedCompact() to suggest DB to further compact output files
10 years ago
thread_status.h
CompactRange skips levels 1 to base_level -1 for dynamic level base size
10 years ago
transaction_log.h
Revert "Fix bad merge of D16791 and D16767"
11 years ago
types.h
Add License message to public header files.
11 years ago
universal_compaction.h
Support Multiple DB paths (without having an interface to expose to users)
11 years ago
version.h
Bump to 3.11
10 years ago
write_batch.h
WriteBatch.Merge w/ SliceParts support
10 years ago
write_batch_base.h
WriteBatch.Merge w/ SliceParts support
10 years ago