Commit Graph

121 Commits (0c7f455f855124936718abb4a2974fae1bbe1957)

Author SHA1 Message Date
Andrew Kryczka d6e016be6d Expose `CacheEntryRole` and map keys for block cache stat collections (#9838) 3 years ago
Peter Dillinger efd035164b Meta-internal folly integration with F14FastMap (#9546) 3 years ago
gitbw95 f241d082b6 Prevent double caching in the compressed secondary cache (#9747) 3 years ago
Hui Xiao 49623f9c8e Account memory of big memory users in BlockBasedTable in global memory limit (#9748) 3 years ago
Bo Wang bcabee737f Improve comments for some files (#9793) 3 years ago
gitbw95 8102690a52 Update Cache::Release param from force_erase to erase_if_last_ref (#9728) 3 years ago
ehds@qq.com d95e13e9cc typo(clock_cache) fix incomplete message typo (#9638) 3 years ago
Bo Wang f706a9c199 Add a secondary cache implementation based on LRUCache 1 (#9518) 3 years ago
Andrew Kryczka 54fb2a8975 Change type of cache buffer passed to `Cache::CreateCallback()` to `const void*` (#9595) 3 years ago
Peter Dillinger fd3e0f43b3 Require C++17 (#9481) 3 years ago
Peter Dillinger afc280fdfd Enhance new cache key testing & comments (#9329) 3 years ago
Peter Dillinger 0d9b256813 Fix unity build with SUPPORT_CLOCK_CACHE (#9309) 3 years ago
Peter Dillinger 0050a73a4f New stable, fixed-length cache keys (#9126) 3 years ago
Yanqin Jin 42fef0224f Fix build for msvc (#9230) 3 years ago
Peter Dillinger fc3a6eb74a Fix/improve 'must free heap allocations' code (#9209) 3 years ago
Hui Xiao 74544d582f Account Bloom/Ribbon filter construction memory in global memory limit (#9073) 3 years ago
Peter Dillinger f8c685c4fc Check for and disallow shared key space in block caches (#9172) 3 years ago
Hui Xiao 2fbe32b0c1 RAII support for per cache reservation through handle (#9130) 3 years ago
Hui Xiao ffd6085e1f Add new API CacheReservationManager::GetTotalMemoryUsage() (#9071) 3 years ago
Hui Xiao 3018a3e27e Minor improvement to CacheReservationManager/WriteBufferManager/CompressionDictBuilding (#9139) 3 years ago
Hui Xiao 560fe70233 Add new API CacheReservationManager::GetDummyEntrySize() (#9072) 3 years ago
Zhichao Cao 6d93b87588 Add lowest_used_cache_tier to ImmutableDBOptions to enable or disable Secondary Cache (#9050) 3 years ago
Zhichao Cao 699f45049d Introduce a mechanism to dump out blocks from block cache and re-insert to secondary cache (#8912) 3 years ago
Peter Dillinger bda8d93ba9 Fix and detect headers with missing dependencies (#8893) 3 years ago
Hui Xiao 0aad4ca0ff Add comment for new_memory_used parameter in CacheReservationManager::UpdateCacheReservation (#8895) 3 years ago
Hui Xiao 91b95cadee Account for dictionary-building buffer in global memory limit (#8428) 3 years ago
Peter Dillinger cb5b851ff8 Add (& fix) some simple source code checks (#8821) 3 years ago
Peter Dillinger 4750421ece Replace most typedef with using= (#8751) 3 years ago
anand76 ec9f52ece6 Fix a race in LRUCacheShard::Promote (#8717) 3 years ago
Hui Xiao 74cfe7db60 Refactor WriteBufferManager::CacheRep into CacheReservationManager (#8506) 3 years ago
anand76 f35042ca40 Add a PerfContext counter for secondary cache hits (#8685) 3 years ago
anand76 add68bd28a Add a stat to count secondary cache hits (#8666) 3 years ago
Drewryz 3b27725245 Fix a minor issue with initializing the test path (#8555) 3 years ago
Peter Dillinger df5dc73bec Don't hold DB mutex for block cache entry stat scans (#8538) 3 years ago
Peter Dillinger 5ad3227650 Work around falsely reported data race on LRUHandle::flags (#8539) 3 years ago
mrambacher 570248aeff Make SecondaryCache Customizable (#8480) 4 years ago
anand76 a0cbb69421 Fix assertion failure when releasing a handle after secondary cache lookup fails (#8470) 4 years ago
anand76 a50da404be Fix a tsan warning due to reading flags in LRUHandle without holding a mutex (#8433) 4 years ago
anand76 8ea0a2c1bd Parallelize secondary cache lookup in MultiGet (#8405) 4 years ago
Peter Dillinger 416dc7bed7 Clarify some DB::Open,OpenForReadOnly semantics (#8379) 4 years ago
Peter Dillinger d5a46c40e5 Pin CacheEntryStatsCollector to fix performance bug (#8385) 4 years ago
Zhichao Cao f44e69c64a Use DbSessionId as cache key prefix when secondary cache is enabled (#8360) 4 years ago
Peter Dillinger 2f93a3b809 Fix a major performance bug in 6.21 for cache entry stats (#8369) 4 years ago
Zhichao Cao a4405fd981 fix lru caching test and fix reference binding to null pointer (#8326) 4 years ago
Zhichao Cao 7303d02bdf Use new Insert and Lookup APIs in table reader to support secondary cache (#8315) 4 years ago
Peter Dillinger 311a544c2a Use deleters to label cache entries and collect stats (#8297) 4 years ago
anand76 13232e11d4 Allow cache_bench/db_bench to use a custom secondary cache (#8312) 4 years ago
anand76 feb06e83b2 Initial support for secondary cache in LRUCache (#8271) 4 years ago
Jay Zhuang d15fbae449 Refactor Option obj address from char* to void* (#8295) 4 years ago
Jay Zhuang a6e425dc44 Fix a minor clang release build failure (#8290) 4 years ago