Search notes:

SQLite performance

Apparently, the following pragmas can be used if a database crash and loss of data can be managed:
pragma synchronous=off;
pragma cache_size=4000000;
pragma journal_mode=memory;
begin transaction;
…
commit;
Additionally, on Linux, the hdparm settings might be tuned.

See also

SQLite
Stackoverflow: How do I improve the performance of SQLite?

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758198544, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/SQLite/Performance/index(48): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78