Home
last modified time | relevance | path

Searched refs:row_cache (Results 1 – 16 of 16) sorted by relevance

/rocksdb-6.9/db/
Dtable_cache.cc68 if (ioptions_.row_cache) { in TableCache()
71 PutVarint64(&row_cache_id_, ioptions_.row_cache->NewId()); in TableCache()
323 ioptions_.row_cache->Lookup(row_cache_key.GetUserKey())) { in GetFromRowCache()
331 static_cast<const std::string*>(ioptions_.row_cache->Value(row_handle)); in GetFromRowCache()
341 ioptions_.row_cache.get(), row_handle); in GetFromRowCache()
369 if (ioptions_.row_cache && !get_context->NeedToReadSequence()) { in Get()
422 ioptions_.row_cache->Insert(row_cache_key.GetUserKey(), row_ptr, charge, in Get()
453 ioptions_.row_cache && !first_key.get_context->NeedToReadSequence(); in MultiGet()
542 ioptions_.row_cache->Insert(row_cache_key.GetUserKey(), row_ptr, charge, in MultiGet()
Ddb_test.cc6311 options.row_cache = NewLRUCache(8192); in TEST_F()
6330 options.row_cache = NewLRUCache(8192); in TEST_F()
6338 reinterpret_cast<LRUCache*>(options.row_cache.get())->TEST_GetLRUSize(), in TEST_F()
6347 reinterpret_cast<LRUCache*>(options.row_cache.get())->TEST_GetLRUSize(), in TEST_F()
6352 reinterpret_cast<LRUCache*>(options.row_cache.get())->TEST_GetLRUSize(), in TEST_F()
Ddb_test_util.cc526 options.row_cache = NewLRUCache(1024 * 1024); in GetOptions()
Dc.cc2770 opt->rep.row_cache = cache->rep; in rocksdb_options_set_row_cache()
Ddb_test2.cc4074 options.row_cache = NewLRUCache(8 * 8192); in TEST_F()
/rocksdb-6.9/options/
Ddb_options.cc82 row_cache(options.row_cache), in ImmutableDBOptions()
215 if (row_cache) { in Dump()
219 row_cache->GetCapacity()); in Dump()
Dcf_options.cc75 row_cache(db_options.row_cache), in ImmutableCFOptions()
Ddb_options.h74 std::shared_ptr<Cache> row_cache; member
Dcf_options.h119 std::shared_ptr<Cache> row_cache; member
Doptions_settable_test.cc198 {offsetof(struct DBOptions, row_cache), sizeof(std::shared_ptr<Cache>)}, in TEST_F()
Doptions_helper.cc125 options.row_cache = immutable_db_options.row_cache; in BuildDBOptions()
/rocksdb-6.9/include/rocksdb/
Doptions.h1012 std::shared_ptr<Cache> row_cache = nullptr; member
/rocksdb-6.9/utilities/memory/
Dmemory_test.cc70 cache_set->insert(db->GetDBOptions().row_cache.get()); in GetCachePointers()
/rocksdb-6.9/java/rocksjni/
Doptions.cc1870 auto* row_cache = in Java_org_rocksdb_Options_setRowCache() local
1873 opt->row_cache = *row_cache; in Java_org_rocksdb_Options_setRowCache()
6274 auto* row_cache = in Java_org_rocksdb_DBOptions_setRowCache() local
6277 opt->row_cache = *row_cache; in Java_org_rocksdb_DBOptions_setRowCache()
/rocksdb-6.9/tools/
Ddb_bench_tool.cc4027 options.row_cache = in InitializeOptionsGeneral()
4030 options.row_cache = NewLRUCache(FLAGS_row_cache_size); in InitializeOptionsGeneral()
/rocksdb-6.9/
DHISTORY.md203 * Improve performance of row_cache: make reads with newer snapshots than data in an SST file share …
888 * Added a cache for individual rows. See DBOptions::row_cache for more info.