pr dc 2015 sql server is cheaper than open source
TRANSCRIPT
![Page 1: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/1.jpg)
SQL Server – Cheaper than Open SourceTerry Bunio
![Page 2: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/2.jpg)
Our Sponsors
![Page 3: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/3.jpg)
Me
• Terry Bunio
• Data Base Administrator
– Oracle, SQL Server 6,6.5,7,2000,2005,2012, Informix,
ADABAS
• Sharepoint fan
• Data Modeler/Architect
– Investors Group, LPL Financial, Manitoba Blue Cross, Assante
Financial, CI Funds, Mackenzie Financial
– Normalized and Dimensional
• Agilist
– Innovation Gamer, Team Member, SQL Developer, Test writer,
Sticky Sticker, Project Manager, PMO on SAP Implementation
– Currently all of these all the same time on an Agile SAP
implementation for an Insurance company
![Page 4: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/4.jpg)
![Page 5: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/5.jpg)
Protegra
• In Business 14+ years
• Winnipeg Company
• Agile and Lean key to our practices
• 60+ consultants
• Software Development and Business
Performance Consulting
• Microsoft Gold Partner
![Page 6: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/6.jpg)
Agenda
• The Project
• The Investigation
• The Candidates
• Lessons Learned
• Questions
![Page 7: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/7.jpg)
The Project
• Enterprise Data Warehouse project• Their existing Data Warehouse was:
– A combination of application databases, reporting database, and data warehouse
• With a hockey pool database to boot
– In Sybase– Reports created in Impromptu 7.0– They needed to get off of Impromptu because of licensing costs
• They had a history of using Open Source products– Linux– Jasper Reports– Java
• Although they had a history of Open Source products they were open to other options
![Page 8: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/8.jpg)
The Objectives
• Implement lessons that have been learned over the past 11
years since the Data Warehouse has been in production.
• Eliminate many potentially unneeded reports that have been
created over the past 11 years and minimize the maintenance
effort of the Data Warehouse
• Implement a Data Dictionary for the Data Warehouse that will
enable individual business departments to be much more
efficient at creating self-service reports
• Eliminate redundant data from the Data Warehouse that has
caused misunderstandings and difficulties in creating reports
from the Data Warehouse
• Improve the design of the data structures in the Data
Warehouse to address inconsistencies and less than optimal
design.
• Possibly reduce the license cost of the Data Warehouse.
![Page 9: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/9.jpg)
The Requirements
• The Data Warehouse serves up 100% operational reports
• There is no Big Data requirement
• Advanced DBMS and Reporting tools really aren’t needed
• Just require a platform for non-sexy textual, operational reports
• Not a huge amount of data either – 1 Terabyte
![Page 10: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/10.jpg)
Database Investigation
![Page 11: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/11.jpg)
Database Investigation
• Due to the cost of DB2 and the operational requirements, the following options were identified as candidates and evaluated:
• Sybase ASE Enterprise Edition – Current Data Warehouse
Technology
• Microsoft SQL Server 2012 Enterprise Edition
• Oracle Enterprise Edition with Partitioning option
• Open Source Community Edition
• Open Source Supported Edition
![Page 12: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/12.jpg)
![Page 13: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/13.jpg)
Database Factors
• Cost– Initial Cost
– Annual Cost
– DBA Efficiency
• Non Cost– Client Required Functionality
– Technical Functionality
– DBMS Management Functionality
– People and Future Flexibility
– Performance Functionality
![Page 14: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/14.jpg)
Cost Investigation Scenarios
• 2 Servers with 2 quad core CPUs on each Server – 16 cores in
total
• 2 Servers with 2 hex core CPUs on each Server – 32 cores in
total
• 2 Servers with 4 hex core CPUs on each Server – 64 cores in
total
![Page 15: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/15.jpg)
Investigation Constraints
• This investigation did not include the functionality or cost of:
– Disaster Recover
– Hot or Warm Failover functionality
• This is because this was not a requirement of their current environment
![Page 16: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/16.jpg)
Cost per CPU core
![Page 17: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/17.jpg)
Open Source Community
versus Supported Editions
• Community Editions– As is. No support outside of general
community and message boards in case of issues
• Supported Editions – 3rd party provides additional support in cae
of questions or errors. And example of this is EnterpriseDB that
provides this type of support for PostgreSQL.
![Page 18: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/18.jpg)
Open Source Community
versus Supported Editions
• No sane corporate enterprise would run solely a community
edition of a database. Maybe other frameworks, but not a
database.
• So for a corporate enterprise, we will not consider the
Community Edition of Open Source DBMS
![Page 19: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/19.jpg)
![Page 20: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/20.jpg)
DBA Efficiency Rating
![Page 21: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/21.jpg)
![Page 22: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/22.jpg)
Annual Estimated Costs
• License Support costs – These costs are the support and
maintenance costs for both the Production and Development
environments.
• Estimated Annual Maintenance Costs – It is estimated that
there will be additional ongoing effort to maintain the different
DBMS solutions as compared to the current Sybase solution.
This is due to the different complexities of the DBMS solution,
the available tools for the DBMS solution, and the available
support in the DBMS user communities.
![Page 23: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/23.jpg)
Annual Estimated Costs
![Page 24: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/24.jpg)
![Page 25: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/25.jpg)
10 year Total Cost of
Ownership
![Page 26: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/26.jpg)
![Page 27: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/27.jpg)
![Page 28: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/28.jpg)
Voted off the island
• Due to the large cost of Oracle, Oracle was included from the next phase of investigation
![Page 29: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/29.jpg)
Risks to Strategic Database
Selection
• A change in the strategic technologies of the corporation.
• A limitation in the current technology as compared to its
competitors.
• A requirement to re-sell the database asset to another
company and the current strategic Database technology is not
consistent across companies.
• A requirement to re-use (i.e. host services) the database asset
externally and the current strategic Database technology is not
consistent across companies.
![Page 30: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/30.jpg)
Mitigation activities to
minimize Risk
• 100% usage of only ANSI-compliant SQL to eliminate the
requirement to convert SQL if a change in database technology
is required.
• 100% usage of only ANSI-compliant Database features to
eliminate the requirement to convert away from these features
if a change in database technology is required.
• Full source code control and versioning of all Database Data
Definition Language (DDL) statements.
• Minimal usage of Database triggers and stored procedures as
most databases have stored procedures and triggers written in
a proprietary language.
• Creation of a Database isolation layer using views that can help
to mitigate changes required to the database for the new
consumer.
![Page 31: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/31.jpg)
Non-Cost Evaluation Criteria
![Page 32: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/32.jpg)
Client Required Functionality
![Page 33: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/33.jpg)
Technical Functionality
![Page 34: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/34.jpg)
DBMS Management
Functionality
![Page 35: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/35.jpg)
People and Future Flexibility
![Page 36: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/36.jpg)
Performance Functionality
![Page 37: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/37.jpg)
![Page 38: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/38.jpg)
Evaluation Criteria
• Were reviewed and approved by the client
• This included the relative weights assigned to each
![Page 39: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/39.jpg)
Yeah, but what does Gartner
say?
![Page 40: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/40.jpg)
Gartner Comparison
• The criteria listed have been compared to the Gartner criteria recommended to evaluate Data Warehouse solutions. The percentages are different due to the fact that 30% of our evaluation contains factors that Gartner does not consider. These factors are:
![Page 41: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/41.jpg)
Gartner Comparison
![Page 42: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/42.jpg)
Gartner Comparison
• The two factors that differ greatly between the two ranking
methodologies are:– Performance
– Administration and Manageability
• The only factor that is weighted more in the Gartner ranking
methodology is the Administration and Manageability factor.
This factor is addressed in two areas on our document, Cost
and Functionality. A material part of the cost factor takes into
consideration the additional administration and management
that would be required.
• With this in mind, it is our opinion that the Administration and
Manageability factors are being weighted consistently across
the two ranking methodologies.
• It is our opinion that performance is rated too low in the Gartner
criteria
![Page 43: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/43.jpg)
Non-Performance
Functionality
![Page 44: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/44.jpg)
Client Required Functionality
![Page 45: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/45.jpg)
Technical Functionality
![Page 46: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/46.jpg)
MySQL InnoDB
![Page 47: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/47.jpg)
DBMS Management
Functionality
![Page 48: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/48.jpg)
People and Future Flexibility
![Page 49: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/49.jpg)
MyISAM and InnoDB engines
![Page 50: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/50.jpg)
Performance Functionality
![Page 51: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/51.jpg)
Performance Table Structure
![Page 52: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/52.jpg)
Performance point allocation
![Page 53: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/53.jpg)
Performance Observations
![Page 54: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/54.jpg)
Bulk Performance
![Page 55: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/55.jpg)
Basic Query Performance
![Page 56: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/56.jpg)
Extended Query Performance
![Page 57: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/57.jpg)
Update/Delete Performance
![Page 58: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/58.jpg)
Correlated Sub-Query
Performance
![Page 59: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/59.jpg)
![Page 60: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/60.jpg)
Recommendation
![Page 61: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/61.jpg)
Lessons Learned
• I undertook this investigation in the formal manner I did
because I was disappointed with the lack of impartial reviews in
the market with enough detail
• Gartner has high level reviews, but nothing at a practitioner
level
• Any reports at the practitioner level has been ‘tuned’ to promote
a certain DBMS
– MySQL reports using MyISAM engine
– Oracle and Sybase reports using SQL built to perform best
on their configurations
![Page 62: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/62.jpg)
Lessons Learned
• Open Source DBMSs are not the bargain they initially appear
to be
• Know your requirements
• Do your own tests
• Read the fine print
• Oracle really is expensive
![Page 63: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/63.jpg)
References• The State of Data Warehousing in 2011 – Gartner
• Data Warehousing Trends for the CIO, 2011-2012 – Gartner
• Comparison of Data Warehousing DBMS Platforms – Illuminate
• Next Generation Data Warehouse Platforms – The Data Warehouse Institute (TDWI) – Phillip
Russom
• Magic Quadrant for Data Warehouse Database Management Systems – Gartner
• PostgreSQL versus MySQL - http://www-css.fnal.gov/dsg/external/freeware/pgsql-vs-mysql.html
• MySQL versus PostgreSQL - http://www.wikivs.com/wiki/MySQL_vs_PostgreSQL
• Why PostgreSQL instead of MySQL 2009 -
http://wiki.PostgreSQL.org/wiki/Why_PostgreSQL_Instead_of_MySQL_2009
• Open Source Feature Comparison Matrix -
http://www.devx.com/dbzone/Article/29480?trk=DXRSS_DB
• The Open Source Data Warehouse Revolution -
http://www.ittoday.info/Articles/Open_Source_Data_Warehouse.htm
• MySQL 5.6 Reference Manual - http://dev.mysql.com/doc/refman/5.6/en/index.html
• PostgreSQL 9.1 Reference Manual - http://www.PostgreSQL.org/docs/9.1/static/index.html
• PostgreSQL vs. MySQL vs. Commercial Databases: It's All About What You Need -
http://www.devx.com/dbzone/Article/20743/0/page/1
• Cross Compare of PostgreSQL 8.4, SQL Server 2008, MySQL 5.1 -
http://www.Postgresonline.com/journal/index.php?/archives/130-Cross-Compare-of-PostgreSQL-
8.4,-SQL-Server-2008,-MySQL-5.1.html
• MySQL versus PostgreSQL - http://www.mysqlvsPostgreSQL.com/
• PostgreSQL versus MySQL: which is better -
http://www.databasejournal.com/features/mysql/article.php/3288951/PostgreSQL-vs-MySQL-
Which-is-better.htm
• Comparison of Relational Database Management Systems -
http://en.wikipedia.org/wiki/Comparison_of_relational_database_management_systems
![Page 64: Pr dc 2015 sql server is cheaper than open source](https://reader034.vdocuments.mx/reader034/viewer/2022051617/55a812a11a28abff738b4822/html5/thumbnails/64.jpg)
Questions?