I have a Python binary which uses SQLite as its backend database. SQLite\'s documentation and the code suggests that setting any of the following 3 environment variables sho
For version 3.8.1+ (released October 2013), it's cleaner to use the new SQLITE_TMPDIR
environment variable instead of TMPDIR
, since the latter is used by Unix software other than SQLite.
From the release notes:
The directory used to hold temporary files on unix can now be set using the SQLITE_TMPDIR environment variable, which takes precedence over the TMPDIR environment variable. The sqlite3_temp_directory global variable still has higher precedence than both environment variables, however.