107 articles

📰 Dev.to · Franck Pachot

Articles from Dev.to · Franck Pachot · 107 articles · Updated every 3 hours · View all reads

All ⚡ AI Lessons (10383) ArXiv cs.AIDev.to · FORUM WEBDev.to AIForbes InnovationOpenAI NewsHugging Face Blog
Why isn't "majority" the default read concern in MongoDB?
Dev.to · Franck Pachot 3mo ago
Why isn't "majority" the default read concern in MongoDB?
TL;DR: If you’re used to traditional SQL databases and synchronous request–response flows—where you...
MongoDB read and write concerns compared to PostgreSQL synchronous commit
Dev.to · Franck Pachot 3mo ago
MongoDB read and write concerns compared to PostgreSQL synchronous commit
If you are used to SQL databases, MongoDB’s consistency model can be confusing. Many traditional...
No Foreign Keys in MongoDB: Rethinking Referential Integrity
Dev.to · Franck Pachot 3mo ago
No Foreign Keys in MongoDB: Rethinking Referential Integrity
In SQL databases, foreign keys act as immediate constraints that verify the correctness of...
Adaptive Join in Amazon Aurora PostgreSQL
Dev.to · Franck Pachot 3mo ago
Adaptive Join in Amazon Aurora PostgreSQL
Slow joins in PostgreSQL often result from a nested loop join chosen by the query planner, which...
Unnesting Scalar Subqueries into Left Outer Joins in SQL in Aurora and PostgreSQL
Dev.to · Franck Pachot 3mo ago
Unnesting Scalar Subqueries into Left Outer Joins in SQL in Aurora and PostgreSQL
Relational databases treat your query as a declarative description of the desired result and select...
JSONB vs. BSON: Tracing PostgreSQL and MongoDB Wire Protocols
Dev.to · Franck Pachot 3mo ago
JSONB vs. BSON: Tracing PostgreSQL and MongoDB Wire Protocols
There is an essential difference between MongoDB’s BSON and PostgreSQL’s JSONB. Both are binary JSON...
Atlas Search scoring calculation and why Lucene scores differ from Elasticsearch and pg_(text)search
Dev.to · Franck Pachot 3mo ago
Atlas Search scoring calculation and why Lucene scores differ from Elasticsearch and pg_(text)search
With @james_blackwoodsewell_58 we were comparing the BM25 text search scores between MongoDB Atlas...
Using $sql in Oracle Database instead of explain("executionStats")
Dev.to · Franck Pachot 3mo ago
Using $sql in Oracle Database instead of explain("executionStats")
As application-driven data models and document databases—made popular by MongoDB—continue to gain...
Many-to-One: Stronger Relationship Design with MongoDB
Dev.to · Franck Pachot 3mo ago
Many-to-One: Stronger Relationship Design with MongoDB
In a relational database, a one-to-many relationship is typically implemented with two tables. The...
No, MongoDB Does Not Mean Skipping Design
Dev.to · Franck Pachot 4mo ago
No, MongoDB Does Not Mean Skipping Design
With MongoDB, domain-driven design empowers developers to build robust systems by aligning the data...
Script to list MongoDB collection URI (to map to WiredTiger files)
Dev.to · Franck Pachot 4mo ago
Script to list MongoDB collection URI (to map to WiredTiger files)
When tracing I/O to WiredTiger files, like with strace -y, the filenames do not give the collection...
MongoDB Index Intersection (and PostgreSQL Bitmap-and)
Dev.to · Franck Pachot 4mo ago
MongoDB Index Intersection (and PostgreSQL Bitmap-and)
You won’t always have a perfect index for every query, but may have have single-field indexes for...
What writeConcern: {w: 1} Really Means: Isolation and Durability
Dev.to · Franck Pachot 4mo ago
What writeConcern: {w: 1} Really Means: Isolation and Durability
In MongoDB, a write concern of w:1 indicates that a write operation is considered successful once the...
Data Locality vs. Independence (NoSQL vs. SQL)
Dev.to · Franck Pachot 4mo ago
Data Locality vs. Independence (NoSQL vs. SQL)
Understand how the principle of "store together what is accessed together" is a game-changer for...
INNER JOIN and LEFT OUTER JOIN in MongoDB (with $lookup and $unwind)
Dev.to · Franck Pachot 4mo ago
INNER JOIN and LEFT OUTER JOIN in MongoDB (with $lookup and $unwind)
We often explain $lookup as similar to a relational JOIN, but there’s a key difference in the...
Nested Loop and Hash Join for MongoDB $lookup
Dev.to · Franck Pachot 4mo ago
Nested Loop and Hash Join for MongoDB $lookup
SQL databases offer several join algorithms. The query planner selects the most efficient one by...
Amazon DocumentDB New Query Planner (version 2)
Dev.to · Franck Pachot 4mo ago
Amazon DocumentDB New Query Planner (version 2)
In September 2025, AWS announced it will contribute to the open-source DocumentDB extension for...
How does it scale? A basic OLTP benchmark on MongoDB
Dev.to · Franck Pachot 5mo ago
How does it scale? A basic OLTP benchmark on MongoDB
Choosing a database requires ensuring that performance remains fast as your data grows. For example,...
Covering Index for $group/$sum in MongoDB Aggregation (With Hint)
Dev.to · Franck Pachot 5mo ago
Covering Index for $group/$sum in MongoDB Aggregation (With Hint)
MongoDB indexes enable quick equality and range filtering (with $match) and ordering (with $sort)....
Advanced Query Capabilities 👉🏻 aggregation pipelines
Dev.to · Franck Pachot 5mo ago
Advanced Query Capabilities 👉🏻 aggregation pipelines
Although MongoDB has supported ACID transactions and sophisticated aggregation features for years,...