SlideShare a Scribd company logo
1 of 45
Download to read offline
The Great Debate:
PostgreSQL versus MySQL
Jim Mlodgenski
VP, Technical Services
EnterpriseDB
Agenda

•   Open Source Database Trends
•   PostgreSQL Strengths
•   PostgreSQL Weaknesses
•   MySQL Strengths
•   MySQL Weaknesses
•   Application Types
•   About EnterpriseDB
Agenda

•   Open Source Database Trends
•   PostgreSQL Strengths
•   PostgreSQL Weaknesses
•   MySQL Strengths
•   MySQL Weaknesses
•   Application Types
•   About EnterpriseDB
Open Source Database Trends
Open Source Database Trends (cont.)
Open Source Database Trends (cont.)
Open Source Database Trends (cont.)


 Battle for Open Source Database Dominance
Open Source Database Trends (cont.)


          Battle for Database Dominance
Agenda

•   Open Source Database Trends
•   PostgreSQL Strengths
•   PostgreSQL Weaknesses
•   MySQL Strengths
•   MySQL Weaknesses
•   Application Types
•   About EnterpriseDB
PostgreSQL Strengths

• Strong Advanced Feature Support



  – Triggers, Stored Procedures, Rules
  – Server side languages
       • SQL, Java, Ruby, Perl, Python, TCL, etc
  –   Point in Time Recovery
  –   Table partitioning
  –   Transactional DDL
  –   Table Inheritance
PostgreSQL Strengths (cont.)

• Strong Security
 •   Object Level Privileges assigned to “Roles & User”.

 •   Kerberos + SSL communication.

 •   Data Level Encryption (AES, 3DES, etc)

 •   Ability to utilise 3rd party Key Stores in a full PKI
     infrastructure

 •   Foundation for full compliance with some of the strictest of
     security standards (PCI Data Security Standard).

           “By default PostgreSQL is probably the most security-aware database
               available”
           David Litchfield - The Database Hackers Handbook
PostgreSQL Strengths (cont.)

• Data Integrity
   –   Multi Version Concurrency Control
   –   Write Ahead Logging
   –   Online Backup
   –   Foreign Keys
   –   Constraints
PostgreSQL Strengths (cont.)

• Flexible BSD license

   – Corporate IT developers can modify open source
     code under the BSD license without having to
     contribute back enhancements

   – Independent Software Vendors are free to
     redistribute without the fear of being “infected” by an
     open source license
PostgreSQL Strengths (cont.)

• Strong Open Source Community
   – Independent & Thriving Development Community
       • 10 committers and ~200 reviewers
       • 1,500 contributors and 10,000+ members
       • 2,000,000+ downloads




   – 20 years of enterprise-class development
Agenda

•   Open Source Database Trends
•   PostgreSQL Strengths
•   PostgreSQL Weaknesses
•   MySQL Strengths
•   MySQL Weaknesses
•   Application Types
•   About EnterpriseDB
PostgreSQL Weaknesses

• Lack of an integrated replication solution
  – External solutions are required

  – There is no agreed solution in the
    PostgreSQL community for the
    majority of replication
    requirements

  – The current external solutions
    have a high learning curve
PostgreSQL Weaknesses (cont.)

• No upgrade facility for major releases
  – The data must be either exported or replicated to the
    new version
     • At least twice of the storage is needed during the upgrade process
     • On large datasets, an upgrade is a very time consuming process
PostgreSQL Weaknesses (cont.)

• Performance issues
  – Indexes can not be
    used to directly return
    the results of a query
  – Query execution plans
    are not cached
  – Some update and delete operations leave expired
    data in the data files causing more IO
  – Bulk loading operations may become CPU bound
PostgreSQL Weaknesses (cont.)

• Lack of experienced production talent
  – Many of the experienced
    PostgreSQL administrators do not
    have experience in large
    corporate environments
PostgreSQL Weaknesses (cont.)

• Sparse Independent Software Vendor support
  – There are few management and monitoring tools
    capable of using PostgreSQL

  – When tools are available, many times it is through a
    generic ODBC or JDBC data source

  – PostreSQL is Rarely the primarily database for an
    application, including open source applications
Agenda

•   Open Source Database Trends
•   PostgreSQL Strengths
•   PostgreSQL Weaknesses
•   MySQL Strengths
•   MySQL Weaknesses
•   Application Types
•   About EnterpriseDB
MySQL Strengths

• Integrated Replication
  – Master-Slave Replication
     • Scale-Out Implementations
     • Offload Reporting
     • Geographic Data Distribution


  – MySQL Cluster
     • Horizontal Scalability
MySQL Strengths (cont.)

• Performance

   – Low overhead MyISAM storage engine for read
     mostly applications

   – Memory storage engine for frequently accessed
     tables

   – Query Cache for frequently used statements
MySQL Strengths (cont.)

• Multiple Storage Engines
   – Native Storage Engines
      •   MyISAM
      •   Merge
      •   Memory
      •   Federated


   – Partner Developed Storage Engines
      • InnoDB
      • solidDB
      • Infobright
MySQL Strengths (cont.)

• Strong Corporate Backing




• Corporate Platinum Partners
MySQL Strengths (cont.)

• Popularity
   – Independent Software Vendor Support
   – Availability of experienced resources
   – Easily accessible information from various sources
     such as whitepapers, blogs, and books
Agenda

•   Open Source Database Trends
•   PostgreSQL Strengths
•   PostgreSQL Weaknesses
•   MySQL Strengths
•   MySQL Weaknesses
•   Application Types
•   About EnterpriseDB
MySQL Weaknesses

• Metadata uses MyISAM

  – Transactions involving the system
    catalog are not ACID compliant

  – A server crash can corrupt the
    system catalog
MySQL Weaknesses (cont.)

• Immature security model

  – No pluggable authentication
    module preventing centrally
    managed accounts

  – No support for roles resulting in
    difficulty in maintaining privileges
    for many users
MySQL Weaknesses (cont.)

• Immature server side programming model
  – Stored procedures are not cacheable

  – All tables used in the procedure or trigger are
    pre-locked

  – All cursors are materialized

  – Only supports SQL
MySQL Weaknesses (cont.)

• Scalability Problems

  – Difficulty with increases
    in concurrency

  – Difficulty with an increase
    in the number of cores in
    the server
MySQL Weaknesses (cont.)

• “Closed” Open Source Community
  – The community is not contributing to the MySQL
    server code base
     • It is currently very hard to contribute code and ideas
  – There are not many MySQL developers that are also
    using MySQL
  – Developers outside of MySQL do not have commit
    rights
  – There are no new 'innovative' features in 5.1 from
    real life applications
Agenda

•   Open Source Database Trends
•   PostgreSQL Strengths
•   PostgreSQL Weaknesses
•   MySQL Strengths
•   MySQL Weaknesses
•   Application Types
•   About EnterpriseDB
Application Types

• MySQL
   – Web 1.0 Type Applications
      • The MyISAM storage engine is ideal for online catalog
        functionality
      • Dynamic data is centered around an individual user such
        as user profiles and shopping carts
Application Types

• MySQL
   – Reporting and Data Warehousing

      • The pluggable storage engine facility
        allows for enhanced business
        intelligence functionality
          – Infobright


      • The MyISAM storage engine has very
        low overhead for read intensive
        applications
Application Types

• MySQL
   – Commercial and Open Source Applications
      • MySQL is the primary database for many of the popular
        open source projects




      • Many commercial applications include MySQL in the
        demonstration versions
Application Types (cont.)

• PostgreSQL
   – Web 2.0 Type Applications
      • The use of a distributed memory cache offloads many of
        the queries from the database resulting in a heavy
        transactional load


      • The dynamic data such
        as forum posts and wikis
        are commonly being
        viewed by users while
        updates are occurring
Application Types (cont.)

• PostgreSQL
   – Operational Data Stores

      • The data is constantly changing
        while reports executing
          – Leverages the Multi Version
            Concurrency Control feature


      • Multiple users running reports
        simultaneously requiring a scalable
        database
Application Types (cont.)

• PostgreSQL
   – New Application Development
      • The numerous procedural languages allows developers
        to leverage existing knowledge


      • Transactional DDL is
        almost a requirement in a
        Ruby environment

      • Debugging server side
        code speeds the
        development process
Agenda

•   Open Source Database Trends
•   PostgreSQL Strengths
•   PostgreSQL Weaknesses
•   MySQL Strengths
•   MySQL Weaknesses
•   Application Types
•   About EnterpriseDB
EnterpriseDB Company Facts

• Award-winning enterprise open
  source database company

• World’s largest concentration of
  PostgreSQL expertise including
  several core team members
                                         Best Database Award
                                          2005, 2006 & 2007
• Founded in March 2004

• Headquartered in Edison, NJ and                          Top 100 Technology
  offices in 6 countries.                                      Companies


• Over 250 customers including: Sony,
                                                   2006 “Ones to Watch”
  FTD, TDAmeritrade, British Telecom

• 65 partners including: Red Hat, Sun,
  IBM, Cognos, Compiere
Postgres Plus

                Postgres Plus Advanced
                Server offers additional
                features including Oracle
                compatibility




                Postgres Plus is fully open
                source and contains the
                PostgreSQL project along
                with additional components
Sample Customer Case Studies
      Oracle-based Custom Applications
          • Sony replaced Oracle for on-line games, user forums, back-office


      Oracle-based ISV
          • Tomax, retail industry ISV, replaced Oracle as default database


      MySQL upgrade for Custom Applications
          • Vonage scaled applications from MySQL to EnterpriseDB


      SQL Server upgrade by 3rd party ISV
          • Replaced SQL Server as embedded mammography database


      Oracle-based Business Intelligence
          • Running Oracle Reports on EnterpriseDB; saved 80%
Contact Information

                  Jim Mlodgenski
        VP, Technical Services, EnterpriseDB
               jim@enterprisedb.com
Thank you.
Questions?

More Related Content

What's hot

Infinspan: In-memory data grid meets NoSQL
Infinspan: In-memory data grid meets NoSQLInfinspan: In-memory data grid meets NoSQL
Infinspan: In-memory data grid meets NoSQLManik Surtani
 
Avoiding.the.pitfallsof.oracle.migration.2013
Avoiding.the.pitfallsof.oracle.migration.2013Avoiding.the.pitfallsof.oracle.migration.2013
Avoiding.the.pitfallsof.oracle.migration.2013EDB
 
Key Methodologies for Migrating from Oracle to Postgres
Key Methodologies for Migrating from Oracle to PostgresKey Methodologies for Migrating from Oracle to Postgres
Key Methodologies for Migrating from Oracle to PostgresEDB
 
Making the Most of Your Postgres Rollout
Making the Most of Your Postgres RolloutMaking the Most of Your Postgres Rollout
Making the Most of Your Postgres RolloutEDB
 
Trusted advisory on technology comparison --exadata, hana, db2
Trusted advisory on technology comparison --exadata, hana, db2Trusted advisory on technology comparison --exadata, hana, db2
Trusted advisory on technology comparison --exadata, hana, db2Ajay Kumar Uppal
 
Database Provisioning in EM12c: Provision me a Database Now!
Database Provisioning in EM12c: Provision me a Database Now!Database Provisioning in EM12c: Provision me a Database Now!
Database Provisioning in EM12c: Provision me a Database Now!Maaz Anjum
 
5 Postgres DBA Tips
5 Postgres DBA Tips5 Postgres DBA Tips
5 Postgres DBA TipsEDB
 
DBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSDBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSEDB
 
KoprowskiT_SQLRelayNottingham_BackupAndRestoreAD2015
KoprowskiT_SQLRelayNottingham_BackupAndRestoreAD2015KoprowskiT_SQLRelayNottingham_BackupAndRestoreAD2015
KoprowskiT_SQLRelayNottingham_BackupAndRestoreAD2015Tobias Koprowski
 
Expanding with EDB Postgres Advanced Server 9.5
Expanding with EDB Postgres Advanced Server 9.5Expanding with EDB Postgres Advanced Server 9.5
Expanding with EDB Postgres Advanced Server 9.5EDB
 
Minnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with CassandraMinnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with CassandraJeff Bollinger
 
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle Ashnikbiz
 
Conference tutorial: MySQL Cluster as NoSQL
Conference tutorial: MySQL Cluster as NoSQLConference tutorial: MySQL Cluster as NoSQL
Conference tutorial: MySQL Cluster as NoSQLSeveralnines
 
Reducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with PostgresReducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with PostgresEDB
 
MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0Ted Wennmark
 
Next Generation Software-Defined Storage
Next Generation Software-Defined StorageNext Generation Software-Defined Storage
Next Generation Software-Defined StorageStorMagic
 
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmurTobias Koprowski
 
Choosing the Right Big Data Tools for the Job - A Polyglot Approach
Choosing the Right Big Data Tools for the Job - A Polyglot ApproachChoosing the Right Big Data Tools for the Job - A Polyglot Approach
Choosing the Right Big Data Tools for the Job - A Polyglot ApproachDATAVERSITY
 
MariaDB: Connect Storage Engine
MariaDB: Connect Storage EngineMariaDB: Connect Storage Engine
MariaDB: Connect Storage EngineKangaroot
 

What's hot (20)

Infinspan: In-memory data grid meets NoSQL
Infinspan: In-memory data grid meets NoSQLInfinspan: In-memory data grid meets NoSQL
Infinspan: In-memory data grid meets NoSQL
 
Avoiding.the.pitfallsof.oracle.migration.2013
Avoiding.the.pitfallsof.oracle.migration.2013Avoiding.the.pitfallsof.oracle.migration.2013
Avoiding.the.pitfallsof.oracle.migration.2013
 
Key Methodologies for Migrating from Oracle to Postgres
Key Methodologies for Migrating from Oracle to PostgresKey Methodologies for Migrating from Oracle to Postgres
Key Methodologies for Migrating from Oracle to Postgres
 
Making the Most of Your Postgres Rollout
Making the Most of Your Postgres RolloutMaking the Most of Your Postgres Rollout
Making the Most of Your Postgres Rollout
 
Trusted advisory on technology comparison --exadata, hana, db2
Trusted advisory on technology comparison --exadata, hana, db2Trusted advisory on technology comparison --exadata, hana, db2
Trusted advisory on technology comparison --exadata, hana, db2
 
Database Provisioning in EM12c: Provision me a Database Now!
Database Provisioning in EM12c: Provision me a Database Now!Database Provisioning in EM12c: Provision me a Database Now!
Database Provisioning in EM12c: Provision me a Database Now!
 
5 Postgres DBA Tips
5 Postgres DBA Tips5 Postgres DBA Tips
5 Postgres DBA Tips
 
DBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSDBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWS
 
KoprowskiT_SQLRelayNottingham_BackupAndRestoreAD2015
KoprowskiT_SQLRelayNottingham_BackupAndRestoreAD2015KoprowskiT_SQLRelayNottingham_BackupAndRestoreAD2015
KoprowskiT_SQLRelayNottingham_BackupAndRestoreAD2015
 
Expanding with EDB Postgres Advanced Server 9.5
Expanding with EDB Postgres Advanced Server 9.5Expanding with EDB Postgres Advanced Server 9.5
Expanding with EDB Postgres Advanced Server 9.5
 
Minnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with CassandraMinnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with Cassandra
 
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
 
Conference tutorial: MySQL Cluster as NoSQL
Conference tutorial: MySQL Cluster as NoSQLConference tutorial: MySQL Cluster as NoSQL
Conference tutorial: MySQL Cluster as NoSQL
 
Reducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with PostgresReducing Database Pain & Costs with Postgres
Reducing Database Pain & Costs with Postgres
 
MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0
 
Next Generation Software-Defined Storage
Next Generation Software-Defined StorageNext Generation Software-Defined Storage
Next Generation Software-Defined Storage
 
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
 
Choosing the Right Big Data Tools for the Job - A Polyglot Approach
Choosing the Right Big Data Tools for the Job - A Polyglot ApproachChoosing the Right Big Data Tools for the Job - A Polyglot Approach
Choosing the Right Big Data Tools for the Job - A Polyglot Approach
 
SQL Azure for ITPros
SQL Azure for ITProsSQL Azure for ITPros
SQL Azure for ITPros
 
MariaDB: Connect Storage Engine
MariaDB: Connect Storage EngineMariaDB: Connect Storage Engine
MariaDB: Connect Storage Engine
 

Similar to Greatdebate Postgres vs Mysql

My sql competitive update
My sql competitive updateMy sql competitive update
My sql competitive updatexKinAnx
 
Enterprise Data Services for Strategic SOA
Enterprise Data Services for Strategic SOAEnterprise Data Services for Strategic SOA
Enterprise Data Services for Strategic SOAsumedha.r
 
SQL vs. NoSQL. It's always a hard choice.
SQL vs. NoSQL. It's always a hard choice.SQL vs. NoSQL. It's always a hard choice.
SQL vs. NoSQL. It's always a hard choice.Denis Reznik
 
Instant J Chem: one-stop information hub for medicinal chemists: US UGM 2008
Instant J Chem: one-stop information hub for medicinal chemists: US UGM 2008Instant J Chem: one-stop information hub for medicinal chemists: US UGM 2008
Instant J Chem: one-stop information hub for medicinal chemists: US UGM 2008ChemAxon
 
PostgreSQL as a Strategic Tool
PostgreSQL as a Strategic ToolPostgreSQL as a Strategic Tool
PostgreSQL as a Strategic ToolEDB
 
App301 Implement a Data Access Layer with Ent Lib
App301 Implement a Data Access Layer with Ent LibApp301 Implement a Data Access Layer with Ent Lib
App301 Implement a Data Access Layer with Ent Libmcgurk
 
Storage Systems for High Scalable Systems Presentation
Storage Systems for High Scalable Systems PresentationStorage Systems for High Scalable Systems Presentation
Storage Systems for High Scalable Systems Presentationandyman3000
 
PGConf.ASIA 2019 Bali - Keynote Speech 2 - Ivan Pachenko
PGConf.ASIA 2019 Bali - Keynote Speech 2 - Ivan PachenkoPGConf.ASIA 2019 Bali - Keynote Speech 2 - Ivan Pachenko
PGConf.ASIA 2019 Bali - Keynote Speech 2 - Ivan PachenkoEqunix Business Solutions
 
New Enterprise Cloud Database Options for 2019
New Enterprise Cloud Database Options for 2019New Enterprise Cloud Database Options for 2019
New Enterprise Cloud Database Options for 2019EDB
 
Optimizing Open Source for Greater Database Savings & Control
Optimizing Open Source for Greater Database Savings & ControlOptimizing Open Source for Greater Database Savings & Control
Optimizing Open Source for Greater Database Savings & ControlEDB
 
Transform your DBMS to drive engagement innovation with Big Data
Transform your DBMS to drive engagement innovation with Big DataTransform your DBMS to drive engagement innovation with Big Data
Transform your DBMS to drive engagement innovation with Big DataAshnikbiz
 
PostgreSQL as a Strategic Tool
PostgreSQL as a Strategic ToolPostgreSQL as a Strategic Tool
PostgreSQL as a Strategic ToolEDB
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13EDB
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabasesAdi Challa
 
Self-Tuning MySQL - a Hosting Provider's Unfair Advantage
Self-Tuning MySQL - a Hosting Provider's Unfair AdvantageSelf-Tuning MySQL - a Hosting Provider's Unfair Advantage
Self-Tuning MySQL - a Hosting Provider's Unfair AdvantageDeep Information Sciences
 

Similar to Greatdebate Postgres vs Mysql (20)

My sql competitive update
My sql competitive updateMy sql competitive update
My sql competitive update
 
MySQL Aquarium Paris
MySQL Aquarium ParisMySQL Aquarium Paris
MySQL Aquarium Paris
 
Enterprise Data Services for Strategic SOA
Enterprise Data Services for Strategic SOAEnterprise Data Services for Strategic SOA
Enterprise Data Services for Strategic SOA
 
SQL vs. NoSQL. It's always a hard choice.
SQL vs. NoSQL. It's always a hard choice.SQL vs. NoSQL. It's always a hard choice.
SQL vs. NoSQL. It's always a hard choice.
 
PostgreSQL and MySQL
PostgreSQL and MySQLPostgreSQL and MySQL
PostgreSQL and MySQL
 
Instant J Chem: one-stop information hub for medicinal chemists: US UGM 2008
Instant J Chem: one-stop information hub for medicinal chemists: US UGM 2008Instant J Chem: one-stop information hub for medicinal chemists: US UGM 2008
Instant J Chem: one-stop information hub for medicinal chemists: US UGM 2008
 
PostgreSQL as a Strategic Tool
PostgreSQL as a Strategic ToolPostgreSQL as a Strategic Tool
PostgreSQL as a Strategic Tool
 
App301 Implement a Data Access Layer with Ent Lib
App301 Implement a Data Access Layer with Ent LibApp301 Implement a Data Access Layer with Ent Lib
App301 Implement a Data Access Layer with Ent Lib
 
My Sql Presentation
My Sql PresentationMy Sql Presentation
My Sql Presentation
 
Storage Systems for High Scalable Systems Presentation
Storage Systems for High Scalable Systems PresentationStorage Systems for High Scalable Systems Presentation
Storage Systems for High Scalable Systems Presentation
 
MySQL overview
MySQL overviewMySQL overview
MySQL overview
 
PGConf.ASIA 2019 Bali - Keynote Speech 2 - Ivan Pachenko
PGConf.ASIA 2019 Bali - Keynote Speech 2 - Ivan PachenkoPGConf.ASIA 2019 Bali - Keynote Speech 2 - Ivan Pachenko
PGConf.ASIA 2019 Bali - Keynote Speech 2 - Ivan Pachenko
 
iForum 2015: SQL vs. NoSQL
iForum 2015: SQL vs. NoSQLiForum 2015: SQL vs. NoSQL
iForum 2015: SQL vs. NoSQL
 
New Enterprise Cloud Database Options for 2019
New Enterprise Cloud Database Options for 2019New Enterprise Cloud Database Options for 2019
New Enterprise Cloud Database Options for 2019
 
Optimizing Open Source for Greater Database Savings & Control
Optimizing Open Source for Greater Database Savings & ControlOptimizing Open Source for Greater Database Savings & Control
Optimizing Open Source for Greater Database Savings & Control
 
Transform your DBMS to drive engagement innovation with Big Data
Transform your DBMS to drive engagement innovation with Big DataTransform your DBMS to drive engagement innovation with Big Data
Transform your DBMS to drive engagement innovation with Big Data
 
PostgreSQL as a Strategic Tool
PostgreSQL as a Strategic ToolPostgreSQL as a Strategic Tool
PostgreSQL as a Strategic Tool
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabases
 
Self-Tuning MySQL - a Hosting Provider's Unfair Advantage
Self-Tuning MySQL - a Hosting Provider's Unfair AdvantageSelf-Tuning MySQL - a Hosting Provider's Unfair Advantage
Self-Tuning MySQL - a Hosting Provider's Unfair Advantage
 

Recently uploaded

Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 

Recently uploaded (20)

Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 

Greatdebate Postgres vs Mysql

  • 1. The Great Debate: PostgreSQL versus MySQL Jim Mlodgenski VP, Technical Services EnterpriseDB
  • 2. Agenda • Open Source Database Trends • PostgreSQL Strengths • PostgreSQL Weaknesses • MySQL Strengths • MySQL Weaknesses • Application Types • About EnterpriseDB
  • 3. Agenda • Open Source Database Trends • PostgreSQL Strengths • PostgreSQL Weaknesses • MySQL Strengths • MySQL Weaknesses • Application Types • About EnterpriseDB
  • 5. Open Source Database Trends (cont.)
  • 6. Open Source Database Trends (cont.)
  • 7. Open Source Database Trends (cont.) Battle for Open Source Database Dominance
  • 8. Open Source Database Trends (cont.) Battle for Database Dominance
  • 9. Agenda • Open Source Database Trends • PostgreSQL Strengths • PostgreSQL Weaknesses • MySQL Strengths • MySQL Weaknesses • Application Types • About EnterpriseDB
  • 10. PostgreSQL Strengths • Strong Advanced Feature Support – Triggers, Stored Procedures, Rules – Server side languages • SQL, Java, Ruby, Perl, Python, TCL, etc – Point in Time Recovery – Table partitioning – Transactional DDL – Table Inheritance
  • 11. PostgreSQL Strengths (cont.) • Strong Security • Object Level Privileges assigned to “Roles & User”. • Kerberos + SSL communication. • Data Level Encryption (AES, 3DES, etc) • Ability to utilise 3rd party Key Stores in a full PKI infrastructure • Foundation for full compliance with some of the strictest of security standards (PCI Data Security Standard). “By default PostgreSQL is probably the most security-aware database available” David Litchfield - The Database Hackers Handbook
  • 12. PostgreSQL Strengths (cont.) • Data Integrity – Multi Version Concurrency Control – Write Ahead Logging – Online Backup – Foreign Keys – Constraints
  • 13. PostgreSQL Strengths (cont.) • Flexible BSD license – Corporate IT developers can modify open source code under the BSD license without having to contribute back enhancements – Independent Software Vendors are free to redistribute without the fear of being “infected” by an open source license
  • 14. PostgreSQL Strengths (cont.) • Strong Open Source Community – Independent & Thriving Development Community • 10 committers and ~200 reviewers • 1,500 contributors and 10,000+ members • 2,000,000+ downloads – 20 years of enterprise-class development
  • 15. Agenda • Open Source Database Trends • PostgreSQL Strengths • PostgreSQL Weaknesses • MySQL Strengths • MySQL Weaknesses • Application Types • About EnterpriseDB
  • 16. PostgreSQL Weaknesses • Lack of an integrated replication solution – External solutions are required – There is no agreed solution in the PostgreSQL community for the majority of replication requirements – The current external solutions have a high learning curve
  • 17. PostgreSQL Weaknesses (cont.) • No upgrade facility for major releases – The data must be either exported or replicated to the new version • At least twice of the storage is needed during the upgrade process • On large datasets, an upgrade is a very time consuming process
  • 18. PostgreSQL Weaknesses (cont.) • Performance issues – Indexes can not be used to directly return the results of a query – Query execution plans are not cached – Some update and delete operations leave expired data in the data files causing more IO – Bulk loading operations may become CPU bound
  • 19. PostgreSQL Weaknesses (cont.) • Lack of experienced production talent – Many of the experienced PostgreSQL administrators do not have experience in large corporate environments
  • 20. PostgreSQL Weaknesses (cont.) • Sparse Independent Software Vendor support – There are few management and monitoring tools capable of using PostgreSQL – When tools are available, many times it is through a generic ODBC or JDBC data source – PostreSQL is Rarely the primarily database for an application, including open source applications
  • 21. Agenda • Open Source Database Trends • PostgreSQL Strengths • PostgreSQL Weaknesses • MySQL Strengths • MySQL Weaknesses • Application Types • About EnterpriseDB
  • 22. MySQL Strengths • Integrated Replication – Master-Slave Replication • Scale-Out Implementations • Offload Reporting • Geographic Data Distribution – MySQL Cluster • Horizontal Scalability
  • 23. MySQL Strengths (cont.) • Performance – Low overhead MyISAM storage engine for read mostly applications – Memory storage engine for frequently accessed tables – Query Cache for frequently used statements
  • 24. MySQL Strengths (cont.) • Multiple Storage Engines – Native Storage Engines • MyISAM • Merge • Memory • Federated – Partner Developed Storage Engines • InnoDB • solidDB • Infobright
  • 25. MySQL Strengths (cont.) • Strong Corporate Backing • Corporate Platinum Partners
  • 26. MySQL Strengths (cont.) • Popularity – Independent Software Vendor Support – Availability of experienced resources – Easily accessible information from various sources such as whitepapers, blogs, and books
  • 27. Agenda • Open Source Database Trends • PostgreSQL Strengths • PostgreSQL Weaknesses • MySQL Strengths • MySQL Weaknesses • Application Types • About EnterpriseDB
  • 28. MySQL Weaknesses • Metadata uses MyISAM – Transactions involving the system catalog are not ACID compliant – A server crash can corrupt the system catalog
  • 29. MySQL Weaknesses (cont.) • Immature security model – No pluggable authentication module preventing centrally managed accounts – No support for roles resulting in difficulty in maintaining privileges for many users
  • 30. MySQL Weaknesses (cont.) • Immature server side programming model – Stored procedures are not cacheable – All tables used in the procedure or trigger are pre-locked – All cursors are materialized – Only supports SQL
  • 31. MySQL Weaknesses (cont.) • Scalability Problems – Difficulty with increases in concurrency – Difficulty with an increase in the number of cores in the server
  • 32. MySQL Weaknesses (cont.) • “Closed” Open Source Community – The community is not contributing to the MySQL server code base • It is currently very hard to contribute code and ideas – There are not many MySQL developers that are also using MySQL – Developers outside of MySQL do not have commit rights – There are no new 'innovative' features in 5.1 from real life applications
  • 33. Agenda • Open Source Database Trends • PostgreSQL Strengths • PostgreSQL Weaknesses • MySQL Strengths • MySQL Weaknesses • Application Types • About EnterpriseDB
  • 34. Application Types • MySQL – Web 1.0 Type Applications • The MyISAM storage engine is ideal for online catalog functionality • Dynamic data is centered around an individual user such as user profiles and shopping carts
  • 35. Application Types • MySQL – Reporting and Data Warehousing • The pluggable storage engine facility allows for enhanced business intelligence functionality – Infobright • The MyISAM storage engine has very low overhead for read intensive applications
  • 36. Application Types • MySQL – Commercial and Open Source Applications • MySQL is the primary database for many of the popular open source projects • Many commercial applications include MySQL in the demonstration versions
  • 37. Application Types (cont.) • PostgreSQL – Web 2.0 Type Applications • The use of a distributed memory cache offloads many of the queries from the database resulting in a heavy transactional load • The dynamic data such as forum posts and wikis are commonly being viewed by users while updates are occurring
  • 38. Application Types (cont.) • PostgreSQL – Operational Data Stores • The data is constantly changing while reports executing – Leverages the Multi Version Concurrency Control feature • Multiple users running reports simultaneously requiring a scalable database
  • 39. Application Types (cont.) • PostgreSQL – New Application Development • The numerous procedural languages allows developers to leverage existing knowledge • Transactional DDL is almost a requirement in a Ruby environment • Debugging server side code speeds the development process
  • 40. Agenda • Open Source Database Trends • PostgreSQL Strengths • PostgreSQL Weaknesses • MySQL Strengths • MySQL Weaknesses • Application Types • About EnterpriseDB
  • 41. EnterpriseDB Company Facts • Award-winning enterprise open source database company • World’s largest concentration of PostgreSQL expertise including several core team members Best Database Award 2005, 2006 & 2007 • Founded in March 2004 • Headquartered in Edison, NJ and Top 100 Technology offices in 6 countries. Companies • Over 250 customers including: Sony, 2006 “Ones to Watch” FTD, TDAmeritrade, British Telecom • 65 partners including: Red Hat, Sun, IBM, Cognos, Compiere
  • 42. Postgres Plus Postgres Plus Advanced Server offers additional features including Oracle compatibility Postgres Plus is fully open source and contains the PostgreSQL project along with additional components
  • 43. Sample Customer Case Studies Oracle-based Custom Applications • Sony replaced Oracle for on-line games, user forums, back-office Oracle-based ISV • Tomax, retail industry ISV, replaced Oracle as default database MySQL upgrade for Custom Applications • Vonage scaled applications from MySQL to EnterpriseDB SQL Server upgrade by 3rd party ISV • Replaced SQL Server as embedded mammography database Oracle-based Business Intelligence • Running Oracle Reports on EnterpriseDB; saved 80%
  • 44. Contact Information Jim Mlodgenski VP, Technical Services, EnterpriseDB jim@enterprisedb.com