+ All Categories
Home > Documents > no sql ppt

no sql ppt

Date post: 23-Nov-2015
Category:
Upload: rukmini-vegesna
View: 35 times
Download: 5 times
Share this document with a friend
Description:
Describes about what is Nosql and different data models in NoSql Databases
Popular Tags:
37
Transcript

PowerPoint Presentation

What Is

Commonly used DataBase Management Systems

The change over from Flat File System Relational Databases

Relational DataBase StructureIDNamelnameSchool1234OmerNiahJamesSchool1235JamesParkerNJhigh schoolCustomer Table Relation Database:IDNamelnameSchool1234OmerNiahJamesSchoolIDNamelnameUniversity1235JamesParkerNJUniversityCustomer Table NoSQL:

Relational Databases NoSQL Databases

Structured Vs UnStructured Data

Pictures ,WebsiteSensors , Geo informationFinancial informationScientific , StocksMedicalinfinite sources

Rise in Internet and Sites with lots of Traffic

In order to handle this lot of traffic we need to Organise data by using Bigger Boxes

But , this has limitations:It costs a lotMemory limitations

In order to overcome Big Boxes problem we use lots of lots of little boxes

Little boxes are the commodity hardware.

Here comes main Problem: :SQL was designed to run on a single large system andDoesnt work well with Large Clusters of little boxes

Data Distribution in NoSql databasesNoSQL databases, the data is distributed over multiple storage nodes in the network by way of hashing algorithms.For each partition, there is a master and several copies. The updates always go to the master copy, and are then propagated to the other copies

14

Usage of Joins doesnt make database scalable.Transaction support and constraint support are to be implemented at application level

No SQL doesnt support ACID properties,It follows BASE model.BASE ::Basic Availability : The NoSQL database approach focuses on availability of data even in the presence of multiple failures.

NoSQL databases spread data across many storage systems with a high degree of replication.Soft State: One of the basic concepts behind BASE is that data consistency is the developer's problem and should not be handled by the database.Eventual Consistency : The only requirement that NoSQL databases have regarding consistency is to require that at some point in the future, data will converge to a consistent state.

Mostly used NoSQL databases

Key-Value Database:The main idea here is usinga hash table where there is a unique key and a pointer to a particular item of data.

The Key/value model is the simplest and easiest to implement.Examples:Tokyo Cabinet/Tyrant,Redis,Voldemort, Oracle BDB,Amazon SimpleDB,Riak

Document Databases:The semi-structured documents are stored in formats like JSON. Document databases are essentially the next level of Key/value, allowing nested values associated with each key.

Document databases support querying more efficiently.Examples:CouchDB,MongoDb

These were created to store and process very large amounts of data distributed over many machines. There are still keys but they point to multiple columns.

The columns are arranged by column family. Examples:Cassandra,HBase

Instead of tables of rows and columns and the rigid structure of SQL, a flexible graph model is used which, again, can scale across multiple machines.

NoSQL databases do not provide a high-level declarative query language like SQL to avoid overtime in processing.

Consistency means that data is the same across the cluster, so you can read or write to/from any node and get the same data

Availability means the ability to access the cluster even if a node in the cluster goes down.

Partition Tolerance means that the cluster continues to function even if there is a "partition" (communications break) between two nodes (both nodes are up, but can't communicate).


Recommended