✕ Clear all filters
122 articles
▶ Videos →

📰 Dev.to · Franck Pachot

122 articles · Updated every 3 hours · View all reads

All Articles 111,212Blog Posts 121,362Tech Tutorials 28,339Research Papers 22,452News 16,641 ⚡ AI Lessons
RUM—Storing More in the Index
Dev.to · Franck Pachot 3w ago
RUM—Storing More in the Index
This series of posts traces the evolution from GIN to RUM to Extended RUM, showing how a single...
GIN: Understanding PostgreSQL's Inverted Index and Its Limitations
Dev.to · Franck Pachot 3w ago
GIN: Understanding PostgreSQL's Inverted Index and Its Limitations
This series of posts traces the evolution from GIN to RUM to Extended RUM, showing how a single...
Extended RUM in DocumentDB extension for PostgreSQL: Efficient ESR (Equality, Sort, Range) Queries
Dev.to · Franck Pachot ⚡ AI Lesson 4w ago
Extended RUM in DocumentDB extension for PostgreSQL: Efficient ESR (Equality, Sort, Range) Queries
Last year, I examined RUM indexes within this series on multi-key indexing, demonstrating that they...
Filter on Children, Sort by Parent: One-to-Many Compound Index Strategies in PostgreSQL
Dev.to · Franck Pachot ⚡ AI Lesson 1mo ago
Filter on Children, Sort by Parent: One-to-Many Compound Index Strategies in PostgreSQL
Before looking at PostgreSQL, I'll first introduce the problem by showing how MongoDB's document...
$exists and non-sparse indexes in MongoDB and in other DocumentDB
Dev.to · Franck Pachot 1mo ago
$exists and non-sparse indexes in MongoDB and in other DocumentDB
In SQL databases, NULL represents an unknown value — not the absence of a value. When a value is...
The Autovacuum Scale Factor Problem at Scale - Know Your Defaults
Dev.to · Franck Pachot ⚡ AI Lesson 1mo ago
The Autovacuum Scale Factor Problem at Scale - Know Your Defaults
In PostgreSQL, autovacuum and autoanalyze exist to clean up dead tuples (old versions of...
PostgreSQL EXCLUDE constraints for better concurrency than serializable
Dev.to · Franck Pachot 1mo ago
PostgreSQL EXCLUDE constraints for better concurrency than serializable
> Two groups of friends try to book seats ranges 5–8 and 7–9 in the same row, for the same show,...
You need foreign keys and surrogate keys because you broke your relationships
Dev.to · Franck Pachot ⚡ AI Lesson 1mo ago
You need foreign keys and surrogate keys because you broke your relationships
Many developers believe they need a relational database because their data has relationships. The...
Codd's Connection Trap and Oracle's JOIN TO ONE
Dev.to · Franck Pachot 2mo ago
Codd's Connection Trap and Oracle's JOIN TO ONE
In a previous post, I explored Codd's connection trap in PostgreSQL and MongoDB — the classic pitfall...
Anti-Join in MongoDB
Dev.to · Franck Pachot 2mo ago
Anti-Join in MongoDB
SQL databases implement anti-joins—finding rows with no match—through NOT EXISTS. Although anti-join...
Mutable BSON and Oracle OSON
Dev.to · Franck Pachot 2mo ago
Mutable BSON and Oracle OSON
AskTom Live is a great source of information from Oracle developer advocates and product managers,...
The origins of MongoDB
Dev.to · Franck Pachot ⚡ AI Lesson 3mo ago
The origins of MongoDB
The Internet Archive holds some real gems. Let’s trace the origins of MongoDB with links to its...
MongoDB Query Planner
Dev.to · Franck Pachot ⚡ AI Lesson 3mo ago
MongoDB Query Planner
SQL databases use query planners (often cost-based optimizers) so developers don’t worry about...
Single-Cluster Duality View 🃏
Dev.to · Franck Pachot ⚡ AI Lesson 3mo ago
Single-Cluster Duality View 🃏
In DynamoDB, a single-table design stores one-to-many relationships in a single physical block while...
Read Concern "snapshot" for snapshot isolation outside explicit transactions
Dev.to · Franck Pachot 3mo ago
Read Concern "snapshot" for snapshot isolation outside explicit transactions
TL;DR: I a previous post I explained Why isn't "majority" the default read concern in MongoDB. If...
SQL Assertions, ANSI join, and ORA-08697
Dev.to · Franck Pachot 📊 Data Analytics & Business Intelligence ⚡ AI Lesson 3mo ago
SQL Assertions, ANSI join, and ORA-08697
In the previous post on consistency boundaries, we saw that an updatable join view can hide a...
Consistency boundaries in SQL databases vs. MongoDB
Dev.to · Franck Pachot ⚡ AI Lesson 3mo ago
Consistency boundaries in SQL databases vs. MongoDB
Two common myths surround database consistency: Myth 1: Only SQL databases provide strong...
Non-First Normal Forms and MongoDB: an alternative to 4NF to address 3NF anomalies
Dev.to · Franck Pachot ⚡ AI Lesson 3mo ago
Non-First Normal Forms and MongoDB: an alternative to 4NF to address 3NF anomalies
SQL databases are grounded in relational algebra, but they are not the only databases with a strong...
MongoDB Transaction Performance
Dev.to · Franck Pachot ⚡ AI Lesson 3mo ago
MongoDB Transaction Performance
In MongoDB, all data manipulation operations are transactional and ACID. Single-document operations...
Updating "denormalized" aggregates with "duplicates": MongoDB vs. PostgreSQL
Dev.to · Franck Pachot 🔧 Backend Engineering 4mo ago
Updating "denormalized" aggregates with "duplicates": MongoDB vs. PostgreSQL
TL;DR: In database-centric development, duplication is dangerous because, in shared, normalized...