Advertisement · 728 × 90

Posts by Franck Pachot

Post image

It's impressive to see Oracle and Microsoft remaining in the top 3 as they transition to the cloud. And one has overtaken the other in market share because it's not only one database (there's SQL Server, and there's PostgreSQL)

1 day ago 1 0 1 0
Preview
Mutable BSON and Oracle OSON AskTom Live is a great source of information from Oracle developer advocates and product managers,...

If you want to compare BSON with OSON, the Oracle Database datatype for JSON, you should compare the Mutable BSON Document, which is the structure MongoDB uses to access documents and read and update individual fields.
dev.to/franckpachot...

4 days ago 3 0 0 0

Being able to read the screen in a sunny place, that's a great feature 😎 Still after one year with Mac, I'll be happy to switch back to Windows soon. Apple hardware is great but software - feels like Win98 to me in terms of user experience

4 days ago 2 0 0 0
LinkedIn This link will take you to a page that’s not on LinkedIn

I finally published my book about Postgres!

Check it out here: lnkd.in/eakHPn6E

Thanks @alexrios.me for the very good feedback, and @franckpachot.bsky.social for taking the time on reading the book and writing the foreword.

More details here:
www.linkedin.com/pulse/my-boo...

1 week ago 4 3 0 0
Preview
Many SQL DBAs argue: “I’ve never seen a production app change its database. Why make it database-agnostic?” 🛢️ In systems focused on the database, this makes sense — business logic resides in… | Fran... Many SQL DBAs argue: “I’ve never seen a production app change its database. Why make it database-agnostic?” 🛢️ In systems focused on the database, this makes sense — business logic resides in stored ...

Many SQL DBAs argue: “I’ve never seen a production app change its database. Why make it database-agnostic?” www.linkedin.com/posts/franck...

1 week ago 0 0 0 0
Preview
The origins of MongoDB The Web Archive holds some real gems. Let’s trace the origins of MongoDB with links to its archived...

Back then, I was in the SQL bubble and missed #MongoDB’s early days, so I revisited its early web pages on the Internet Archive to understand its origins better: dev.to/franckpachot...

2 weeks ago 0 0 0 0

20 years! Congrats on all you've done to provide clear educational content for Oracle users. Its quality, with short info and easy demos, renders LLMs unnecessary. A search engine that directs to the page is enough: there's no need to summarize, merge, or clarify — everything already done

3 weeks ago 4 0 1 0
Preview
Single-Cluster Duality View 🃏 In DynamoDB, a single-table design stores one-to-many relationships in a single physical block while...

Beyond Documents, Beyond Tables: SCDV™ – The Single-Cluster-Duality-View Revolution
💡 What if your architecture could add enough layers to normalize and denormalize at the same time? Discover this revolutionary design pattern.
dev.to/franckpachot...

3 weeks ago 1 0 0 0
Preview
Read Concern "snapshot" for snapshot isolation outside explicit transactions TL;DR: I a previous post I explained why Why isn't "majority" the default read concern in MongoDB. If...

Read consistency in @MongoDB
🍃 Transaction-level consistency is ACID compliant
🍃 Statement-level consistency is achieved with the `snapshot` read concern
🍃 Document-level consistency is the default outside of an explicit transaction
dev.to/franckpachot...

3 weeks ago 1 0 0 0
Advertisement
Preview
SQL Assertions, ANSI join, and ORA-08697 In the previous post on consistency boundaries, we saw that an updatable join view can hide a...

I'm a big fan of ANSI joins, but always keep in mind that if something doesn't work as expected, it can be a good idea to switch to the pre-9i syntax - just in case 🤓
dev.to/franckpachot...

3 weeks ago 4 0 1 0

It's consistent between the two writes, yes, because they update different values. But consistency between read and write: the +42 is should happen only if actual values are 1000 and 100. Then only one can happen.

3 weeks ago 1 0 0 0

Guess why 🙂
💡 Hint: there's a reason why @Hibernate doesn't do dynamic update by default (it would have prevented the anomaly here)

3 weeks ago 0 0 0 0
Post image

Some fun with SQL consistency boundaries🤓

Two users received the same instruction:
Add $42 to the salary or commission (choose one) for employee 99, who currently has a salary of $1000 and a commission of $100.

Same tables, same rows.
Only one should be able to update, right?

3 weeks ago 0 0 2 0
Preview
💡 When migrating from one platform to another, don’t just mimic what you had before. Revisit the requirements 🔦 For example, in SQL, sequences exist because incrementing a counter in a table… | Franck... 💡 When migrating from one platform to another, don’t just mimic what you had before. Revisit the requirements 🔦 For example, in SQL, sequences exist because incrementing a counter in a table wouldn't ...

💡 When migrating from one platform to another, don’t just mimic what you had before. Revisit the requirements 🔦
www.linkedin.com/posts/franck...

3 weeks ago 2 0 0 0
Post image

I'm so used to starting software from Docker images that I didn't realize before that MongoDB database server is a single executable 😍 You start it (`mongod`), and it's a single process running threads to persist, process, and share your application data.

3 weeks ago 1 0 0 0
Preview
Non-First Normal Forms ( 1NF) 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...

SQL databases rely on relational algebra and normal forms. Document databases use comparable math, just starting from non-1NF instead of 1NF:
dev.to/franckpachot...

4 weeks ago 3 1 0 0
Preview
Double-session Mongo, Thu, Apr 23, 2026, 6:45 PM | Meetup On continue avec une double session comme la fois dernière ! Cette fois-ci, c'est Franck Pachot de MongoDB que nous avons le plaisir d'accueillir ! L'évènement aura lieu ch

Encore une double-session au Ch'ti JUG ! Cette fois c'est MongoDB, avec @franckpachot.bsky.social, et hébergé chez Ippon ! On s'inscrit ici : www.meetup.com/chtijug/even...

1 month ago 4 3 0 1
Advertisement

🌱 TL;DR: it's the same. Choose the consistency boundaries based on your application, not myths or guesses.

4 weeks ago 1 0 0 0
Preview
MongoDB Transaction Performance Many believe MongoDB transactions are slow, but this misconception often comes from misunderstanding...

You need to insert 1,000 documents into @MongoDB. You can either call insertMany() with the default session, which provides per-document ACID guarantees, or run it in a transaction so the entire batch is all-or-nothing. Which approach is faster?
dev.to/franckpachot...

4 weeks ago 3 0 1 0
Preview
Entity ≠ Entity 🧩 In an ER diagram for a normalized relational database, customer data is often divided into multiple entities (tables): address lines, street number, city, zip code, and country… | F... Entity ≠ Entity 🧩 In an ER diagram for a normalized relational database, customer data is often divided into multiple entities (tables): address lines, street number, city, zip code, and country may ...

Entity ≠ Entity
www.linkedin.com/posts/franck...

1 month ago 1 0 0 0
MongoDB Data Modeling: Embedding vs. Referencing Explained
MongoDB Data Modeling: Embedding vs. Referencing Explained YouTube video by MongoDB for Developers

🍕 How do you prefer your pizza? Do you like your ingredients separated with references, or all together? www.youtube.com/watch?v=TKlS...

1 month ago 1 0 0 2

Le mois prochain à Lille

1 month ago 0 0 0 0

A sort order for boolean feels so weird

1 month ago 1 0 0 0
Preview
PostgreSQL global statistics on partitionned table require a manual ANALYZE PostgreSQL auto-analyze collects statistics on tables with rows. For partitioned tables, it excludes...

Because a cost-based optimizer needs accurate statistics, run ANALYZE on PostgreSQL partitioned tables to gather them, since auto-analyze only processes partitions. dev.to/aws-heroes/p...

1 month ago 3 0 0 0
Post image

I updated my SQL Assertion article with some maths and added the ALL ... SATISFY syntax that avoids double NOT EXISTS in Oracle Database SQL Assertions dev.to/franckpachot...

1 month ago 46 3 1 0
Preview
From Relational Algebra to Document Semantics The relational model was designed not to mirror application structures, but to optimize reasoning...

Relational algebra provides a logical model for reasoning about data independently of the domain, while document databases model data as applications do. A new blog to compare the relational selection (σ) on 1NF with its MongoDB equivalent: dev.to/franckpachot...

1 month ago 3 0 0 0
Preview
In a normalized relational database, all relationships are the same: SQL tables linked with foreign keys. In a domain model, relationships have different strengths: strong within an aggregate and… | F... In a normalized relational database, all relationships are the same: SQL tables linked with foreign keys. In a domain model, relationships have different strengths: strong within an aggregate and weak...

www.linkedin.com/posts/franck...

1 month ago 3 0 0 0
Advertisement
How to Optimize Your Queries for Speed in MongoDB | Data Modeling, Indexing, and More
How to Optimize Your Queries for Speed in MongoDB | Data Modeling, Indexing, and More YouTube video by MongoDB for Developers

Trying a new format - short videos for beginners. That's the first one, all feedback welcome
youtu.be/qJUe1WxsTDk?...
A 3-step query tuning for MongoDB simple queries:
Step ⓵: Data Modeling
Step ⓶: Indexing for filters and order
Step ⓷: Covering projection

1 month ago 2 0 0 0
Preview
Cartesian product (CROSS JOIN) in MongoDB Relational database joins are, conceptually, a cartesian product followed by a filter (the join...

In databases, the Cartesian product is used to generate all combinations. In MongoDB, you can get it either at read time using multiple queries or a $lookup aggregation stage, or at write time through embedding, if it makes sense within your domain. dev.to/franckpachot...

2 months ago 2 0 0 0

Any UML tool that draw class diagrams (30 years ago I've find it more convenient than traditional craw foot diagrams, and easier to discuss with developers). Bonus if it has a xml/json that is git friendly

2 months ago 2 0 0 0