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.
Generating Realistic Seed Data That Respects Foreign Keys, in 20 Seconds

Generating Realistic Seed Data That Respects Foreign Keys, in 20 Seconds

1
Comments 1
6 min read
5 Supabase patterns I learned building an open-source WhatsApp platform

5 Supabase patterns I learned building an open-source WhatsApp platform

1
Comments
7 min read
The Gamification Data Model: How to Structure Streaks, Achievements, Points & Leaderboards

The Gamification Data Model: How to Structure Streaks, Achievements, Points & Leaderboards

Comments
11 min read
Integrating SQL Databases with Power BI for Advanced Analytics: A Complete Guide

Integrating SQL Databases with Power BI for Advanced Analytics: A Complete Guide

3
Comments
4 min read
PostgreSQL High Availability: A Practical Guide with Patroni and pgBouncer

PostgreSQL High Availability: A Practical Guide with Patroni and pgBouncer

Comments
6 min read
6 Supabase RLS Patterns for Solo SaaS — auth.uid() and Beyond

6 Supabase RLS Patterns for Solo SaaS — auth.uid() and Beyond

Comments
3 min read
Migrating from Neon to Supabase (Postgres + Drizzle, in production)

Migrating from Neon to Supabase (Postgres + Drizzle, in production)

Comments
7 min read
Cutting a 26-Minute Supabase Batch Job to Near Zero — The prev_fetched Flag Pattern

Cutting a 26-Minute Supabase Batch Job to Near Zero — The prev_fetched Flag Pattern

Comments
2 min read
Sub-queries vs Window Functions vs Common Table Expressions: Which Should You Use in SQL?

Sub-queries vs Window Functions vs Common Table Expressions: Which Should You Use in SQL?

1
Comments
3 min read
PostgreSQL Covering Indexes: Eliminate Heap Fetches with INCLUDE

PostgreSQL Covering Indexes: Eliminate Heap Fetches with INCLUDE

Comments
3 min read
Supabase Migration Best Practices — Timestamp Naming, Conflict Prevention, Seed Separation

Supabase Migration Best Practices — Timestamp Naming, Conflict Prevention, Seed Separation

Comments
2 min read
Idempotency explained — Part 1: basics, idempotency key and Go implementation

Idempotency explained — Part 1: basics, idempotency key and Go implementation

Comments
8 min read
PostgreSQL JSONB Indexing: GIN, Expression & Partial Index Strategies

PostgreSQL JSONB Indexing: GIN, Expression & Partial Index Strategies

Comments
4 min read
The 8 tables behind a real auth system (Postgres schema, explained column by column)

The 8 tables behind a real auth system (Postgres schema, explained column by column)

3
Comments
10 min read
PostgreSQL Backup and Recovery: A Complete Guide

PostgreSQL Backup and Recovery: A Complete Guide

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