Post on 25-Sep-2020
PostgreSQL in the Enterprise
22 june 2017
Speaker Introduction
Experience: Air Defense controller (8 years), Emergency Supply Manager (5 years), Databases (18 years)
Achievements: Self-service Dev/Acc Oracle environments, implemented Postgres, Apache Kafka
Current Projects: DC migrations, ZoomIT to Postgres, Apache Cassandra, Apache Kafka
Name: Benny Rutten
Job: Database Administrator
Company: Isabel Group
Agenda• Introduction
• Why not just stay with Oracle?
• Searching for a candidate RDBMS
• Postgres
• Comparing features
• Looking for support
• Total Cost of Ownership (TCO)
• Isabel’s actions and decisions
• Advantages / disadvantages
• Questions
Purpose of this presentation
• Explain why Isabel has chosen for PostgreSQL as it’s primary RDBMS
• Why EDB Postgres?
Agenda• Introduction
• Why not just stay with Oracle?
• Searching for a candidate RDBMS
• Postgres
• Comparing features
• Looking for support
• Total Cost of Ownership (TCO)
• Isabel’s actions and decisions
• Advantages / disadvantages
• Questions
Why opting for Postgres and not just stay with Oracle?
• Introduction of OPENSTACK as our (private) cloud platform
• Oracle is not compatible with containers (Openshift)
• The Oracle license cost and inflexible licensing model
• Oracle’s ‘feature stress’: extra cost options are easily enabled by accident
Also…
• Do we need thi$$$
• If thi$ can do the same?
Agenda• Introduction
• Why not just stay with Oracle?
• Searching for a candidate RDBMS
• Postgres
• Comparing features
• Looking for support
• Total Cost of Ownership (TCO)
• Isabel’s actions and decisions
• Advantages / disadvantages
• Questions
Isabel started a search for
• a robust relational database
• suitable for the applications now serviced by Oracle
• with a flexible licensing model, suited for VM
• and 7 x 24 customer support (via an external partner)
Candidate RDBM’s
• DB2
• SQLServer
• MySQL
• PostgreSQL
Agenda• Introduction
• Why not just stay with Oracle?
• Searching for a candidate RDBMS
• Postgres
• Comparing features
• Looking for support
• Total Cost of Ownership (TCO)
• Isabel’s actions and decisions
• Advantages / disadvantages
• Questions
Winner: Postgres
• Postgres is open source
• Thus: no license fee
• But also, no support, except from the community
Origin
Agenda• Introduction
• Why not just stay with Oracle?
• Searching for a candidate RDBMS
• Postgres
• Comparing features
• Looking for support
• Total Cost of Ownership (TCO)
• Isabel’s actions and decisions
• Advantages / disadvantages
• Questions
Required key features
Core Database Features Oracle Postgres
ACID transaction support Yes Yes
Crash recovery Yes Yes
Cost-based optimizer Yes Yes
Data partitioning Yes Yes
Data compression Yes Yes
User-defined datatypes Yes Yes
Multi-terabyte database capable Yes Yes
High-speed, parallel data loader Yes Yes
Memory/distributed caching option Yes Yes
Connection pooling Yes Yes
JSON support Yes Yes
Agenda• Introduction
• Why not just stay with Oracle?
• Searching for a candidate RDBMS
• Postgres
• Comparing features
• Looking for support
• Total Cost of Ownership (TCO)
• Isabel’s actions and decisions
• Advantages / disadvantages
• Questions
We were looking for support
•From an external partner
•Based only on effectively used virtual CPU’s
We opted for EDB Postgres because:
• Postgres Plus Advanced Server (PPAS)
• An Oracle compatible version of Postgres
• 85% of Oracle’s functionality (= 100% of Isabel’s needs)
• < 10 % TCO compared to Oracle
EDB – added value
•Productivity tools:
• Postgres Enterprise Manager
• Backup tool
• Failover manager
• Replication server
• Migration toolkit
Agenda• Introduction
• Why not just stay with Oracle?
• Searching for a candidate RDBMS
• Postgres
• Comparing features
• Looking for support
• Total Cost of Ownership (TCO)
• Isabel’s actions and decisions
• Advantages / disadvantages
• Questions
Oracle Enterprise Edition EDB PPAS
License Fee Per Core (2 sockets/8 cores)(x86 processor)
(2 sockets/8 cores) (x86 processor)
Database $47,500 included in subscription
Partitioning $11,500 Included
Data Guard $11,500 Included
Diagnostics $5,000 Included
Total License Fee per Core $75,500 included in subscription
Total License Fee per Server (CapEx) (0.5 core factor) $302,000 $0 Annual support/subscription cost per core 22% of License Fee $1,750 per Core
Annual Support/Maintenance per Server (OpEx) $66,440 $14,000
Total 3 Year License and Support Cost $501,320 $42,000
Oracle vs. EDB TCO Comparison on x86
No CAPEX Annual OPEX reduction 79% 3 YR TCO cost
savings 92 %
Agenda• Introduction
• Why not just stay with Oracle?
• Searching for a candidate RDBMS
• Postgres
• Comparing features
• Looking for support
• Total Cost of Ownership (TCO)
• Isabel’s actions and decisions
• Advantages / disadvantages
• Questions
Proofs of Concept
• EPCM (a small eBanking application) – Migration successful
• Risc Adaptable Access Control (RAdAC) – Migration OK, but hard to test
• Web Onboarding application (Service Hub) – works!
What we did next:
• Included Postgres in our DB portfolio
• Designated Postgres as the preferred DB for new initiatives
• Migrated ServiceHub application from Oracle to Postgres
• Decided to migrate ZoomIT from Oracle to Postgres (1st quarter 2018)
Agenda• Introduction
• Why not just stay with Oracle?
• Searching for a candidate RDBMS
• Postgres
• Comparing features
• Looking for support
• Total Cost of Ownership (TCO)
• Isabel’s actions and decisions
• Advantages / disadvantages
• Questions
What Postgres lacks
• SQL plan management (SPM)
• Flash back database
• Database recycle bin
What EDB does well
• EDB support: • average resolution time is less than 1 hour• You can actually mail and call the support team
• EDB migration tool kit• Converts Oracle schema’s and even whole databases almost flawlessly• Highly configurable
• Oracle compatibility layer• Most existing application only need very minor code changes
• EBS licenses are ‘ALL IN’
Agenda• Introduction
• Why not just stay with Oracle?
• Searching for a candidate RDBMS
• Postgres
• Comparing features
• Looking for support
• Total Cost of Ownership (TCO)
• Isabel’s actions and decisions
• Advantages / disadvantages
• Questions
The end
•Thank you for your time
•Questions ?