Closed 979357361 closed 2 months ago
Right, only memtable uses huge pages. Blocks are small and allocated individually, so we don't use huge pages for those.
Hi @ajkr, thanks for your response, I still have the following doubts:
Table cache is for table reader objects. It is always present and its size is controlled by max_open_files
setting.
Your understanding about block cache was correct: it caches blocks in SST files. Block cache is enabled by default but can be turned off.
I see, thanks again @ajkr !
Hi everyone,
I want to use RocksDB with a GBs block cache in a server with many other processes, as far as known, RocksDB doesn't support using TLB huge page except memtable, so if other processes cosume too much memory, there is a risk of RocksDB OOM. I have some doubt about RocksDB memory:
Thanks for your time, all comments and insights are welcome, have a nice day to everyone.