[qet] qet/qet: [4818] Increase database loading |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4818
Author: scorpio810
Date: 2016-12-22 04:27:51 +0100 (Thu, 22 Dec 2016)
Log Message:
-----------
Increase database loading
Modified Paths:
--------------
branches/DXFtoQET3_DB/db/dbmanager.cpp
Modified: branches/DXFtoQET3_DB/db/dbmanager.cpp
===================================================================
--- branches/DXFtoQET3_DB/db/dbmanager.cpp 2016-12-20 19:19:40 UTC (rev 4817)
+++ branches/DXFtoQET3_DB/db/dbmanager.cpp 2016-12-22 03:27:51 UTC (rev 4818)
@@ -25,6 +25,12 @@
/*QMessageBox::warning(this, tr("Application"),
tr("Connection with database ok"));*/
}
+ m_db.exec("PRAGMA temp_store = MEMORY");
+ m_db.exec("PRAGMA journal_mode = MEMORY");
+ m_db.exec("PRAGMA page_size = 4096");
+ m_db.exec("PRAGMA cache_size = 16384");
+ m_db.exec("PRAGMA locking_mode = EXCLUSIVE");
+ m_db.exec("PRAGMA synchronous = OFF");