s
March 31, 2024, 8:16 p.m. |

Simon Willison's Weblog simonwillison.net

Optimizing SQLite for servers


Sylvain Kerkour's comprehensive set of lessons learned running SQLite for server-based applications.


There's a lot of useful stuff in here, including detailed coverage of the different recommended PRAGMA settings.


There was also a tip I haven't seen before about "BEGIN IMMEDIATE" transactions:


"By default, SQLite starts transactions in DEFERRED mode: they are considered read only. They are upgraded to a write transaction that requires a database lock in-flight, when query containing a write/update/delete statement is issued. …

applications coverage databases lessons learned performance running server servers set sql sqlite transactions

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US