About What's in my DB
A site for developers who want to see what a database actually puts in its files, and what it does with a query. Drop a file and it is decoded in your browser; type SQL and the engine, running in the page, shows its plan.
Engines
SQLite is first because it is one file you probably already have. PostgreSQL and MySQL (InnoDB) are planned; their pages say what the viewer will read and how.
Sources
SQLite and its documentation are in the public domain. The descriptions on the SQLite opcode and pragma pages are taken from sqlite.org's opcode list and pragma documentation for SQLite 3.54.1, with their links pointed back at sqlite.org or at this site. All credit for them belongs to the SQLite developers.
The file viewer's parser is written from the file format document and does not use SQLite; it is tested against databases built by SQLite itself. At build time, 178 statements are compiled with EXPLAIN against the sample database using SQLite 3.54.1 (sql.js); each opcode page shows the one with the shortest program.
Trademarks
This site is independent. It is not affiliated with or endorsed by the SQLite project or Hipp, Wyrick & Company, Inc. (SQLite is their registered trademark), the PostgreSQL Global Development Group, or Oracle (MySQL). The names are used only to describe which files the site reads.
Your files
The file viewer and the EXPLAIN visualizer run entirely in your browser. A file you open is read from your own disk, a page at a time, and is never uploaded. Nothing you type is sent anywhere.
Who made it
Spencer Uresk, who also wrote Build a Database in Rust.