Update DataExtractionOSM/src/net/osmand/data/preparation/DBDialect.java
This commit is contained in:
parent
024d183303
commit
70f752ea67
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ public enum DBDialect {
|
|||
//we are exclusive, some speed increase ( no need to get and release logs
|
||||
statement.executeQuery("PRAGMA locking_mode = EXCLUSIVE");
|
||||
//increased cache_size, by default it is 2000 and we have quite huge files...
|
||||
statement.executeUpdate("PRAGMA cache_size = 10000");
|
||||
//statement.executeUpdate("PRAGMA cache_size = 10000"); cache size could be probably contraproductive on slower disks?
|
||||
statement.close();
|
||||
System.out.println(String.format("SQLITE running in %s mode", SQLiteJDBCLoader.isNativeMode() ? "native" : "pure-java"));
|
||||
return connection;
|
||||
|
|
Loading…
Reference in a new issue