Optimize memory usage of table.TableIndex #1335
Labels
area/performance
Performance related issues.
kind/enhancement
Something could be better.
status/accepted
We accept to investigate or work on it.
Badger keeps the index used by each table in memory
badger/table/table.go
Lines 94 to 102 in 62b7a10
As the number of SST grows, the number of in-memory index blocks grows. The memory usage grows linearly with the number of tables. We should be cache the index blocks in ristretto.
This issue was also seen on dgraph-io/dgraph#5361 (comment)
The text was updated successfully, but these errors were encountered: