TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why NoSQL Databases Are the Wrong Tool for Modern Applications

2 pointsby jaxonduover 6 years ago

1 comment

tracker1over 6 years ago
I have one niggle on schema-less. The fact is, the database probably shouldn&#x27;t care about the shape&#x2F;schema of the data in some cases. That&#x27;s what application logic is for. If you want to support multiple payment gateways, do you <i>REALLY</i> want to create a half dozen or more connected tables to store the transaction details? Oh, this table is for transactions from Paypal. This one is for Authorize.Net. Or add a Transactions table with the common bits as typed columns and a json field NVARCHAR(MAX)?<p>There are times to pragmatically make choices. Joins, and subqueries have costs, and they become more so at scale. In the end it&#x27;s frustrating to have to debate&#x2F;fight for a simpler solution because the lessons and positive points of the last decade were never learned.