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.

Ask HN: Tradeoffs of using a nosql database?

3 pointsby smtlaissezfaireabout 15 years ago
I've been hearing a ton of advantages over using the various nosql solutions (primarily couchdb and mongo). What are the <i>disadvantages</i> to these DBs? Data duplication?

2 comments

_deliriumabout 15 years ago
One is that they don't support transactions in the conventional sense. They do support some simpler atomic-operation primitives, but generally not for multiple objects updated in the same atomic operation, and not including other fancy things like rolling back transactions.
bbastianabout 15 years ago
Well, with CouchDB, you have to pre-define all of your queries with "views". And the first time you call a view, it has to run your mapping function against -every- document in the database, which takes a ton of time.