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: When to use NoSQL?

3 pointsby ashitvoraover 14 years ago
There's too much Buzz around NoSQL these days? But I'm still confused when to use NoSQL? Is NoSQL replacement of RDBMS? Or should it be used only in specific scenarios?<p>I've only tried CouchDB and had to write my own Map and Reduce function. Wondering how can it be faster than RDBMS query engine.

2 comments

roderover 14 years ago
When your data isn't relational and you're trying to store objects, then NoSQL is a pretty good choice.<p>ORM's have always kinda shoehorned objects into the RDBMS data model and the abstraction isn't always pretty.<p>With NoSQL, if you're just trying to store some cache or session objects and you need super high read/write time, NoSQL shines. If you have massive datasets, like "timeline statuses" and you need to search for the needle in the haystack, NoSQL (map reduce) shines.<p>If you're trying to analyze what region of the united states your product sells best to the 12-18 year old range, then RDBMS is usually the ticket.
评论 #1830627 未加载
Travisover 14 years ago
I'm about to build a feature for my startup that puts a widget on our customers' websites. The fields on their site need to be customizable by them. Sure, I could have a regular SQL table with `fieldname` and `value`, but that table will get crowded quickly.<p>So I think I'll use the schema-less aspect of NoSQL to try this out. NB: I haven't played w/ any implementations yet, so if someone out there wants to persuade me to go a different route, please do so!