-
Notifications
You must be signed in to change notification settings - Fork 619
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
Temporary Database #1147
Comments
If you don't pass a file name it should be a temporary database. Seems documented here: https://github.com/xerial/sqlite-jdbc/blob/master/USAGE.md#how-to-use-memory-databases |
I hadn't noticed because the documentation says "memory database" instead of "temporary database". In short, it was my fault. Thanks. |
i was not aware of the difference to be honest, i have updated the wording in the documentation |
Thank you for that, it's easier to understand. The "memory database" is always on the memory and doesn't have any file. On the other hand, the "temporary database" creates a file in the temp path of the system, and the file is automatically deleted after the connection closes. This temporary file will be used if the database becomes large or if SQLite comes under memory pressure to flush to the disk parts of the database. |
Can we use sqlite temporary database with this driver? I know that the driver supports in-memory, but it is not the same:
The text was updated successfully, but these errors were encountered: