330 likes | 1.72k Views
In this presentation, you will learn the major differences between SQL vs NoSQL. You will understand the basics of SQL and NoSQL, the popular SQL and No SQL databases, and the companies using them. <br>
E N D
What’s in It for You? • What is SQL? • What is Relational Database? • What is NoSQL? • What is Non-Relational Database? • Comparison between SQL and NoSQL • When to use SQL and NoSQL • Companies using SQL and NoSQL
What is SQL? SQL is a standard programming language used for operating Relational Databases Database Management System is an application software which is used to perform various operations on data Relational Database Structured Query Language All the processes are protected and secured, even data consistency is maintained during multiple users
What is NoSQL? NoSQL is a non–relational database, which does not process data in tabular form used in relational database Ṇon-Relational Database A Non-Relational database system encompasses a wide range of database technologies that can store structured, semi-structured, unstructured and polymorphic data Not Only SQL or Not SQL
NoSQL databases are called as Non-Relational or Distributed Databases SQL databases are called RDBMS or Relational Databases Definition
Structured Query Language is the standard language NoSQL possess no declarative query language Query Language
NoSQL databases can be document based, key-value pairs, graph databases SQL databases are table-based databases Type
NoSQL databases are horizontally scalable SQL databases are vertically scalable Scalability
NoSQL Databases comes into play where queries are not complex SQL databases comes into play for complex query intensive environment Usage
There are open source SQL databases PostgreSQL, MySQL and there are commercial ones like Oracle Database Since the inception, NoSQL databases are open source Open-Source
ACID MODEL • Atomicity • Consistency • Isolation • Durability • BASE Model • Basically Available • Soft State • Eventually Consistent Principle
When to use SQL? SQL is used to carry operations on RDBMS • SQL comes into practice when analysing behavioural related and customized sessions • SQL is used when creating custom dashboards SQL is preferred while executing complex queries
When to use NoSQL? • NoSQL Databases are preferred when ACID support is not required • Used when Traditional RDBMS is not enough • NoSQL is used when the data needs a flexible schema • Used when constraints and validation logic are not required to be implemented in the databases