DbSchema Blog

Database design, migrations, SQL and everyday database work — explained with practical examples.

SQL tutorial

Learn SQL in your browser

A free SQL tutorial in short lessons on one shop database. Every example runs on real PostgreSQL in your browser, and the page checks your answers.

Design 08 Nov 2026

What an AI Assistant Sees of Your Database

Learn what an AI assistant sees of your database, the privacy risks of shadow AI, and how DbSchema keeps your schema secure while automating query design.

Design 08 Nov 2026

When Not to Normalise

Discover when denormalization is the right choice for your database, the native alternatives to try first, and how to manage the update costs.

Postgresql 08 Nov 2026

How to Document a Postgres Database

Document a Postgres database with COMMENT ON statements applied by psql in one transaction, list the columns still undescribed, and export the comments with DbSchema.