2. Contents
Introduction to NOSQL
Why NOSQL?
Architecture
Examples of NOSQL database
NoSQL types
Real World Use
Conclusion
3. Basic Concepts
Database – is a organized collection of
data.
Data base Management System (DBMS)-
is a software package with computer
program.
Relational DBMS - It is collection of data
items organized as a set of formally
described table.
SQL-Special purpose programming
language designed for managing data in
4. NOSQL
“NOSQL” = “Not Only SQL” =
Not Only using traditional relational DBMS
Usually do not require a fixed table schema nor
do they use the concept of joins
Alternative to traditional relational DBMS
• Flexible schema
• Quicker/cheaper to set up
• Massive scalability
• Relaxed consistency higher performance &
availability
5.
6. Why NOSQL?
Every problem cannot be solved by
traditional relational database system
exclusively.
Handles huge databases.
Super flexible queries using map/reduce
Rapid development (no fixed schema)
Scale easily by adding servers
High-write situations (eg activity tracking
or timeline rendering for millions of users)
10. Documents
Documents are self contained,
aggregate data structures they consist
of attributes (name- value pairs)
attribute values have data types,which
can also be nested/hierarchical
12. Key-value
In a key-value store, a value is mapped
to a unique key to store data, supply
both key and value:
> store.set("user1234","...");
To retrieve a value, supply its key:
> value = store.get("user1234");
keys are organised in databases,
buckets,
keyspaces etc.
15. Real World Use
Cassandra
◦ Facebook (original developer, used it till late 2010)
◦ Twitter
◦ Digg
◦ Reddit
◦ Rackspace
◦ Cisco
BigTable
◦ Google (open-source version is HBase)
MongoDB
◦ Foursquare
◦ Craigslist
◦ Bit.ly
◦ SourceForge
◦ GitHub
16. Conclusion
NoSQL is a great problem solver
Choose your NoSQL platform carefully
as each is designed for specific
purpose
Get used to Map/Reduce