SQLite Basics: Why Do Local Apps Choose a “Single-File Database”?
SQLite Basics: Why Do Local Apps Choose a “Single-File Database”? Many browsers, mobile apps, and desktop tools store their data in SQLite. Unlike server-based databases such as MySQL or PostgreSQL, SQLite makes one file the database itself. This article explains what SQLite is, using small experiments with Python’s standard sqlite3 module. It describes general properties, not the implementation of any specific product. Note: The numbers come from running Python 3 (SQLite 3.45.3) on October 14, 2026. They will vary by environment. What Is SQLite? SQLite is a database engine embedded inside an application. There is no separate process to start and connect to; the app reads and writes the file …