Commit Graph

135 Commits (95dda37858dcabc9e73578d10b979f6932cb49f0)

Author SHA1 Message Date
Dhruba Borthakur 95dda37858 Move filesize-based-sorting to outside the Mutex 12 years ago
Dhruba Borthakur 18cb6004d2 Fixed compilation error in previous merge. 12 years ago
Dhruba Borthakur 9b87a2bae8 Avoid doing a exhaustive search when looking for overlapping files. 12 years ago
Abhishek Kona 4e413df3d0 Flush Data at object destruction if disableWal is used. 12 years ago
Dhruba Borthakur aa42c66814 Fix all warnings generated by -Wall option to the compiler. 12 years ago
Dhruba Borthakur cb7a00227f The method GetOverlappingInputs should use binary search. 12 years ago
Dhruba Borthakur 5273c81483 Ability to invoke application hook for every key during compaction. 12 years ago
heyongqiang f1a7c735b5 fix complie error 12 years ago
heyongqiang d55c2ba305 Add a tool to change number of levels 12 years ago
Dhruba Borthakur a1bd5b7752 Compilation problem introduced by previous 12 years ago
amayank 854c66b089 Make compression options configurable. These include window-bits, level and strategy for ZlibCompression 12 years ago
heyongqiang 3096fa7534 Add two more options: disable block cache and make table cache shard number configuable 12 years ago
Mark Callaghan 3e7e269292 Use timer to measure sleep rather than assume it is 1000 usecs 12 years ago
heyongqiang fb8d437325 fix test failure 12 years ago
heyongqiang 925f60d39d add a test case to make sure chaning num_levels will fail Summary: 12 years ago
Dhruba Borthakur 321dfdc3ae Allow having different compression algorithms on different levels. 12 years ago
Mark Callaghan acc8567b24 Add more rates to db_bench output 12 years ago
Dhruba Borthakur de7689b1d7 Fix unit test failure caused by delaying deleting obsolete files. 12 years ago
Mark Callaghan 70c42bf05f Adds DB::GetNextCompaction and then uses that for rate limiting db_bench 12 years ago
Kai Liu d50f8eb603 Enable LevelDb to create a new log file if current log file is too large. 12 years ago
Mark Callaghan 65855dd8d4 Normalize compaction stats by time in compaction 12 years ago
Dhruba Borthakur 8eedf13a82 Fix unit test failure caused by delaying deleting obsolete files. 12 years ago
Dhruba Borthakur 5b0fe6c73b Greedy algorithm for picking files to compact. 12 years ago
Dhruba Borthakur 8fb5f40468 firstIndex fix for multi-threaded compaction code. 12 years ago
Mark Callaghan e7206f43ee Improve statistics 12 years ago
Dhruba Borthakur 4c107587ed Delete files outside the mutex. 12 years ago
heyongqiang 5010daa7a8 add "seek_compaction" to log for better debug Summary: 12 years ago
Dhruba Borthakur f95219fb32 Delete files outside the mutex. 12 years ago
Dhruba Borthakur 64c4b9f0e2 Delete files outside the mutex. 12 years ago
Dhruba Borthakur cf5adc8016 db_bench was not correctly initializing the value for delete_obsolete_files_period_micros option. 12 years ago
Dhruba Borthakur 1ca0584345 This is the mega-patch multi-threaded compaction 12 years ago
Dhruba Borthakur aa73538f2a The deletion of obsolete files should not occur very frequently. 12 years ago
Dhruba Borthakur 0230866791 Enhance db_bench to allow setting the number of levels in a database. 12 years ago
Dhruba Borthakur c1006d4276 An configurable option to write data using write instead of mmap. 12 years ago
Mark Callaghan e678a5947a Add --stats_interval option to db_bench 12 years ago
Mark Callaghan d8763abecd Fix the bounds check for the --readwritepercent option 12 years ago
Mark Callaghan 98804f914f Fix compiler warnings and errors in ldb.c 12 years ago
Abhishek Kona fec81318b0 Commandline tool to compace LevelDB databases. 12 years ago
Dhruba Borthakur c1bb32e1ba Trigger read compaction only if seeks to storage are incurred. 12 years ago
Dhruba Borthakur 24eea931ef If ReadCompaction is switched off, then it is better to not even submit background compaction jobs. 12 years ago
Dhruba Borthakur ae36e509f8 The BackupAPI should also list the length of the manifest file. 12 years ago
Dhruba Borthakur bb2dcd2457 Segfault in DoCompactionWork caused by buffer overflow 12 years ago
Dhruba Borthakur fb4b381a0c Print out the compile version in the LOG. 12 years ago
heyongqiang a8464ed820 add an option to disable seek compaction 12 years ago
Dhruba Borthakur ba55d77b5d Ability to take a file-lvel snapshot from leveldb. 12 years ago
heyongqiang b85cdca690 add a global var leveldb::useMmapRead to enable mmap Summary: 12 years ago
heyongqiang dcbd6be340 remove boost 12 years ago
Mark Callaghan fa29f82548 scan a long for FLAGS_cache_size to fix a compiler warning 12 years ago
Mark Callaghan 837113908c Add --compression_type=X option with valid values: snappy (default) none bzip2 zlib 12 years ago
Dhruba Borthakur 93f4952089 Ability to switch off filesystem read-aheads 12 years ago