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 Speed Up Phrase Search with bigram_index

How to Speed Up Phrase Search with bigram_index

Comments
6 min read
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
How Databases Store Data: B+ Tree Explained Simply for Beginners (With Real-World Examples)

How Databases Store Data: B+ Tree Explained Simply for Beginners (With Real-World Examples)

5
Comments
25 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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.