✕ Clear all filters
77 articles
▶ Videos →

📰 Dev.to · Franck Pachot

77 articles · Updated every 3 hours · View all reads

All Articles 126,447Blog Posts 131,724Tech Tutorials 32,611Research Papers 24,539News 18,067 ⚡ AI Lessons
Extended RUM in DocumentDB extension for PostgreSQL: Efficient ESR (Equality, Sort, Range) Queries
Dev.to · Franck Pachot ⚡ AI Lesson 1mo 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...
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...
You need foreign keys and surrogate keys because you broke your relationships
Dev.to · Franck Pachot ⚡ AI Lesson 2mo 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...
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...
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...
PostgreSQL global statistics on partitionned table require a manual ANALYZE
Dev.to · Franck Pachot ⚡ AI Lesson 4mo ago
PostgreSQL global statistics on partitionned table require a manual ANALYZE
PostgreSQL auto-analyze collects statistics on tables with rows. For partitioned tables, it excludes...
From Relational Algebra to Document Semantics
Dev.to · Franck Pachot ⚡ AI Lesson 4mo ago
From Relational Algebra to Document Semantics
The relational model was designed not to mirror application structures, but to optimize reasoning...
Read‑your‑writes on replicas: PostgreSQL WAIT FOR LSN and MongoDB Causal Consistency
Dev.to · Franck Pachot ⚡ AI Lesson 4mo ago
Read‑your‑writes on replicas: PostgreSQL WAIT FOR LSN and MongoDB Causal Consistency
In databases designed for high availability and scalability, secondary nodes can fall behind the...
Top-K queries with MongoDB search indexes (BM25)
Dev.to · Franck Pachot 📣 Digital Marketing & Growth ⚡ AI Lesson 4mo ago
Top-K queries with MongoDB search indexes (BM25)
A document database is more than a JSON datastore. It must also support efficient storage and...
Relational composition and Codd's "connection trap" in PostgreSQL and MongoDB
Dev.to · Franck Pachot ⚡ AI Lesson 5mo ago
Relational composition and Codd's "connection trap" in PostgreSQL and MongoDB
Relational composition is to joins what the cartesian product is to tables: it produces every result...
Cartesian product (CROSS JOIN) in MongoDB
Dev.to · Franck Pachot ⚡ AI Lesson 5mo ago
Cartesian product (CROSS JOIN) in MongoDB
Relational database joins are, conceptually, a cartesian product followed by a filter (the join...
Prisma + MongoDB “Hello World”
Dev.to · Franck Pachot 🧠 Large Language Models ⚡ AI Lesson 5mo ago
Prisma + MongoDB “Hello World”
Prisma is an ORM (Object-Relational Mapper). With MongoDB, it acts as an Object Document Mapper,...
{ w: 1 } Asynchronous Writes and Conflict Resolution in MongoDB
Dev.to · Franck Pachot ⚡ AI Lesson 5mo ago
{ w: 1 } Asynchronous Writes and Conflict Resolution in MongoDB
MongoDB guarantees durability—the D in ACID—over the network with strong consistency—the C in the CAP...
Normal Forms and MongoDB
Dev.to · Franck Pachot ⚡ AI Lesson 5mo ago
Normal Forms and MongoDB
I learned about normal forms when databases were designed before the applications that used them. At...