PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average...

31
PostgreSQL in the Enterprise 22 june 2017

Transcript of PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average...

Page 1: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

PostgreSQL in the Enterprise

22 june 2017

Page 2: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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

Page 3: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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

Page 4: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team
Page 5: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team
Page 6: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

Purpose of this presentation

• Explain why Isabel has chosen for PostgreSQL as it’s primary RDBMS

• Why EDB Postgres?

Page 7: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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

Page 8: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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

Page 9: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

Also…

• Do we need thi$$$

• If thi$ can do the same?

Page 10: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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

Page 11: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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)

Page 12: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

Candidate RDBM’s

• DB2

• SQLServer

• MySQL

• PostgreSQL

Page 13: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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

Page 14: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

Winner: Postgres

• Postgres is open source

• Thus: no license fee

• But also, no support, except from the community

Page 15: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

Origin

Page 16: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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

Page 17: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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

Page 18: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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

Page 19: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

We were looking for support

•From an external partner

•Based only on effectively used virtual CPU’s

Page 20: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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

Page 21: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

EDB – added value

•Productivity tools:

• Postgres Enterprise Manager

• Backup tool

• Failover manager

• Replication server

• Migration toolkit

Page 22: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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

Page 23: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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 %

Page 24: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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

Page 25: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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!

Page 26: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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)

Page 27: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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

Page 28: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

What Postgres lacks

• SQL plan management (SPM)

• Flash back database

• Database recycle bin

Page 29: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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’

Page 30: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

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

Page 31: PostgreSQL in the Enterprise 22 june 2017€¦ · What EDB does well •EDB support: •average resolution time is less than 1 hour •You can actually mail and call the support team

The end

•Thank you for your time

•Questions ?