TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Tradeoffs of using a nosql database?

3 点作者 smtlaissezfaire大约 15 年前
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 条评论

_delirium大约 15 年前
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.
bbastian大约 15 年前
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.