以编程方式运行SQLite VACUUM命令时,如何在执行命令时查找使用哪个临时目录。我正在使用sqlite 3.6.7版本 我有这个问题,因为我收到以下异常。因此,我想检查并尽可能更改VACUUM使用的临时目录。
java.sql.SQLException: [SQLITE_FULL] Insertion failed because database is full (database or disk is full)
I tried monitoring the following directories (using java WatchService), but no files where changed in those directories by the VACUUM.
/var/tmp
/usr/tmp
/tmp
current directory
I tried executing PRAGMA temp_store_directory on the database, but go the following error(as it is not set/available):
java.sql.SQLException: query does not return ResultSet