DEV Community

Database

Posts on building, using, and learning about databases.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
How to Set Up a Staging Database from Production PostgreSQL (2026 Guide)

How to Set Up a Staging Database from Production PostgreSQL (2026 Guide)

Comments
7 min read
SQL Views Explained: Write Once, Query Forever

SQL Views Explained: Write Once, Query Forever

Comments 1
6 min read
Building a Full-Stack Agentic AI Data Platform on ClickHouse: A Complete Architecture Guide

Building a Full-Stack Agentic AI Data Platform on ClickHouse: A Complete Architecture Guide

Comments 2
39 min read
Your PostgreSQL Already Has a Graph Engine — You Just Have to Build It

Your PostgreSQL Already Has a Graph Engine — You Just Have to Build It

1
Comments 2
7 min read
Why I Stopped Using STI and Started Using Delegated Types

Why I Stopped Using STI and Started Using Delegated Types

Comments 1
4 min read
When scaling broke my system (and it wasn’t a performance issue)

When scaling broke my system (and it wasn’t a performance issue)

Comments
1 min read
Where should I handle inserting data into multiple related tables: frontend or backend?

Where should I handle inserting data into multiple related tables: frontend or backend?

Comments
1 min read
Stop Letting AI Write Your Database Migrations

Stop Letting AI Write Your Database Migrations

Comments 1
5 min read
PostgreSQL Restore Failures: It Wasn’t pgBackRest, It Was My Recovery Logic

PostgreSQL Restore Failures: It Wasn’t pgBackRest, It Was My Recovery Logic

5
Comments 1
6 min read
The Agent Data Layer: A Missing Layer in AI Architecture

The Agent Data Layer: A Missing Layer in AI Architecture

1
Comments
2 min read
Performance and Apache Iceberg's Metadata

Performance and Apache Iceberg's Metadata

Comments
7 min read
What happens when every developer on your team can query production (safely)

What happens when every developer on your team can query production (safely)

Comments
2 min read
Replacing Elasticsearch with ClickHouse : A 90% Cost-Reduction Migration

Replacing Elasticsearch with ClickHouse : A 90% Cost-Reduction Migration

4
Comments
33 min read
Stop Using Subqueries: 3 Advanced SQL CTE Patterns That Saved My Production Database

Stop Using Subqueries: 3 Advanced SQL CTE Patterns That Saved My Production Database

Comments 1
3 min read
Why I Switched from ChromaDB to ElasticSearch (and What I Miss)

Why I Switched from ChromaDB to ElasticSearch (and What I Miss)

Comments
6 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.