Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NoSQL DataBases [closed]

For last several years I have noticed that interest to NoSQL DBs is increasing. A lot of new such DBs are released :

  • MongoDB
  • CouchDB
  • Memcachedb
  • memcached
  • Velocity
  • Cassandra
  • Tokyo Cabinet
  • etc..

What you think is it targeted to replace relational model and in general how do you see the future for NoSQL.

like image 721
Tamerlane Avatar asked Jan 20 '11 10:01

Tamerlane


2 Answers

Why NoSql (MongoDB)?

  1. Scalable and flexible datastore : This is the primary reason for moving away from relational database.

  2. Schema less : represent complex hierarchical relationships with a single record.

  3. Scaling Out: Partitioning data across more machine.

  4. Amazingly Fast : MongoDB uses a binary wire protocol as the primary mode of interaction with the server

    Features:

  5. Indexing with ease

  6. Stored Java Script

  7. Simple Administration (automatic fail over if master goes down in master-slave architecture)

MongoDB is powerful and attempts to keep many features from relational systems, it is not intended to do everything that a relational database does. Whenever possible, the database server offloads processing and logic to the client side.

like image 146
Tauquir Avatar answered Oct 23 '22 14:10

Tauquir


NoSQL systems such as MongoDB are those which are designed for incredibly data-intensive applications - Facebook for example created a NoSQL solution called Cassandra to handle the vast amounts of data they had. NoSQL is useful for those who are building highly scalable applications and helps to reduce the need for empty table columns by not enforcing a database schema, so for instance if you had a table in which you stored information about your friends, you wouldn't have to include the reading interests of one where you knew the reading interests of the other.

Relational databases do have their place, however NoSQL isn't really meant as a replacement, just as a different way of approaching the idea of data storage on a large scale. I would say that in the future more and more companies will begin using NoSQL solutions, but at the moment most people with small websites simply don't have need of a system designed to deal with such quantities of information.

Hope that helps!

like image 37
Tom Walters Avatar answered Oct 23 '22 13:10

Tom Walters