Tutorials
Getting-started tutorials that we ran ourselves. Each step shows the exact command or code and the output it printed, and every tutorial states when, where and how it was tested.
Getting started with ClickHouse SQL using chDB
A tested ClickHouse tutorial run with chDB in Python: create a MergeTree table, insert and aggregate data, add a data-skipping index, inspect compression and query Parquet files.
Getting started with DuckDB in Python
A tested DuckDB tutorial in Python: install, create tables, run analytical SQL, query CSV and Parquet files in place, add indexes and use pandas DataFrames.
Getting started with LanceDB in Python
A tested LanceDB tutorial in Python: create a table with vectors, run nearest-neighbour and filtered searches, build IVF_PQ, BTREE and full-text indexes and use table versioning.
Getting started with PostgreSQL
A tested PostgreSQL tutorial: start a cluster, create a database, insert and query rows, read query plans, index JSONB with GIN and connect from Python with psycopg 3.
Getting started with Redis
A tested Redis tutorial with redis-cli and Python: start a server, store strings and hashes, build a sorted-set index, expire keys with TTL and use streams with consumer groups.
Getting started with SQLite in Python
A tested, step-by-step SQLite tutorial using Python's sqlite3 module: create a table, insert and query rows, add indexes and work with JSON columns.
Last verified: . Each tutorial lists its test environment and sources.