You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that the duration of time to perform this action depends on the number of files in the /tmp directory at the time of startup.
Describe the solution you'd like
This can be mostly mitigated by first creating a sub-directory in the /tmp directory (e.g., "xerial-sqlite-jdbc") and only store JDBC native libs in this directory. The size of this directory will be much less at risk of having large numbers of files present.
The text was updated successfully, but these errors were encountered:
I thought about that, and we already have org.sqlite.tmpdir, so this seems redundant. What do you think?
gotson
changed the title
[Feature] Extract DB files to a subdirectory within temporary folder
Extract DB files to a subdirectory within temporary folder
Aug 26, 2024
Is your feature request related to a problem? Please describe.
The library performs a cleanup routine of the
/tmp
directory at the start of every execution.https://github.com/xerial/sqlite-jdbc/blob/61fda53dd39bc31dbf46f5f4523d85334f6c0fb9/src/main/java/org/sqlite/SQLiteJDBCLoader.java#L90C48-L90C58
This means that the duration of time to perform this action depends on the number of files in the
/tmp
directory at the time of startup.Describe the solution you'd like
This can be mostly mitigated by first creating a sub-directory in the
/tmp
directory (e.g., "xerial-sqlite-jdbc") and only store JDBC native libs in this directory. The size of this directory will be much less at risk of having large numbers of files present.The text was updated successfully, but these errors were encountered: