Fighting bird分享 http://blog.sciencenet.cn/u/tonia

博文

NoSQL thoughts

已有 2450 次阅读 2010-4-1 15:42 |系统分类:科研笔记| database, NoSQL

Refer to : http://stackoverflow.com

Databases that do not fall into a neat grid. You don't have to specify which things are integers and strings and booleans, etc. These types of databases are more flexible, but they don't use SQL, because they are not structured that way.

The advantage of using a NoSQL database is that you don't have to know exactly what your data will look like ahead of time. Perhaps you have a Contacts table, but you don't know what kind of information you'll want to store about each contact. In a relational database, you need to make columns like "Name" and "Address". If you find out later on that you need a phone number, you have to add a column for that. There's no need for this kind of planning/structuring in a NoSQL database. There are also potential scaling advantages, but that is a bit controversial, so I won't make any claims there.

Disadvantages of NoSQL databases is really the lack of SQL. SQL is simple and ubiquitous. SQL allows you to slice and dice your data easier to get aggregate results, whereas it's a bit more complicated in NoSQL databases (you'll probably use things like MapReduce, for which there is a bit of a learning curve).

This ties into the ideas of ACID and CAP;

See presentation "NoSQL Databases" here: http://www.slideshare.net/jonmeredith/front-range-php-nosql-databases;

And explanation from wikipedia;

My thoughts on NoSQL from Eric Florenzano’s Blog;

(to be continued)





https://blog.sciencenet.cn/blog-425672-308017.html


下一篇:Modeling in NoSQL
收藏 IP: .*| 热度|

0

发表评论 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-17 12:26

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部