SlideShare a Scribd company logo
June 26, 2017 www.snipe.co.in 1
Prepared : Snipe Team
June 26, 2017 2
SQL standard,
implementations,
Comparison
June 26, 2017 3
Agenda
•Database Introduction
•Different SQL standard and implementations
- MySql
- SQL Server
- Oracle DB
- PostgreSQL
• Comparison
•Statistics
June 26, 2017 4
Database introduction
•A database is structured collection of data.
•Databases may be stored on a computer and examined using a program
•These programs are called database management systems (DMS)
•Relational database: a database structured to recognize relations between
stored items of information
•An object-relational database (ORD), or object-relational database management
system (ORDBMS), is a database management system (DBMS) similar to a
relational database, but with an object-oriented database model: objects, classes
and inheritance are directly supported in database schemas and in the query
language.
June 26, 2017 5
MySql
Mysql
• Is a Relational Database Management System
• MySQL is written in C and C++
• Its SQL parser is written in yacc
• The first version of MySQL appeared on 23 May 1995
• MySQL is offered under two different editions: the open source MySQL
Community Server and the proprietary Enterprise Server
June 26, 2017 6
MySql
Limitations
•MySQL does not currently comply with the full SQL standard for some of the
implemented functionality
•Up until MySQL 5.7, triggers are limited to one per action / timing
•No triggers can be defined on views
•MySQL database's inbuilt functions like UNIX_TIMESTAMP() will return 0
after 03:14:07 UTC on 19 January 2038
June 26, 2017 7
Mysql Server
• Is a relational database management system developed by Microsoft
•As a database server, it is a software product with the primary function of
storing and retrieving data as requested by other software applications which
may run either on the same computer or on another computer across a network
(including the Internet).
•SQL Server uses as its primary query languages T-SQL and ANSI SQL
•Azure SQL Database is the cloud-based version of Microsoft SQL Server,
presented as a platform as a service offering on Microsoft Azure
June 26, 2017 8
Mysql Server
•
•Data storage is a database, which is a collection of tables with typed columns
•Microsoft SQL Server also allows user-defined composite types (UDTs) to be
defined and used
•SQL Server buffers pages in RAM to minimize disc I/O
June 26, 2017 9
Oracle DB
• Oracle Database (commonly referred to as Oracle RDBMS or simply
as Oracle) is an object-relational database management system produced
and marketed by Oracle Corporation
•An Oracle database system—identified by an alphanumeric system identifier or
SID—comprises at least one instance of the application, along with data storage
•The Oracle DBMS can store and execute stored procedures and functions within
itself
•The Oracle RDBMS stores data logically in the form of tablespaces and
physically in the form of data files
June 26, 2017 10
Oracle DB
• The partitioning feature was introduced in Oracle 8
•This allows the partitioning of tables based on different set of keys.
•Specific partitions can then be easily added or dropped to help manage large
data sets.
•Oracle database management tracks its computer data storage with the help of
information stored in the SYSTEM tablespace
•The SYSTEM tablespace contains the data dictionary—and often (by
default) indexesand clusters
June 26, 2017 11
PostgreSql
• is an object-relational database management system (ORDBMS) with an
emphasis on extensibility and on standards-compliance
• PostgreSQL implements the majority of the SQL:2011 standard
• handles complex SQL queries using many indexing methods that are not available
in other databases
•PostgreSQL is cross-platform and runs on many operating systems including
Linux, FreeBSD, Solaris, and Microsoft Windows
• It is free and open-source software, released under the terms of the
PostgreSQL License, a permissive free-software license
June 26, 2017 12
PostgreSql
• PostgreSQL manages its internal security on a per-role basis
• The sepgsql extension (provided with PostgreSQL as of version 9.1) provides an
additional layer of security by integrating with SELinux
• Current version 9.4 released on 2015-06-12 (JSONB data type, ALTER
SYSTEM statement for changing config values, refresh materialized views
without blocking reads)
June 26, 2017 13
Comparison
Feature MS SQL
Server
Oracle Mysql PostgreSQL
License Commercial
software
Commercial
software
Free/open
source
Free/open
source
Server-side
scripts
Transact-SQL &
.NET lang.
PL/SQL ---- User defined
functions
OS support Only windows All except
BSD
All All
Maintainer/
developed
by
Microsoft Oracle
corporation
Oracle
Corporation
PostgreSQL
Global
Development
Group
Interface GUI, SQL API, GUI,
SQL
GUI, SQL API, GUI,
SQL
June 26, 2017 14
Comparison
Feature MS SQL
Server
Oracle Mysql PostgreSQL
ACID
properties
Supports Supports Supports Supports
Auto-increment
columns
Yes No Yes Yes
(SERIAL
data type)
Automatic
conversion of
code pages
No Yes No No
Sql variant Fast
standard
Fast
standard
Slow
standard
Fast
standard
June 26, 2017 15
Statistics
According to CD Times magazine dated July 1, 2004
Top Deployed Databases poll shows following databases in use:
SQL Server with 78%, Oracle - 55%, MySQL - 33% and PostgreSQL - 8%.
June 26, 2017 16
Statistics
In 2009, in a survey, total votes received are 1,697.
SQL Server – 1,121 – 64%,Oracle – 432 – 25%,
MySQL – 144 – 8% ,Other – 64 – 4%.
Other includes PostgreSQL with 12 votes
June 26, 2017 17
Statistics

More Related Content

PPT
Installer benchmarking
PPTX
DAC 2012
PDF
20090425mysqlslides 12593434194072-phpapp02
PPTX
MS DevDay - SQLServer 2014 for Developers
PPTX
iForum 2015: SQL vs. NoSQL
PPTX
SQL vs. NoSQL. It's always a hard choice.
PPTX
SQL Explore 2012 - Meir Dudai: DAC
PPTX
MySQL enterprise edition
Installer benchmarking
DAC 2012
20090425mysqlslides 12593434194072-phpapp02
MS DevDay - SQLServer 2014 for Developers
iForum 2015: SQL vs. NoSQL
SQL vs. NoSQL. It's always a hard choice.
SQL Explore 2012 - Meir Dudai: DAC
MySQL enterprise edition

What's hot (20)

PPTX
Products.intro.forum version
PPTX
SQLite - Overview
PDF
Windows azure sql_database_security_isug012013
PPTX
Sq lite presentation
PDF
SQL vs NoSQL: Big Data Adoption & Success in the Enterprise
PPTX
A brief introduction to SQLite PPT
PDF
SQLite3
PPTX
Rising Interest in Open Source Relational Databases
PDF
Getting Started with SQLite
PDF
Sql data base
PPTX
What is NoSQL and CAP Theorem
PDF
Using extended events for troubleshooting sql server
PPTX
Build an Intelligent Bot
PPTX
SQLite: Light, Open Source Relational Database Management System
PDF
Orchestrating MySQL
PPTX
Case study on mysql in rdbms
PPT
Cloudant Overview Bluemix Meetup from Lisa Neddam
PPTX
Introduction to couchbase
PDF
Tech ED 2014 Running Oracle Databases and Application Servers on Azurev1
DOCX
Sql vs NO-SQL database differences explained
Products.intro.forum version
SQLite - Overview
Windows azure sql_database_security_isug012013
Sq lite presentation
SQL vs NoSQL: Big Data Adoption & Success in the Enterprise
A brief introduction to SQLite PPT
SQLite3
Rising Interest in Open Source Relational Databases
Getting Started with SQLite
Sql data base
What is NoSQL and CAP Theorem
Using extended events for troubleshooting sql server
Build an Intelligent Bot
SQLite: Light, Open Source Relational Database Management System
Orchestrating MySQL
Case study on mysql in rdbms
Cloudant Overview Bluemix Meetup from Lisa Neddam
Introduction to couchbase
Tech ED 2014 Running Oracle Databases and Application Servers on Azurev1
Sql vs NO-SQL database differences explained
Ad

Similar to Sql implementations (20)

PPTX
Relational RDBMS : MySQL, PostgreSQL and SQL SERVER
PDF
Latest trends in database management
PPTX
Database software
PDF
Postgres_9.0 vs MySQL_5.5
PPTX
Rdbms
PDF
🐬 The future of MySQL is Postgres 🐘
PPTX
An Introduction To Oracle Database
PDF
Heterogeneous Data - Published
PDF
The Evolution of Open Source Databases
PPTX
Database system
PDF
PostgreSQL and MySQL
PPTX
Gs08 modernize your data platform with sql technologies wash dc
PDF
Dbms assignment no.1
PPTX
Brk3288 sql server v.next with support on linux, windows and containers was...
PDF
Compare the capabilities of the Microsoft Access, Microsoft SQL Serv.pdf
PPTX
CIS3050_Presentation MS SQL vs. MySQL vs. Oracle
PPTX
Chjkkkkkkkkkkkkkkkkkjjjjjjjjjjjjjjjjjjjjjjjjjj01_The Basics.pptx
PDF
Postgres database Ibrahem Batta
PDF
B.Vinithamani,II-M.sc.,Computer science,Bon Secours college for women,thanjavur.
PPTX
Major Relational Database Management Systems...
Relational RDBMS : MySQL, PostgreSQL and SQL SERVER
Latest trends in database management
Database software
Postgres_9.0 vs MySQL_5.5
Rdbms
🐬 The future of MySQL is Postgres 🐘
An Introduction To Oracle Database
Heterogeneous Data - Published
The Evolution of Open Source Databases
Database system
PostgreSQL and MySQL
Gs08 modernize your data platform with sql technologies wash dc
Dbms assignment no.1
Brk3288 sql server v.next with support on linux, windows and containers was...
Compare the capabilities of the Microsoft Access, Microsoft SQL Serv.pdf
CIS3050_Presentation MS SQL vs. MySQL vs. Oracle
Chjkkkkkkkkkkkkkkkkkjjjjjjjjjjjjjjjjjjjjjjjjjj01_The Basics.pptx
Postgres database Ibrahem Batta
B.Vinithamani,II-M.sc.,Computer science,Bon Secours college for women,thanjavur.
Major Relational Database Management Systems...
Ad

More from Mallikarjuna G D (20)

PPTX
PPTX
Bootstrap 5 ppt
PPTX
Angular 2.0
PPTX
Spring andspringboot training
PPTX
Hibernate
PPT
Jspprogramming
PPT
Servlet programming
PPT
Servlet programming
PPTX
Mmg logistics edu-final
PPTX
Interview preparation net_asp_csharp
PPTX
Interview preparation devops
PPTX
Interview preparation testing
PPTX
Interview preparation data_science
PPTX
Interview preparation full_stack_java
PPTX
Enterprunership
PPTX
Core java
PPTX
Type script
PPTX
Angularj2.0
PPTX
Git Overview
Bootstrap 5 ppt
Angular 2.0
Spring andspringboot training
Hibernate
Jspprogramming
Servlet programming
Servlet programming
Mmg logistics edu-final
Interview preparation net_asp_csharp
Interview preparation devops
Interview preparation testing
Interview preparation data_science
Interview preparation full_stack_java
Enterprunership
Core java
Type script
Angularj2.0
Git Overview

Recently uploaded (20)

PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Lesson notes of climatology university.
PDF
Insiders guide to clinical Medicine.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Cell Types and Its function , kingdom of life
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
GDM (1) (1).pptx small presentation for students
Microbial diseases, their pathogenesis and prophylaxis
Lesson notes of climatology university.
Insiders guide to clinical Medicine.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
O7-L3 Supply Chain Operations - ICLT Program
Cell Types and Its function , kingdom of life
STATICS OF THE RIGID BODIES Hibbelers.pdf
Basic Mud Logging Guide for educational purpose
Final Presentation General Medicine 03-08-2024.pptx
Microbial disease of the cardiovascular and lymphatic systems
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
VCE English Exam - Section C Student Revision Booklet
Anesthesia in Laparoscopic Surgery in India
human mycosis Human fungal infections are called human mycosis..pptx
TR - Agricultural Crops Production NC III.pdf
Classroom Observation Tools for Teachers
PPH.pptx obstetrics and gynecology in nursing
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Supply Chain Operations Speaking Notes -ICLT Program
GDM (1) (1).pptx small presentation for students

Sql implementations

  • 1. June 26, 2017 www.snipe.co.in 1 Prepared : Snipe Team
  • 2. June 26, 2017 2 SQL standard, implementations, Comparison
  • 3. June 26, 2017 3 Agenda •Database Introduction •Different SQL standard and implementations - MySql - SQL Server - Oracle DB - PostgreSQL • Comparison •Statistics
  • 4. June 26, 2017 4 Database introduction •A database is structured collection of data. •Databases may be stored on a computer and examined using a program •These programs are called database management systems (DMS) •Relational database: a database structured to recognize relations between stored items of information •An object-relational database (ORD), or object-relational database management system (ORDBMS), is a database management system (DBMS) similar to a relational database, but with an object-oriented database model: objects, classes and inheritance are directly supported in database schemas and in the query language.
  • 5. June 26, 2017 5 MySql Mysql • Is a Relational Database Management System • MySQL is written in C and C++ • Its SQL parser is written in yacc • The first version of MySQL appeared on 23 May 1995 • MySQL is offered under two different editions: the open source MySQL Community Server and the proprietary Enterprise Server
  • 6. June 26, 2017 6 MySql Limitations •MySQL does not currently comply with the full SQL standard for some of the implemented functionality •Up until MySQL 5.7, triggers are limited to one per action / timing •No triggers can be defined on views •MySQL database's inbuilt functions like UNIX_TIMESTAMP() will return 0 after 03:14:07 UTC on 19 January 2038
  • 7. June 26, 2017 7 Mysql Server • Is a relational database management system developed by Microsoft •As a database server, it is a software product with the primary function of storing and retrieving data as requested by other software applications which may run either on the same computer or on another computer across a network (including the Internet). •SQL Server uses as its primary query languages T-SQL and ANSI SQL •Azure SQL Database is the cloud-based version of Microsoft SQL Server, presented as a platform as a service offering on Microsoft Azure
  • 8. June 26, 2017 8 Mysql Server • •Data storage is a database, which is a collection of tables with typed columns •Microsoft SQL Server also allows user-defined composite types (UDTs) to be defined and used •SQL Server buffers pages in RAM to minimize disc I/O
  • 9. June 26, 2017 9 Oracle DB • Oracle Database (commonly referred to as Oracle RDBMS or simply as Oracle) is an object-relational database management system produced and marketed by Oracle Corporation •An Oracle database system—identified by an alphanumeric system identifier or SID—comprises at least one instance of the application, along with data storage •The Oracle DBMS can store and execute stored procedures and functions within itself •The Oracle RDBMS stores data logically in the form of tablespaces and physically in the form of data files
  • 10. June 26, 2017 10 Oracle DB • The partitioning feature was introduced in Oracle 8 •This allows the partitioning of tables based on different set of keys. •Specific partitions can then be easily added or dropped to help manage large data sets. •Oracle database management tracks its computer data storage with the help of information stored in the SYSTEM tablespace •The SYSTEM tablespace contains the data dictionary—and often (by default) indexesand clusters
  • 11. June 26, 2017 11 PostgreSql • is an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance • PostgreSQL implements the majority of the SQL:2011 standard • handles complex SQL queries using many indexing methods that are not available in other databases •PostgreSQL is cross-platform and runs on many operating systems including Linux, FreeBSD, Solaris, and Microsoft Windows • It is free and open-source software, released under the terms of the PostgreSQL License, a permissive free-software license
  • 12. June 26, 2017 12 PostgreSql • PostgreSQL manages its internal security on a per-role basis • The sepgsql extension (provided with PostgreSQL as of version 9.1) provides an additional layer of security by integrating with SELinux • Current version 9.4 released on 2015-06-12 (JSONB data type, ALTER SYSTEM statement for changing config values, refresh materialized views without blocking reads)
  • 13. June 26, 2017 13 Comparison Feature MS SQL Server Oracle Mysql PostgreSQL License Commercial software Commercial software Free/open source Free/open source Server-side scripts Transact-SQL & .NET lang. PL/SQL ---- User defined functions OS support Only windows All except BSD All All Maintainer/ developed by Microsoft Oracle corporation Oracle Corporation PostgreSQL Global Development Group Interface GUI, SQL API, GUI, SQL GUI, SQL API, GUI, SQL
  • 14. June 26, 2017 14 Comparison Feature MS SQL Server Oracle Mysql PostgreSQL ACID properties Supports Supports Supports Supports Auto-increment columns Yes No Yes Yes (SERIAL data type) Automatic conversion of code pages No Yes No No Sql variant Fast standard Fast standard Slow standard Fast standard
  • 15. June 26, 2017 15 Statistics According to CD Times magazine dated July 1, 2004 Top Deployed Databases poll shows following databases in use: SQL Server with 78%, Oracle - 55%, MySQL - 33% and PostgreSQL - 8%.
  • 16. June 26, 2017 16 Statistics In 2009, in a survey, total votes received are 1,697. SQL Server – 1,121 – 64%,Oracle – 432 – 25%, MySQL – 144 – 8% ,Other – 64 – 4%. Other includes PostgreSQL with 12 votes
  • 17. June 26, 2017 17 Statistics

Editor's Notes

  • #15: ACID: Atomicity, Consistency, Isolation, Durability