Which of the following SQL statements will improve SQLite write performance?
- PRAGMA locking_mode = "Row";
locking_mode can only be "NORMAL" or "EXCLUSIVE"- PRAGMA count_changes = Off;
it is believed to increase the speed slightly- PRAGMA default_synchronous = Off;
synchronous set to "Off" makes SQLite continue after write operation without waiting for the storage to finish writing - this might give a real boost- PRAGMA default_synchronous = On;
synchronous can only be "OFF", "NORMAL" or "FULL"- PRAGMA locking_mode = "Table";
locking_mode can only be "NORMAL" or "EXCLUSIVE"
Web Developer's daily adventures in the technologies jungle.
XHTML, CSS, XML, XSL, XPATH, PHP, SQL, JS and Typo3
Showing posts with label PRAGMA. Show all posts
Showing posts with label PRAGMA. Show all posts
Sunday, June 28, 2009
Zend PHP 5 Certification Mock Exam: SQLite
I came across this tricky question while solving the PHP 5 Certificatin Mock Exam. The answers in bold are the correct ones. I have also added a few words of explanation to each of them.
Subscribe to:
Posts (Atom)