PRAGMA auto_vacuum = FULL;
This commit is contained in:
parent
b02368db55
commit
79f2e54032
1 changed files with 1 additions and 0 deletions
|
|
@ -533,6 +533,7 @@ public class SQLiteMapStorage extends MapStorage {
|
||||||
|
|
||||||
private static Connection configureConnection(Connection conn) throws SQLException {
|
private static Connection configureConnection(Connection conn) throws SQLException {
|
||||||
final Statement statement = conn.createStatement();
|
final Statement statement = conn.createStatement();
|
||||||
|
statement.execute("PRAGMA auto_vacuum = FULL;");
|
||||||
statement.execute("PRAGMA journal_mode = WAL;");
|
statement.execute("PRAGMA journal_mode = WAL;");
|
||||||
statement.close();
|
statement.close();
|
||||||
return conn;
|
return conn;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue