Grid Store pre reserving any space?? #7804
Replies: 4 comments 9 replies
-
|
Yes. Many more components use/reserve some disk space, including RocksDB. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you, just one more thing, for rocksdb, the rocksdb flag is there so by default which one is used when i insert the points gridstore or rocksdb?? if i am using version 1.16.0 code. Also what is the meaning of below data is this much space is reserved for payload storage in each segment when collection is created ?? {"page_size_bytes":33554432,"block_size_bytes":128,"region_size_blocks":8192,"compression":"LZ4"} |
Beta Was this translation helpful? Give feedback.
-
|
Could you please tell why did u set default size of gridstore page 32 MB?? If I am more concerned about memory should i use rocksdb or gridstore, because if i set gridstore page size low then it will increase my latency by creating new pages every time, and if i set a high value it will unnecessary occupy my disk space, If i dont know in prior how much payload size wise I'll insert then rockdb is better right if i want to save disk space ?? |
Beta Was this translation helpful? Give feedback.
-
|
I have did a testing where I inserted 100K points with the below payload between RocksDb vs Grid Store. Points: Dataset: fashion_Mnist_DinoV2_Embeddings 100K points: RocksDB Time taken for 100K upsert: 67274 ms and collection directory size 162MB and average search performance for 10 search requests=> 15ms 100K point: Grid store: (Block size: 128 Bytes, Region Block size: 8192 Bytes, Tracker size: 1MB, Page size: 32MB) Time taken for 100K upsert: 43017 ms and collection directory size 191MB and average search performance for 10 search requests=> 19ms I can see there is benefit in upsert latency while the search latency is more in grid store as compare to rocks DB also there is huge RAM spike while performing search operation as compared to rocks DB. Could you please tell why is it happening?? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is any space is reserved for the grid store when collection is created ??
Beta Was this translation helpful? Give feedback.
All reactions