What if OpenDocument Used SQLite?

2025-09-05

This article explores a thought experiment: what if the OpenDocument file format, specifically ODP (OpenDocument Presentation), were built around SQLite? The author argues this would yield significant advantages, including smaller file sizes, faster file saving and startup times, reduced memory usage, built-in versioning, and an improved user experience. The limitations of the current ZIP-based approach are detailed, such as difficulties with incremental updates, slow startup, high memory consumption, crash recovery issues, and limited content accessibility. The author proposes replacing ZIP with SQLite and further suggests splitting content into smaller units within database tables for incremental updates and faster startup. Version control via SQLite is also discussed, allowing for the retention of historical versions and simplifying crash recovery. In essence, the article posits that using SQLite as an application file format can dramatically enhance user experience and performance for applications like OpenOffice.

Read more
Development File Format

SQLite: Building a Database for 2050

2025-08-01

The SQLite developers ambitiously plan to support SQLite until 2050. To achieve this, they've implemented cross-platform code, a stable database file format, aviation-grade testing, extensive documentation, heavily commented source code, and disaster recovery planning. Rejecting fleeting programming trends, they aim for timeless code easily understood and maintained by future programmers. Even the US Library of Congress recognizes SQLite as a recommended format for digital preservation. SQLite's long-term vision and robust design make it a reliable database choice.

Read more
Development long-term support