NoSQL Databases


                  By:
                  Ashish Karki
Definition

   Acronym stands for Not Only SQL.
   Designed for Distributed Databases
    with large data storing needs.
   Does not use SQL as its query
    language.
   Coined by Carlo Strozzi in the year
    1998
Important Characteristics

   Schema-free
   Horizontally-scalable
   Distributed and fault-tolerant
    architecture
   Non-compliance with ACID properties.
Categories
Categories          Description               Examples

Document Oriented   Data is stored as a set MongoDB, CouchDB
                    of documents
                    containing objects.
                    Follows JSON format to
                    store objects.

XML Based           Data is stored in XML     BaseX
                    format.

Graph Databases     Data is stored in nodes   Neo4j
                    connected by edges. A
                    node is analogous to
                    an object.

Key/Value store     Data is represented by    Cassandra, BigTable
                    key/value pairs. A key
                    maye string, hash or
                    list.
Who Uses NoSQL Databases

   Google: BigTable
   Facebook: Cassandra
   LinkedIn: Voldemort
   Amazon: DynamoDB
References

   http://www.w3resource.com/mongodb
    /nosql.php
   https://en.wikipedia.org/wiki/NoSQL
   http://newtech.about.com/od/databas
    emanagement/a/Nosql.htm
   Few other resources in internet.
Thank you

   Please direct any
    questions, corrections and comments
    in the comments section.

NoSQL Databases

  • 1.
    NoSQL Databases By: Ashish Karki
  • 2.
    Definition  Acronym stands for Not Only SQL.  Designed for Distributed Databases with large data storing needs.  Does not use SQL as its query language.  Coined by Carlo Strozzi in the year 1998
  • 3.
    Important Characteristics  Schema-free  Horizontally-scalable  Distributed and fault-tolerant architecture  Non-compliance with ACID properties.
  • 4.
    Categories Categories Description Examples Document Oriented Data is stored as a set MongoDB, CouchDB of documents containing objects. Follows JSON format to store objects. XML Based Data is stored in XML BaseX format. Graph Databases Data is stored in nodes Neo4j connected by edges. A node is analogous to an object. Key/Value store Data is represented by Cassandra, BigTable key/value pairs. A key maye string, hash or list.
  • 5.
    Who Uses NoSQLDatabases  Google: BigTable  Facebook: Cassandra  LinkedIn: Voldemort  Amazon: DynamoDB
  • 6.
    References  http://www.w3resource.com/mongodb /nosql.php  https://en.wikipedia.org/wiki/NoSQL  http://newtech.about.com/od/databas emanagement/a/Nosql.htm  Few other resources in internet.
  • 7.
    Thank you  Please direct any questions, corrections and comments in the comments section.

Editor's Notes

  • #3 >>Point 2>> Distributed database: one which stores massive amounts of data in many different locations and replicates a single block of data in several places in order to ensure fault-tolerance. Storing needs is in the scale of Terabytes or petabytes.>>Point 3>> Uses some API to view or update data. Example: MongoDB offers an interactive shell called mongo.(Uses sql like languages for example “Pig or Hive is used along side HBase”.)>>Point 4>>Strozzi used this term to name his Open Source, Light Weight, DataBase which did not have an SQL interface
  • #4 >>Schema-free: A schema (in RDBMS systems) describes the structure of tables and its fields. A NoSQL database consists of a collection of documents (where a document represents a row and the collection itself represents a table)>>Horizontally scalable: as many nodes (machines) can be added as required>>Distributed and fault tolerant architecture: employs distributed architecture to replicate and store redundant data in several machines. This also helps in horizontal scaling (or scaling out)>>Non-compliance with ACID properties: only one of consistency or atomicity can be guaranteed.
  • #5 This is a list of companies which have used NoSQL Databases for their production.