Skip to content

Is it possible to use In-Memory mode for faster writes? #615

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hichemfantar opened this issue May 29, 2025 · 2 comments
Closed

Is it possible to use In-Memory mode for faster writes? #615

hichemfantar opened this issue May 29, 2025 · 2 comments

Comments

@hichemfantar
Copy link

hichemfantar commented May 29, 2025

I'd like to load the database from the file system into memory, modify the db in memory only, then save it the filesystem only when i want to

@lovasoa
Copy link
Member

lovasoa commented May 29, 2025

sql.js works entirely in memory. It does not interact with any filesystem.

@lovasoa lovasoa closed this as completed May 29, 2025
@hichemfantar
Copy link
Author

Is there a straightforward way to serialize and store the db in opfs or idb?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants