Commit Graph

193 Commits (b092686959dffec61f5afff5c29b15215239dfb5)

Author SHA1 Message Date
Yueh-Hsuan Chiang 1d1a64f58a Move NeedsCompaction() from VersionStorageInfo to CompactionPicker 10 years ago
sdong fa50abb726 Fix bug of reading from empty DB. 10 years ago
Igor Canadi 767777c2bd Turn on -Wshorten-64-to-32 and fix all the errors 10 years ago
Igor Canadi 113796c493 Fix NewFileNumber() 10 years ago
Igor Canadi e3d3567b5b Get rid of mutex in CompactionJob's state 10 years ago
Yueh-Hsuan Chiang 28c82ff1b3 CompactFiles, EventListener and GetDatabaseMetaData 10 years ago
Igor Canadi 53af5d877d Redesign pending_outputs_ 10 years ago
sdong ac6afaf9ef Enforce naming convention of getters in version_set.h 10 years ago
Lei Jin 5594d446ff unfriend DBImpl and InternalStats from VersionStorageInfo 10 years ago
sdong 4d2ba38b65 Make VersionBuilder unit testable 10 years ago
sdong 76d1c28e82 Make CompactionPicker more easily tested 10 years ago
Lei Jin efa2fb33b0 make LevelFileNumIterator and LevelFileIteratorState anonymous 10 years ago
Lei Jin eb357af58c unfriend ForwardIterator from VersionSet 10 years ago
Lei Jin f981e08139 unfriend ColumnFamilyData from VersionSet 10 years ago
Lei Jin 834c67d77f rename FileLevel to LevelFilesBrief / unfriend CompactedDBImpl 10 years ago
Lei Jin a28b3c4388 unfriend UniversalCompactionPicker,LevelCompactionPicker and FIFOCompactionPicker from VersionSet 10 years ago
Lei Jin 5187d896b9 unfriend Compaction and CompactionPicker from VersionSet 10 years ago
Yueh-Hsuan Chiang 6c66918645 Speed up DB::Open() and Version creation by limiting the number of FileMetaData initialization. 10 years ago
Lei Jin 5ec53f3edf make compaction related options changeable 10 years ago
Lei Jin 2faf49d5f1 use GetContext to replace callback function pointer 10 years ago
Lei Jin 3c68006109 CompactedDBImpl 10 years ago
sdong cdaf44f9ae Enlarge log size cap when printing file summary 10 years ago
Lei Jin 9b0f7ffa1c rename version_set options_ to db_options_ to avoid confusion 10 years ago
Igor Canadi a2bb7c3c33 Push- instead of pull-model for managing Write stalls 10 years ago
Stanislau Hlebik 45a5e3ede0 Remove path with arena==nullptr from NewInternalIterator 10 years ago
sdong 1242bfcad7 Add DB property "rocksdb.estimate-table-readers-mem" 11 years ago
sdong f6784766db Add DB property estimated number of keys 11 years ago
Lei Jin f6f1533c6f make internal stats independent of statistics 11 years ago
Feng Zhu c11d604ab3 store file_indexer info in sequential memory 11 years ago
Feng Zhu 178fd6f9db use FileLevel in LevelFileNumIterator 11 years ago
Feng Zhu f697cad15c create compressed_levels_ in Version, allocate its space using arena. Make Version::Get, Version::FindFile faster 11 years ago
Yueh-Hsuan Chiang 70828557ef Some fixes on size compensation logic for deletion entry in compaction 11 years ago
sdong 2459f7ec4e Support Multiple DB paths (without having an interface to expose to users) 11 years ago
Igor Canadi a2e0d890ed No need for files_by_size_ in universal compaction 11 years ago
Yueh-Hsuan Chiang e813f5b6d9 Allow compaction to reclaim storage more effectively. 11 years ago
Igor Canadi d4a8423334 Remove seek compaction 11 years ago
sdong 983c93d731 VersionSet::Get(): Bring back the logic of skipping key range check when there are <=3 level 0 files 11 years ago
Lei Jin c83b085770 prefetch bloom filter data block for L0 files 11 years ago
sdong df9069d23f In DB::NewIterator(), try to allocate the whole iterator tree in an arena 11 years ago
Lei Jin 388d2054c7 forward iterator 11 years ago
Igor Canadi 6de6a06631 FIFO compaction style 11 years ago
Igor Canadi c489499a2b Fix OSX compile 11 years ago
Lei Jin d642c60bdc Check PrefixMayMatch on Seek() 11 years ago
Lei Jin 0f2d768191 hints for narrowing down FindFile range and avoiding checking unrelevant L0 files 11 years ago
sdong fa430bfd04 Minimize accessing multiple objects in Version::Get() 11 years ago
Igor Canadi 588bca2020 RocksDBLite 11 years ago
Igor Canadi b947fdc89d Column family support for DB::OpenForReadOnly() 11 years ago
Igor Canadi fcd5c5e828 ComputeCompactionScore in CompactionPicker 11 years ago
Igor Canadi 758fa8c359 Don't Finalize in CompactionPicker 11 years ago
Igor Canadi ae25742af9 Fix race condition in manifest roll 11 years ago