-
|
How does MZRDB handle memory usage for very large databases? Since hot reads are near-instant (0.00ms), is there a built-in mechanism to clear the cache or limit RAM usage when the dataset grows too large? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Thanks for raising this. Based on the current implementation, MZRDB does not appear to have a general built-in cache manager with eviction, RAM limiting, or a dedicated cache-clearing API for large local datasets. For So at the moment, the practical answer seems to be:
If you want, you can share your benchmark results and dataset shape with us as well. That would help validate the observed behavior under larger real-world workloads. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the clarification. Based on your feedback, I’ve conducted a quick benchmark to observe the behavior of jsondb and bsondb adapters under repeated read operations. Key Observations from my results:
I’ve attached the benchmark table for your review. It seems that while there is no built-in RAM cap, adapter choice (BSON vs JSON) is currently the most critical factor for scalability. |
Beta Was this translation helpful? Give feedback.

Thanks for the clarification. Based on your feedback, I’ve conducted a quick benchmark to observe the behavior of jsondb and bsondb adapters under repeated read operations.
Key Observations from my results: