tinyquery + tinydelta

A SQL engine and a table format, both written from scratch in Python, running in this tab with Pyodide. Every query runs under EXPLAIN ANALYZE, so you can see what the planner expected next to what actually happened.

Query

Ctrl+Enter Loading Python…

Time travel and planner

Loading versions…
Planner options

Plan

Run a query to see its plan.

Result

Tables

orders tinydelta
id, customer_id, region, year; loading…
customers
id, name, tier; 200 rows, only 2 of them platinum
lineitem
order_id, sku, revenue; 4 items per order