Skip to content

Database format ​

Starting with En Croissant 0.16.0, game databases use DuckDB and are stored as .duckdb files. You can query game metadata such as player names, ratings, and results directly with SQL.

Upgrading a SQLite database ​

On the Databases page, select your existing .db3 game database and click Convert database. En Croissant creates a separate .duckdb file alongside the original.

For the Lichess puzzle collection, download the DuckDB edition from the Puzzles tab.

Schema and move encoding ​

The game database schema defines the games table. Moves and variations use AIX compression and are stored in the movedata column. Comments and annotation symbols are stored separately in the annotations column.

To read the moves and annotations in another chess program, use Export to PGN from the database page.