All
Articles 126,447Blog Posts 131,724Tech Tutorials 32,611Research Papers 24,539News 18,067
⚡ AI Lessons

Dev.to · Franck Pachot
⚡ AI Lesson
1w ago
What happens when a PostgreSQL backend crashes?
Your connection to PostgreSQL is handled by a dedicated backend process. If that process crashes, you...

Dev.to · Franck Pachot
⚡ AI Lesson
1w ago
PostgreSQL query planner parameters and prepared statements
PostgreSQL provides several planner configuration parameters, such as enable_seqscan and...

Dev.to · Franck Pachot
⚡ AI Lesson
3w ago
$lookup join strategies: understanding the trade-offs with flexible documents
In a previous post, I explored how MongoDB chooses between nested loop, indexed loop, and hash join...

Dev.to · Franck Pachot
📣 Digital Marketing & Growth
⚡ AI Lesson
1mo ago
HorizonDB preview: automate a reproducible lab with ARM
Azure HorizonDB is a new database service on Azure. It is PostgreSQL-compatible from a developer...

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...

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...

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...

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...

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...

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...

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...

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...

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...

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...

Dev.to · Franck Pachot
⚡ AI Lesson
3mo ago
MongoDB Transaction Performance
In MongoDB, all data manipulation operations are transactional and ACID. Single-document operations...

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...

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...

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...

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...

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...

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...

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,...

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...

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...
DeepCamp AI