PRAGMA auto_vacuum = FULL;

This commit is contained in:
ApliNi 2023-10-03 18:31:51 +08:00
parent ca80758605
commit 5244e74d47
1 changed files with 1 additions and 0 deletions

View File

@ -533,6 +533,7 @@ public class SQLiteMapStorage extends MapStorage {
private static Connection configureConnection(Connection conn) throws SQLException {
final Statement statement = conn.createStatement();
statement.execute("PRAGMA auto_vacuum = FULL;");
statement.execute("PRAGMA journal_mode = WAL;");
statement.close();
return conn;