SlideShare a Scribd company logo
1 of 33
Download to read offline
SUBMITTED BY,
B.VINITHAMANI,
II MSC cs.
OVERVIEW OF NEW
SQL,COMPARING SQL,NOSQL AND
NEWSQL
NEW SQL CONTENT
qINTRODUCING NEW SQL
qARCHITECTURE
qDRAWBACK OF NEWSQL
Ø New SQL is a class of modern relational database
management system
Ø The same Scalable performance of NOSQL system for
Online transaction processing
Ø (read-write)workloads while still maintaining the
ACID guarantees of a traditional database system
WHAT IS NEW SQL
1. New architecture : volt DB,
2. SQL engine : Toku DB , Scale DB
3. Transparent Sharing : Scale base , db shards
WHY DO WE NEED NEWSQL:
qThe same scalable performance of NOSQL for OLTP ,
and still maintaining the ACID with relations and
SQL
NEW SQL CATEGORIES
qRead data without blocking update
qEach transaction keeps a snapshot
qBy reading the snapshot gets a consistent view of the
database
Time
MVCC
(multi version concurrency control)
Snapshot
 Provide concurrency control
 Traditional relational db concurrency control
2 phase looking
 New SQL DB concurrency control
 MVCC(multi version concurrency control)
1. Optimistic concurrency control
2. Basic timestamp concurrency control
3. t/o with partition-level locking
4. And others
EX:google spanner,voltDB,memSQL
ARCHITECTURE: NEW SQL
 Write latency
with the concurrency control , need more the time
to make sure the data is consistent
Can use in memory mechanism to help us reduce
latency , but restricted by memory size
DRAWBACK OF NEWSQL
 A database trends to watch
 New SQL is ACID complaint , SQLbased , scalable ,
distributed , highly available RDBMS system
 NEWSQL database are become more demanded due
to the rice of data-oriented industries
availability
consistency
Partition
tolerance
 SQL Standard
 SQL Characteristics
 SQL Database Examples
SQL DATABASES
The following is a short, incomplete history of the SQL
Standards – ISO/IEC 9075
 1987 – Initial ISO/IEC Standard
 1989 – Referential Integrity
 1992 – SQL2
 1995 SQL/CLI (ODBC)
 1996 SQL/PSM – Procedural Language extensions
 1999 – User Defined Types
 2003 – SQL/XML
 2008 – Expansions and corrections
 2011 (or 2012) System Versioned and Application Time
Period Tables
SQL STANDARDS
 Data stored in columns and tables
 Relationships represented by data
 Data Manipulation Language
 Data Definition Language
 Transactions
 Abstraction from physical layer
SQL CHARECTERISTICS
 Applications specify what, not how
 Query optimization engine
 Physical layer can change without modifying
applications
 Create indexes to support queries
 In Memory databases
SQL- PHYSICAL LAYER
ABSTRACTION
 Data manipulated with Select, Insert, Update, &
Delete statements
 Select T1.Column1, T2.Column2 …
From Table1, Table2 …
Where T1.Column1 = T2.Column1 …
 Data Aggregation
 Compound statements
 Functions and Procedures
 Explicit transaction control
DATA MINING LANGUAGE(DML)
 Schema defined at the start
 Create Table (Column1 Datatype1, Column2 Datatype
2, …)
 Constraints to define and enforce relationships
 Primary Key
 Foreign Key
 Etc.
 Triggers to respond to Insert, Update , & Delete
 Stored Modules
 Alter …
 Drop …
 Security and Access Control
DTA DEFINATION LANGUAGE
 Atomic – All of the work in a transaction completes
(commit) or none of it completes
 Consistent – A transaction transforms the database
from one consistent state to another consistent state.
Consistency is defined in terms of constraints.
 Isolated – The results of any changes made during a
transaction are not visible until the transaction has
committed.
 Durable – The results of a committed transaction
survive failures
TRANSACTIONS- ACID Properties
 Commercial
 IBM DB2
 Oracle RDMS
 Microsoft SQL Server
 Sybase SQL Anywhere
 Open Source (with commercial options)
 MySQL
 Ingres
Significant portions of the
world’s economy use SQL databases!
SQL DATABASE Examples
INTRODUCTION:
q They also use non-SQL languages and
mechanism to interact with data.
q NOSQL database system arose alongside major
internet companies , such as Google , Amazon and
face book .
NO SQL DATABASE
Strong consistency:
All clients see the same version of data.
Highly available:
Data always available , at least one copy of there
quested data even if one of the nodes is down.
Partition –Tolerance:
The total system keeps its characteristics even
when being deployed on different servers
CHARACTERISTICS OF NOSQL
DATABASE
ü Large scale data processing.
ü Exploratory analytics on semi-structure data
(export level).
ü Large volume data storage.
PRIMARY UESE OF NON SQL
DATABASE
CLASSIFICATION OF NOSQL
DATABASES
Key value databases
Column family
databases
Graphics databases
Documents databases
q This DMS store items as alpha-numeric
identifiers that refers to the key. Each key has
associated values.
q This value could be simple text strings or more
complex lists and sets.
q Search only performed against keys , and limited
to exact matches
KEY VALUE DATABASES
KEY VALUE DATA BASES:
Car
Key Attributes
1. Make: Nisan
Model: pathfinder
Color: green
Year: 2003
2. Make: Nisan
Model: pathfinder
Color: blue
Color: green
Year:2005
Transmission: auto
qDesigned to manage and store documents
qThese documents are encoded in a standard data
enhance format such as XML,JSON(java script option
notation) or BSON(binary JSON)
DOCUMENT DATABASES
Uses of documents:
Documents databases are good for storing
and managing Big Data-Size collections of literal
documents such as text documents email
messages
Collection of data
q It consist of a key-value pair where the value
consist of set of columns.
q The column family databases are represented in
tables , each key-value pair being a row.
q All the related data
can be grouped as one family.
COLUMN- FAMILY DATABASES
Uses of column family:
Large-scale , batch-oriented data processing.
Sorting , parsing , conversion:
- Conversions between hexadecimal , binary and
decimal code values
Exploratory and predictive analytics performed expert
statistics
1234
name Martin
Billing address Data
payment data
Odr 1001 Data
Odr 1002 Data
Odr 1003 Data
Odr 1004 data
Column key Column value
Row key
Graph database are useful when are you more interested
in relationship between data then the data itself and it
perfectly for social network.
GRAPH DATABASES
DIFFERENCE FOR SQL & NOSQL
SQL NOSQL
Relational database No-relational , distributed databases
Relational model Model-less approach
Pre- defined schema Dynamic schema for unstructured data
Uses SQL Uses Un SQL (Unstructured query
language)
Not preferred for large databases Largely preferred for large datasets
Emphasis on ACLD properties Follows browser’s CAP theorem
Excellent support from vendors Relies heavily on community support
Supports complex querying and data
keeping needs
Does not have good support for complex
querying
EX:Oracle,DB2,MySQL,MS SQL ,
PostgreSQL
EX:MonogoDB,Hbase,Cassandra,Radis,Ne
o4j,CouchDb,Couchbase,Risk Etc….
THANKYOU

More Related Content

What's hot

White jason presentation
White jason presentationWhite jason presentation
White jason presentationWhiteJason
 
SQL SERVER Training in Pune Slides
SQL SERVER Training in Pune SlidesSQL SERVER Training in Pune Slides
SQL SERVER Training in Pune Slidesenosislearningcom
 
SQL and NoSQL in SQL Server
SQL and NoSQL in SQL ServerSQL and NoSQL in SQL Server
SQL and NoSQL in SQL ServerMichael Rys
 
Database Architecture and Basic Concepts
Database Architecture and Basic ConceptsDatabase Architecture and Basic Concepts
Database Architecture and Basic ConceptsTony Wong
 
Homework help on oracle
Homework help on oracleHomework help on oracle
Homework help on oracleSteve Nash
 
MDF and LDF in SQL Server
MDF and LDF in SQL ServerMDF and LDF in SQL Server
MDF and LDF in SQL ServerMasum Reza
 
SQLPASS AD501-M XQuery MRys
SQLPASS AD501-M XQuery MRysSQLPASS AD501-M XQuery MRys
SQLPASS AD501-M XQuery MRysMichael Rys
 
WEB PROGRAMMING USING ASP.NET
WEB PROGRAMMING USING ASP.NETWEB PROGRAMMING USING ASP.NET
WEB PROGRAMMING USING ASP.NETDhruvVekariya3
 
MSBI with SQL Server T-SQL | Microsoft BI With Server T-SQL | Realtime Traini...
MSBI with SQL Server T-SQL | Microsoft BI With Server T-SQL | Realtime Traini...MSBI with SQL Server T-SQL | Microsoft BI With Server T-SQL | Realtime Traini...
MSBI with SQL Server T-SQL | Microsoft BI With Server T-SQL | Realtime Traini...SequelGate
 
Object relational database management system
Object relational database management systemObject relational database management system
Object relational database management systemSaibee Alam
 

What's hot (20)

Sql – pocket guide
Sql – pocket guideSql – pocket guide
Sql – pocket guide
 
Oracle archi ppt
Oracle archi pptOracle archi ppt
Oracle archi ppt
 
White jason presentation
White jason presentationWhite jason presentation
White jason presentation
 
SQL SERVER Training in Pune Slides
SQL SERVER Training in Pune SlidesSQL SERVER Training in Pune Slides
SQL SERVER Training in Pune Slides
 
SQL and NoSQL in SQL Server
SQL and NoSQL in SQL ServerSQL and NoSQL in SQL Server
SQL and NoSQL in SQL Server
 
Database Architecture and Basic Concepts
Database Architecture and Basic ConceptsDatabase Architecture and Basic Concepts
Database Architecture and Basic Concepts
 
Sql server basics
Sql server basicsSql server basics
Sql server basics
 
Homework help on oracle
Homework help on oracleHomework help on oracle
Homework help on oracle
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
MDF and LDF in SQL Server
MDF and LDF in SQL ServerMDF and LDF in SQL Server
MDF and LDF in SQL Server
 
SQLPASS AD501-M XQuery MRys
SQLPASS AD501-M XQuery MRysSQLPASS AD501-M XQuery MRys
SQLPASS AD501-M XQuery MRys
 
WEB PROGRAMMING USING ASP.NET
WEB PROGRAMMING USING ASP.NETWEB PROGRAMMING USING ASP.NET
WEB PROGRAMMING USING ASP.NET
 
MSBI with SQL Server T-SQL | Microsoft BI With Server T-SQL | Realtime Traini...
MSBI with SQL Server T-SQL | Microsoft BI With Server T-SQL | Realtime Traini...MSBI with SQL Server T-SQL | Microsoft BI With Server T-SQL | Realtime Traini...
MSBI with SQL Server T-SQL | Microsoft BI With Server T-SQL | Realtime Traini...
 
Object relational database management system
Object relational database management systemObject relational database management system
Object relational database management system
 
Introduction to (sql)
Introduction to (sql)Introduction to (sql)
Introduction to (sql)
 
oracle
oracleoracle
oracle
 
Databases
DatabasesDatabases
Databases
 
My sql vs sql
My sql vs sqlMy sql vs sql
My sql vs sql
 
Sql Server Basics
Sql Server BasicsSql Server Basics
Sql Server Basics
 
Software Database and Testing
Software Database and TestingSoftware Database and Testing
Software Database and Testing
 

Similar to B.Vinithamani,II-M.sc.,Computer science,Bon Secours college for women,thanjavur.

Big data technology unit 3
Big data technology unit 3Big data technology unit 3
Big data technology unit 3RojaT4
 
DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3YOGESH SINGH
 
NewSQL - Deliverance from BASE and back to SQL and ACID
NewSQL - Deliverance from BASE and back to SQL and ACIDNewSQL - Deliverance from BASE and back to SQL and ACID
NewSQL - Deliverance from BASE and back to SQL and ACIDTony Rogerson
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Databasepuja_dhar
 
Sql vs NoSQL-Presentation
 Sql vs NoSQL-Presentation Sql vs NoSQL-Presentation
Sql vs NoSQL-PresentationShubham Tomar
 
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangaloreOracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangaloreTIB Academy
 
Ralph Kemperdick – IT-Tage 2015 – Microsoft Azure als Datenplattform
Ralph Kemperdick – IT-Tage 2015 – Microsoft Azure als DatenplattformRalph Kemperdick – IT-Tage 2015 – Microsoft Azure als Datenplattform
Ralph Kemperdick – IT-Tage 2015 – Microsoft Azure als DatenplattformInformatik Aktuell
 
Lecture 4-RDBMS.pptx
Lecture 4-RDBMS.pptxLecture 4-RDBMS.pptx
Lecture 4-RDBMS.pptxRUBAB79
 
Azure Data Fundamentals DP 900 Full Course
Azure Data Fundamentals DP 900 Full CourseAzure Data Fundamentals DP 900 Full Course
Azure Data Fundamentals DP 900 Full CoursePiyush sachdeva
 
SQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredSQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredDanish Mehraj
 
Amazon Web Services (Database)
Amazon Web Services (Database)Amazon Web Services (Database)
Amazon Web Services (Database)Nishant Bhardwaj
 
Assignment_4
Assignment_4Assignment_4
Assignment_4Kirti J
 
No sql bigdata and postgresql
No sql bigdata and postgresqlNo sql bigdata and postgresql
No sql bigdata and postgresqlZaid Shabbir
 

Similar to B.Vinithamani,II-M.sc.,Computer science,Bon Secours college for women,thanjavur. (20)

Sql
SqlSql
Sql
 
Big data technology unit 3
Big data technology unit 3Big data technology unit 3
Big data technology unit 3
 
DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3
 
NewSQL - Deliverance from BASE and back to SQL and ACID
NewSQL - Deliverance from BASE and back to SQL and ACIDNewSQL - Deliverance from BASE and back to SQL and ACID
NewSQL - Deliverance from BASE and back to SQL and ACID
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Database
 
Sql vs NoSQL-Presentation
 Sql vs NoSQL-Presentation Sql vs NoSQL-Presentation
Sql vs NoSQL-Presentation
 
SQL & NoSQL
SQL & NoSQLSQL & NoSQL
SQL & NoSQL
 
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangaloreOracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
 
Ralph Kemperdick – IT-Tage 2015 – Microsoft Azure als Datenplattform
Ralph Kemperdick – IT-Tage 2015 – Microsoft Azure als DatenplattformRalph Kemperdick – IT-Tage 2015 – Microsoft Azure als Datenplattform
Ralph Kemperdick – IT-Tage 2015 – Microsoft Azure als Datenplattform
 
nosql.pptx
nosql.pptxnosql.pptx
nosql.pptx
 
Lecture 4-RDBMS.pptx
Lecture 4-RDBMS.pptxLecture 4-RDBMS.pptx
Lecture 4-RDBMS.pptx
 
Nosql seminar
Nosql seminarNosql seminar
Nosql seminar
 
Azure Data Fundamentals DP 900 Full Course
Azure Data Fundamentals DP 900 Full CourseAzure Data Fundamentals DP 900 Full Course
Azure Data Fundamentals DP 900 Full Course
 
No sq lv2
No sq lv2No sq lv2
No sq lv2
 
SQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredSQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics Covered
 
Amazon Web Services (Database)
Amazon Web Services (Database)Amazon Web Services (Database)
Amazon Web Services (Database)
 
Sql vs no sql
Sql vs no sqlSql vs no sql
Sql vs no sql
 
Rise of NewSQL
Rise of NewSQLRise of NewSQL
Rise of NewSQL
 
Assignment_4
Assignment_4Assignment_4
Assignment_4
 
No sql bigdata and postgresql
No sql bigdata and postgresqlNo sql bigdata and postgresql
No sql bigdata and postgresql
 

Recently uploaded

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 

Recently uploaded (20)

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 

B.Vinithamani,II-M.sc.,Computer science,Bon Secours college for women,thanjavur.

  • 1. SUBMITTED BY, B.VINITHAMANI, II MSC cs. OVERVIEW OF NEW SQL,COMPARING SQL,NOSQL AND NEWSQL
  • 2. NEW SQL CONTENT qINTRODUCING NEW SQL qARCHITECTURE qDRAWBACK OF NEWSQL
  • 3. Ø New SQL is a class of modern relational database management system Ø The same Scalable performance of NOSQL system for Online transaction processing Ø (read-write)workloads while still maintaining the ACID guarantees of a traditional database system WHAT IS NEW SQL
  • 4. 1. New architecture : volt DB, 2. SQL engine : Toku DB , Scale DB 3. Transparent Sharing : Scale base , db shards WHY DO WE NEED NEWSQL: qThe same scalable performance of NOSQL for OLTP , and still maintaining the ACID with relations and SQL NEW SQL CATEGORIES
  • 5. qRead data without blocking update qEach transaction keeps a snapshot qBy reading the snapshot gets a consistent view of the database Time MVCC (multi version concurrency control) Snapshot
  • 6.  Provide concurrency control  Traditional relational db concurrency control 2 phase looking  New SQL DB concurrency control  MVCC(multi version concurrency control) 1. Optimistic concurrency control 2. Basic timestamp concurrency control 3. t/o with partition-level locking 4. And others EX:google spanner,voltDB,memSQL ARCHITECTURE: NEW SQL
  • 7.  Write latency with the concurrency control , need more the time to make sure the data is consistent Can use in memory mechanism to help us reduce latency , but restricted by memory size DRAWBACK OF NEWSQL
  • 8.  A database trends to watch  New SQL is ACID complaint , SQLbased , scalable , distributed , highly available RDBMS system  NEWSQL database are become more demanded due to the rice of data-oriented industries availability consistency Partition tolerance
  • 9.  SQL Standard  SQL Characteristics  SQL Database Examples SQL DATABASES
  • 10. The following is a short, incomplete history of the SQL Standards – ISO/IEC 9075  1987 – Initial ISO/IEC Standard  1989 – Referential Integrity  1992 – SQL2  1995 SQL/CLI (ODBC)  1996 SQL/PSM – Procedural Language extensions  1999 – User Defined Types  2003 – SQL/XML  2008 – Expansions and corrections  2011 (or 2012) System Versioned and Application Time Period Tables SQL STANDARDS
  • 11.  Data stored in columns and tables  Relationships represented by data  Data Manipulation Language  Data Definition Language  Transactions  Abstraction from physical layer SQL CHARECTERISTICS
  • 12.  Applications specify what, not how  Query optimization engine  Physical layer can change without modifying applications  Create indexes to support queries  In Memory databases SQL- PHYSICAL LAYER ABSTRACTION
  • 13.  Data manipulated with Select, Insert, Update, & Delete statements  Select T1.Column1, T2.Column2 … From Table1, Table2 … Where T1.Column1 = T2.Column1 …  Data Aggregation  Compound statements  Functions and Procedures  Explicit transaction control DATA MINING LANGUAGE(DML)
  • 14.  Schema defined at the start  Create Table (Column1 Datatype1, Column2 Datatype 2, …)  Constraints to define and enforce relationships  Primary Key  Foreign Key  Etc.  Triggers to respond to Insert, Update , & Delete  Stored Modules  Alter …  Drop …  Security and Access Control DTA DEFINATION LANGUAGE
  • 15.  Atomic – All of the work in a transaction completes (commit) or none of it completes  Consistent – A transaction transforms the database from one consistent state to another consistent state. Consistency is defined in terms of constraints.  Isolated – The results of any changes made during a transaction are not visible until the transaction has committed.  Durable – The results of a committed transaction survive failures TRANSACTIONS- ACID Properties
  • 16.  Commercial  IBM DB2  Oracle RDMS  Microsoft SQL Server  Sybase SQL Anywhere  Open Source (with commercial options)  MySQL  Ingres Significant portions of the world’s economy use SQL databases! SQL DATABASE Examples
  • 17. INTRODUCTION: q They also use non-SQL languages and mechanism to interact with data. q NOSQL database system arose alongside major internet companies , such as Google , Amazon and face book . NO SQL DATABASE
  • 18. Strong consistency: All clients see the same version of data. Highly available: Data always available , at least one copy of there quested data even if one of the nodes is down. Partition –Tolerance: The total system keeps its characteristics even when being deployed on different servers CHARACTERISTICS OF NOSQL DATABASE
  • 19. ü Large scale data processing. ü Exploratory analytics on semi-structure data (export level). ü Large volume data storage. PRIMARY UESE OF NON SQL DATABASE
  • 20. CLASSIFICATION OF NOSQL DATABASES Key value databases Column family databases Graphics databases Documents databases
  • 21.
  • 22. q This DMS store items as alpha-numeric identifiers that refers to the key. Each key has associated values. q This value could be simple text strings or more complex lists and sets. q Search only performed against keys , and limited to exact matches KEY VALUE DATABASES
  • 23. KEY VALUE DATA BASES: Car Key Attributes 1. Make: Nisan Model: pathfinder Color: green Year: 2003 2. Make: Nisan Model: pathfinder Color: blue Color: green Year:2005 Transmission: auto
  • 24. qDesigned to manage and store documents qThese documents are encoded in a standard data enhance format such as XML,JSON(java script option notation) or BSON(binary JSON) DOCUMENT DATABASES
  • 25. Uses of documents: Documents databases are good for storing and managing Big Data-Size collections of literal documents such as text documents email messages Collection of data
  • 26. q It consist of a key-value pair where the value consist of set of columns. q The column family databases are represented in tables , each key-value pair being a row. q All the related data can be grouped as one family. COLUMN- FAMILY DATABASES
  • 27. Uses of column family: Large-scale , batch-oriented data processing. Sorting , parsing , conversion: - Conversions between hexadecimal , binary and decimal code values Exploratory and predictive analytics performed expert statistics
  • 28. 1234 name Martin Billing address Data payment data Odr 1001 Data Odr 1002 Data Odr 1003 Data Odr 1004 data Column key Column value Row key
  • 29. Graph database are useful when are you more interested in relationship between data then the data itself and it perfectly for social network. GRAPH DATABASES
  • 30.
  • 32. SQL NOSQL Relational database No-relational , distributed databases Relational model Model-less approach Pre- defined schema Dynamic schema for unstructured data Uses SQL Uses Un SQL (Unstructured query language) Not preferred for large databases Largely preferred for large datasets Emphasis on ACLD properties Follows browser’s CAP theorem Excellent support from vendors Relies heavily on community support Supports complex querying and data keeping needs Does not have good support for complex querying EX:Oracle,DB2,MySQL,MS SQL , PostgreSQL EX:MonogoDB,Hbase,Cassandra,Radis,Ne o4j,CouchDb,Couchbase,Risk Etc….