DEV Community

# postgres

Posts on tips and tricks, using and learning about PostgreSQL for database development and analysis.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
PostgreSQL Aggregate and Window Function Tuning

PostgreSQL Aggregate and Window Function Tuning

Comments
9 min read
Implementing Soft Deletes in SQLAlchemy: Keeping Audit Trails Without Orphaning Foreign Keys in Multi-Tenant Systems

Implementing Soft Deletes in SQLAlchemy: Keeping Audit Trails Without Orphaning Foreign Keys in Multi-Tenant Systems

1
Comments
5 min read
Surviving Scale: How to Fix PostgreSQL Deadlocks in Laravel 🛑

Surviving Scale: How to Fix PostgreSQL Deadlocks in Laravel 🛑

Comments
3 min read
1.4.2 Cost Model: Sequential Scan Formula

1.4.2 Cost Model: Sequential Scan Formula

Comments
10 min read
Building a PSX Data Pipeline: How I get introduced to dbt

Building a PSX Data Pipeline: How I get introduced to dbt

Comments
4 min read
PostgreSQL for Data Engineers: Indexes, Bulk Loads, and the Patterns That Actually Matter

PostgreSQL for Data Engineers: Indexes, Bulk Loads, and the Patterns That Actually Matter

1
Comments
13 min read
PostgreSQL Optimization for Node.js: Complete 2026 Guide

PostgreSQL Optimization for Node.js: Complete 2026 Guide

Comments
11 min read
I built DBeast: a PostgreSQL MCP server that gives AI assistants DBA-level tools

I built DBeast: a PostgreSQL MCP server that gives AI assistants DBA-level tools

2
Comments
3 min read
RAG Without Embeddings: When BM25 Beats Your $0.20-per-1K Vector Index

RAG Without Embeddings: When BM25 Beats Your $0.20-per-1K Vector Index

Comments
7 min read
Supabase Migrations Advanced — Zero-Downtime Schema Changes in Production

Supabase Migrations Advanced — Zero-Downtime Schema Changes in Production

Comments
4 min read
EXPLAIN ANALYZE: The PostgreSQL Command Every Django Developer Should Know

EXPLAIN ANALYZE: The PostgreSQL Command Every Django Developer Should Know

3
Comments 1
4 min read
Inside Xatastor: ZFS + NVMe-oF for millions of Postgres databases

Inside Xatastor: ZFS + NVMe-oF for millions of Postgres databases

Comments
7 min read
PostgreSQL Subquery and CTE Optimization

PostgreSQL Subquery and CTE Optimization

1
Comments
8 min read
From pg-boss to Cloud Tasks: Fixing Queue Bursts and DB Connection Failures on Serverless

From pg-boss to Cloud Tasks: Fixing Queue Bursts and DB Connection Failures on Serverless

2
Comments 2
4 min read
PostgreSQL JSONB Indexing for Multi-Tenant AI Feature Metadata: Querying 100K Feature Configs Without Full Table Scans

PostgreSQL JSONB Indexing for Multi-Tenant AI Feature Metadata: Querying 100K Feature Configs Without Full Table Scans

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