I'm curious to find out whether Oracle still uses DerbyDB in their Oracle Database Appliances to store the metadata, and what they will replace it with
16.10.2025 10:13 β π 1 π 0 π¬ 0 π 0@franckpachot.bsky.social
https://dev.to/franckpachot π₯ Developer Advocate at π MongoDB πΈ AWS Data Hero π ΎοΈ Oracle Certified Master π PostgreSQL andββ YugabyteβDB
I'm curious to find out whether Oracle still uses DerbyDB in their Oracle Database Appliances to store the metadata, and what they will replace it with
16.10.2025 10:13 β π 1 π 0 π¬ 0 π 0If the banner has AI in lower and upper case, it must be great
14.10.2025 14:47 β π 4 π 1 π¬ 1 π 0SELECT DISTINCT ON ... ORDER BY equivalent in MongoDB (and faster)
dev.to/franckpachot...
Was just trying to be funny π AI and vibe coding, resulting in too many buffer pins
01.10.2025 09:11 β π 2 π 0 π¬ 1 π 0I can think of 100s of reasons but you said 23ai, so... vibe pinning?
01.10.2025 08:57 β π 0 π 0 π¬ 1 π 0More WiredTiger internals: persisting MongoDB's committed MVCC versions through checkpoints and restarts dev.to/franckpachot...
29.09.2025 09:01 β π 2 π 1 π¬ 0 π 0Trust me I was so against it when I arrived at spark Iβve used it in the past and hated it.
but the lack of relations is actually amazing for backfill. it just makes it so simple and painless that Iβm willing to live with the mongo of it all
and store the buffer in aifiedt.buf to be more AI friendly
26.09.2025 18:18 β π 2 π 0 π¬ 0 π 0Blog post for September 2025
SQL Developer isn't entirely CBO-friendly.
jonathanlewis.wordpress.com/2025/09/24/s...
A closer look at MongoDB Text Search: which terms are indexed for a string, how they're stored, and what formula is used to calculate the query's matching score. Since it's based on Lucene, let's use Lucene tools. dev.to/franckpachot...
22.09.2025 14:31 β π 2 π 0 π¬ 0 π 0Comparing π to π, and MongoDB to PostgreSQL, with full-text search indexes
dev.to/franckpachot...
An example of MongoDB aggregation pipeline compared to the equivalent in SQL/JSON with common table expressions (CTE), from a StackOverflow question: dev.to/franckpachot...
18.09.2025 07:40 β π 0 π 0 π¬ 0 π 0A flexible schema permits arrays in fields without upfront declaration, and filters and indexes (multiple keys per document) use it automatically. MongoDB tracks multikey paths in indexed fields to optimize index scans:
dev.to/franckpachot...
MongoDBβs strength is not only in its flexible, document-oriented API, but also in its ability to store documents to disk without random I/O slicing or vacuuming later. Here's how MongoDB persists collections and indexes in WiredTiger:
dev.to/franckpachot...
Encryption is not yet there in PostgreSQL
09.09.2025 12:54 β π 1 π 0 π¬ 1 π 0As that's on disk and malicious users with host access may access memory, the only full protection is encryption from the client. MongoDB has such queryable encryption:
www.mongodb.com/docs/manual/...
Yes, more difficult as you have to calculate checksum and propagate to parent. Encryption protects from reading/changing block content
09.09.2025 10:43 β π 0 π 0 π¬ 0 π 0For nearly a decade, MongoDB provided reliable persistence with one of the most robust storage engines. Yet somehow, the oldest jokes keep persisting, too, so here are some facts:
dev.to/franckpachot...
MongoDB is popular, inspiring databases to mimic its features on top of RDBMS. Examining execution plans can provide insight into how things workβsuch as how to simulate multi-key indexes in a database engine designed for single-key indexes on normalized schemas
dev.to/aws-heroes/d...
If you update a row/document with the same values, is it still an update, or should the database skip the write? SQL vs NoSQL.
dev.to/franckpachot...
Embedding a One-to-Many relationship into JSONB to avoid joins, if over 2KB, hides the join, but does not prevent it. Here's how PostgreSQL TOAST works:
dev.to/franckpachot...
SQL or NoSQL?
@franckpachot.bsky.social explains how to pick the right model for your app in this #IntelliJIDEAConf session π youtu.be/CuA84bJEjDo
New blog post about comparing and sorting arrays in @MongoDB ππΌ
It's a long story with a short conclusion to help remind it.
dev.to/franckpachot...
π€ Some geekery (for my #POUG2025 talk) on index dumps and internals to understand how Oracle Database emulates MongoDB multi-key indexes, and where the limitations come from.
dev.to/franckpachot...
PostgreSQL makes it easy to fact-check internet myths: read documentation + test with explain analyze ππ» an example: dev.to/mongodb/does... π€
13.08.2025 05:59 β π 5 π 1 π¬ 0 π 0Is MongoDB storing documents like heap tables or index-organized tables?
ππ» kind of both, a B+Tree optimized for flexible size documents
dev.to/franckpachot...
I made it more clear in the article.Thanks for the feedback. It's OCC in WiredTiger, per document, and MongoDB built fail-on-conflict on top, for transactions. Commit should not fail because of data, and could be retried without rollback what was done. Some drivers do that to be resilient to failure
07.08.2025 09:46 β π 1 π 0 π¬ 0 π 0Per statement. I should use fail-on-conflict rather than OCC which is generally used for detection at commit
05.08.2025 23:44 β π 1 π 0 π¬ 1 π 0Benchmarks from DbX's vendor showing it's faster than DbY are mainly marketing and serve little purpose in promoting DbX. However, they can help DbY's users spot poor design choices and anti-patterns that made DbY slower than carefully-tuned DbX
dev.to/franckpachot...
Query planner transformations on MongoDB documents with flexible schemas can surprise users familiar with SQL databases, which typically have fixed tabular schemas. An example of these subtle differences is explained in a new blog post. dev.to/franckpachot...
04.08.2025 17:57 β π 3 π 0 π¬ 0 π 0