WeSearch

BSON and OSON: documents are designed to be nested, not flat

·11 min read · 0 reactions · 0 comments · 7 views
#database#bson#json
BSON and OSON: documents are designed to be nested, not flat
⚡ TL;DR · AI summary

The article discusses the importance of using BSON and OSON formats for nested documents rather than flat structures. It critiques benchmarks that misuse these formats by comparing relational databases to document databases inappropriately. The author emphasizes that nested documents optimize data organization and querying efficiency.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 114176) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Franck Pachot Posted on May 30 BSON and OSON: documents are designed to be nested, not flat #document #database #oracle #mongodb I like vendors benchmarks as they are often good illustrations of worst practice. Rather than focusing on real implementation trade-offs, they pick an extreme case that favors their own implementation by chance but is not optimized in the competitor's — because it is simply not how that technology is meant to be used.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)