Raised analysis_limit from 1000 to 2000 as 1k is not enough to speed up all queries (ex. sort artists by last write)
This commit is contained in:
@@ -66,7 +66,7 @@ namespace Database
|
|||||||
LMS_LOG(DB, DEBUG) << "Setting per-connection settings...";
|
LMS_LOG(DB, DEBUG) << "Setting per-connection settings...";
|
||||||
executeSql("pragma journal_mode=WAL");
|
executeSql("pragma journal_mode=WAL");
|
||||||
executeSql("pragma synchronous=normal");
|
executeSql("pragma synchronous=normal");
|
||||||
executeSql("pragma analysis_limit=1000"); // to help make analyze command faster
|
executeSql("pragma analysis_limit=2000"); // to help make analyze command faster, 1000 does not seem to be enough to speed up all queries
|
||||||
LMS_LOG(DB, DEBUG) << "Setting per-connection settings done!";
|
LMS_LOG(DB, DEBUG) << "Setting per-connection settings done!";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user