Did typesense store data to disk or will that be i...
# community-help
s
Did typesense store data to disk or will that be in memory. If it's in memory what happens when the node or container goes down
k
Raw documents are stored on disk. On restart, the in-memory index is reconstructed on startup.
s
Is there a way to do back of envelope calculation for the ram size.
k
Depends on fields indexed and shape of data. But typical 2x to 3x on-disk storage.
s
Raw document will be of the same size as a disk isn't. Only the index will be 2x to 3x size of disk is needed
That's ram memory
Is there a way we can see how the document is stored on RAM
k
Typically index sizes are 2-3x roughly equivalent text representation on disk. You will have to index sufficient number of documents to measure.