Skip to content
Danube Labs

Insights

Notes from the work.

Practical guides on AI coding agents, LLM costs, websites and custom software: what we built, what it cost and what we would do differently.

Articles tagged Databases

  • 9 min read

    PostgreSQL Extensions Worth Knowing

    Extensions let PostgreSQL handle case-insensitive text, fuzzy search, UUIDs and spatial queries without application code. What each is for, when it is the wrong tool, and why your host decides what you can install.

    • Databases
    • Developer tools
  • 8 min read

    What Happens When a Free Database Pauses

    A free hosted database that pauses after inactivity is a fair trade for a side project and a risk for anything people depend on. Here is what pausing does, and how long you really have.

    • Databases
    • Business
  • 9 min read

    Backups You Have Actually Restored

    A backup is a claim and a restore is the evidence. Here is a routine a small team can keep: where copies live, how often they run, how to rehearse a restore on a scratch database, what to check, and how to record it.

    • Databases
    • Developer tools
  • 9 min read

    Self-Hosting a Database: Personal vs Production

    Running your own PostgreSQL is reasonable for a side project and a real commitment for a business. The software is the same; the duties are not.

    • Databases
    • Developer tools
  • 7 min read

    Supabase for free: hosted, local or self-hosted

    Supabase can cost nothing hosted, locally or on your own server, but each option asks for something different. Here are the real limits, the self-hosting work, and how PocketBase, Appwrite and Nhost compare.

    • Databases
    • Developer tools
    • Open source
  • 7 min read

    Back Up a Local Database Before You Change It

    A local Supabase reset takes seconds and discards everything that is not in a migration. Here is what a dump does and does not contain, and a routine you can restore.

    • Databases
    • Developer tools
  • 8 min read

    Row-Level Security in Supabase: Test It Before You Ship

    In Supabase the database is reachable through an API, so row-level security is the access control. Here is what it does, the mistake that exposes a table, and how to test a policy as anon and as a signed-in user.

    • Databases
    • Security
  • 8 min read

    Running Several Supabase Projects on One Machine

    A second local Supabase project collides on the same ports, and hand-offset ports drift away from your app config. See what the CLI now assigns and what it costs.

    • Databases
    • Developer tools
  • 7 min read

    Supabase Migrations: Schema Changes as Files

    A schema change belongs in a file that every environment applies the same way. Here is how Supabase migrations are created, applied, reset and reviewed, and why a change made in Studio is not one yet.

    • Databases
    • Developer tools