✕ Clear all filters
84 articles
▶ Videos →

📰 Dev.to · Philip McClarence

84 articles · Updated every 3 hours · View all reads

All Articles 130,411Blog Posts 135,035Tech Tutorials 33,729Research Papers 25,422News 18,473 ⚡ AI Lessons
Five schema-design habits that look harmless in a migration file — unbounded VAR
Dev.to · Philip McClarence 4d ago
Five schema-design habits that look harmless in a migration file — unbounded VAR
Five schema mistakes I keep finding in migration files. Each one zero alarms, zero errors, and starts...
FATAL: no pg_hba.conf entry for host: a diagnostic flow for a symptom with sever
Dev.to · Philip McClarence 5d ago
FATAL: no pg_hba.conf entry for host: a diagnostic flow for a symptom with sever
I’ve been paged for this error more times than I want to admit, and every time it is a different root...
Postgres: force drop a database that is being accessed by other users
Dev.to · Philip McClarence 1w ago
Postgres: force drop a database that is being accessed by other users
You are trying to drop an old database and Postgres gives you this: ERROR: database...
Bitmap Heap Scan in Postgres: When It’s Smart and When It’s a Symptom
Dev.to · Philip McClarence 1w ago
Bitmap Heap Scan in Postgres: When It’s Smart and When It’s a Symptom
I do not panic when I see Bitmap Heap Scan in a Postgres plan anymore. For years I treated it like a...
PostgreSQL Plan Signatures: Quick Reference
Dev.to · Philip McClarence ⚡ AI Lesson 2mo ago
PostgreSQL Plan Signatures: Quick Reference
PostgreSQL Plan Signatures: Quick Reference A scannable lookup companion to the Complete...
PostgreSQL Query Anti-Patterns and Common Mistakes
Dev.to · Philip McClarence ⚡ AI Lesson 2mo ago
PostgreSQL Query Anti-Patterns and Common Mistakes
Most of the articles in this series are about making reasonable queries faster. This one is about...
PostgreSQL Query Rewriting Techniques
Dev.to · Philip McClarence ⚡ AI Lesson 2mo ago
PostgreSQL Query Rewriting Techniques
PostgreSQL Query Rewriting Techniques The previous articles in this series covered...
PostgreSQL Aggregate and Window Function Tuning
Dev.to · Philip McClarence ⚡ AI Lesson 2mo ago
PostgreSQL Aggregate and Window Function Tuning
GROUP BY and window functions look declarative — the query says what it wants, and PostgreSQL figures...
PostgreSQL Subquery and CTE Optimization
Dev.to · Philip McClarence ⚡ AI Lesson 2mo ago
PostgreSQL Subquery and CTE Optimization
Every SELECT in PostgreSQL is made of smaller SELECTs, even when it doesn't look that way. WHERE col...
PostgreSQL Join Optimization: Nested Loop, Hash, and Merge
Dev.to · Philip McClarence ⚡ AI Lesson 2mo ago
PostgreSQL Join Optimization: Nested Loop, Hash, and Merge
PostgreSQL has three join algorithms. The planner picks between them for every join in every query,...
PostgreSQL Index Usage and Optimization
Dev.to · Philip McClarence ⚡ AI Lesson 2mo ago
PostgreSQL Index Usage and Optimization
PostgreSQL Index Usage and Optimization Indexing is the single biggest lever in SQL...
Reading PostgreSQL EXPLAIN and EXPLAIN ANALYZE Output
Dev.to · Philip McClarence ⚡ AI Lesson 2mo ago
Reading PostgreSQL EXPLAIN and EXPLAIN ANALYZE Output
Every PostgreSQL performance conversation eventually lands on a question that sounds trivial: what...
The Complete Guide to PostgreSQL SQL Query Analysis & Optimization
Dev.to · Philip McClarence ⚡ AI Lesson 3mo ago
The Complete Guide to PostgreSQL SQL Query Analysis & Optimization
Most PostgreSQL performance work is wasted because it starts from the wrong end. Someone notices a...
PostgreSQL Parallel Query: Configuration & Performance Tuning
Dev.to · Philip McClarence ⚡ AI Lesson 3mo ago
PostgreSQL Parallel Query: Configuration & Performance Tuning
PostgreSQL Parallel Query: Configuration & Performance Tuning Your analytical query...
PostgreSQL Point-in-Time Recovery with pgBackRest
Dev.to · Philip McClarence ⚡ AI Lesson 3mo ago
PostgreSQL Point-in-Time Recovery with pgBackRest
PostgreSQL Point-in-Time Recovery with pgBackRest pg_dump gives you a snapshot at the...
PostgreSQL BRIN Indexes: When & How to Use Block Range Indexes
Dev.to · Philip McClarence 3mo ago
PostgreSQL BRIN Indexes: When & How to Use Block Range Indexes
PostgreSQL BRIN Indexes: When & How to Use Block Range Indexes You have a...
PostgreSQL Covering Indexes: Eliminate Heap Fetches with INCLUDE
Dev.to · Philip McClarence 3mo ago
PostgreSQL Covering Indexes: Eliminate Heap Fetches with INCLUDE
PostgreSQL Covering Indexes: Eliminate Heap Fetches with INCLUDE You have an index on...
PostgreSQL JSONB Indexing: GIN, Expression & Partial Index Strategies
Dev.to · Philip McClarence 3mo ago
PostgreSQL JSONB Indexing: GIN, Expression & Partial Index Strategies
PostgreSQL JSONB Indexing: GIN, Expression & Partial Index Strategies JSONB is one of...
PostgreSQL Transaction Isolation Levels Explained
Dev.to · Philip McClarence 3mo ago
PostgreSQL Transaction Isolation Levels Explained
PostgreSQL Transaction Isolation Levels Explained If you've ever had a subtle data...
PostgreSQL Replication Slots: Create, Monitor & Troubleshoot
Dev.to · Philip McClarence 3mo ago
PostgreSQL Replication Slots: Create, Monitor & Troubleshoot
PostgreSQL Replication Slots: Create, Monitor & Troubleshoot A replication slot...