Presented by:

2b60c925f64f0d73bf3f1c99ed8b4b84

Franck Pachot

from MongoDB

Franck is a Developer Advocate at MongoDB. He has extensive experience in database consulting for development and operations teams and is passionate about improving the developer experience, data modeling, and performance troubleshooting. Franck holds several certifications, including Oracle Certified Master and MongoDB Certified Associate Data Modeler, and is a recognized expert in PostgreSQL and YugabyteDB. Amazon acknowledges him as an AWS Data Hero.

No video of the event yet, sorry!

PostgreSQL was among the first relational databases to introduce a JSON data type, emerging at roughly the same time MongoDB was gaining traction as a NoSQL document database. While both PostgreSQL's JSONB and MongoDB's BSON formats store JSON, they differ significantly in their implementations and goals: PostgreSQL adheres to SQL, stores data as rows within blocks, and relies on extensions to provide a general purpose database, whereas MongoDB provides native features designed specifically for document-oriented data models. As PostgreSQL's popularity grows, an important question arises: can it effectively replace a native document database, or is it more advantageous to use JSONB in combination with a relational model?

Both databases have evolved considerably in recent years, yet some long-standing myths persist. This talk will compare PostgreSQL with JSONB and MongoDB for document-oriented use cases, focusing on indexing flexibility, update performance, transactional behavior, schema adaptability, and data locality in physical storage.

Our aim is not to declare a "winner" but to offer practical guidance on choosing the right approach for your application — whether that means tables, documents, or documents within tables. We will examine how to leverage each system's strengths while avoiding misconceptions born from their superficially similar JSON interfaces but fundamentally different architectures. We will also discuss what PostgreSQL would need to improve for JSONB to compete fully with MongoDB's native document capabilities.

Date:
Duration:
45 min
Room:
Conference:
PGConf India, 2026
Language:
Track:
Database Administration
Difficulty:
Medium