SlideShare a Scribd company logo
Postgres
is the new default
How we transitioned our platform
and why you should too
I work with
   Data!
Agenda
• Where we were
• Our relationship
 with Postgres
• Challenges
• Our future together
We live in
The Cloud!
Engine Yard

• Languages
• Amazing Support
  • Team DBAs & me
• 2 Products *
> 1 Petabyte
No multi-tenancy.
...A year (or so) ago
Engine Yard Cloud
• Only MySQL 5.0
• 8.3 in perpetual Alpha
  • No Slaves, No Docs
• Increasing interest
• Stack Expansion - DIRTT
Our Relationship
with Postgres
Stage 1




          Infatuation
Why love Postgres?
• Flexible Replication:
 streaming & hot standby
• Features & Extensions
• Versatile Data Types
• FDWs
Why love Postgres?

• All of the Indexes!
• B-tree, GiST, GIN, SP-Gist*
• Procedural Languages (PL)
• Full-Text Search
Why love Postgres?

• Feature parity with
 Managed
• Outstanding community &
commercial support
• Let’s make it our default!
Stage 2




Understanding
Re-Tool
• MySQL Shop
  • DBA Training: DBAs &
   Engineers
• OSS to help us gain
 velocity
Customer Education

• Customer Facing Docs
 focused on MySQL
• Technical Writers FTW!
Stage 3




   Disturbances
Roadmap issues
• Shiny new process
 for DB releases
• Alpha, Beta, GA
• Surprise we got
  it WRONG!
Multiple Architectures
 • EBS Volumes & 32-bit
  instance sizes
  • Dump & Restore only
    way to vertically scale
Bad Assumptions
• Product codebase tied
 to old assumptions
• MySQL everywhere
• Refactor!
Stage 5




     Moulding
Company-Wide Effort
Installation

• Engine Yard Cloud
• Chef > EBS
• Engine Yard Managed
• Puppet > Storage
Configuration

• $PGDATA on EBS
 • We don’t RAID
 • Snapshots to S3
• pg_xlog same volume
Replication

• Archiving on db_master
 • hot_standby slaves
 • All slaves <> AZs
 • Smaller slaves
Monitoring
• Bucardo’s check_postgres
• Collectd & Nagios
• Process health, replication,
 checkpoints - MORE
Backups
• Internal tool wraps around
 pg_dump
• Snapshots & dumps to S3
• Only backup from slave (if
 present)
Allow Extensions
• Dedicated instances
• Customizations OK!
• Ship recipes for ~30
 extensions
• Curated & tested
Architectures

• New instance types:
 64-bit small, mediums
• Standardized instances
 architecture 64-bit
Stage 9

Happiness
 & Trust
Future Directions
• 9.2 Support
• AWS Optimizations
 • Provisioned IOPS
 • EBS optimized instances
 • SSD-backed instances
Future Directions

• Painless upgrades
• Better extensions
  • Ugh to cookbooks!
• HA/DR
Future Directions
• Customer education
 still a problem
• Low adoption of slaves
• ~146 year ago
• ~165 now
Give us a try!
Questions?
 @RandomMood

More Related Content

What's hot (19)

PDF
SSDs are Awesome
Barry Abrahamson
 
PDF
Capacity Planning
MongoDB
 
PDF
[2019.02.16] hst - orm
Chia-Hao Tsai
 
PDF
Optimising for Performance
thomas_mb
 
PPTX
Moving to the Cloud: AWS, Zend, RightScale
mmoline
 
PPTX
In Memory Cahce Structure
Mehmet Ali Tastan
 
PPT
Scaling MySQL using Fabric
Karthik .P.R
 
PPTX
SenchaCon 2016 - How to Auto Generate a Back-end in Minutes
Malin Weiss
 
PDF
Server Check.in case study - Drupal and Node.js
Jeff Geerling
 
PPTX
SPA vs. MPA
Mehmet Ali Tastan
 
PDF
MySQL Storage Engines
Karthik .P.R
 
PPTX
Building Enterprise Search Engines using Open Source Technologies
Rahul Singh
 
PPTX
Campus days Azure HDInsight automation
Kenneth Michael Nielsen
 
PPTX
MongoDB and Amazon Web Services: Storage Options for MongoDB Deployments
MongoDB
 
PPTX
Azure PaaS databases
Gianluca Hotz
 
PPTX
Dev-Friendly Ops
Josh Schramm
 
PDF
Building Codealike: a journey into the developers analytics world
Oren Eini
 
PPTX
Flynn Bundy - 60 micro-services in 6 months
WinOps Conf
 
PPTX
Drop acid
Mike Feltman
 
SSDs are Awesome
Barry Abrahamson
 
Capacity Planning
MongoDB
 
[2019.02.16] hst - orm
Chia-Hao Tsai
 
Optimising for Performance
thomas_mb
 
Moving to the Cloud: AWS, Zend, RightScale
mmoline
 
In Memory Cahce Structure
Mehmet Ali Tastan
 
Scaling MySQL using Fabric
Karthik .P.R
 
SenchaCon 2016 - How to Auto Generate a Back-end in Minutes
Malin Weiss
 
Server Check.in case study - Drupal and Node.js
Jeff Geerling
 
SPA vs. MPA
Mehmet Ali Tastan
 
MySQL Storage Engines
Karthik .P.R
 
Building Enterprise Search Engines using Open Source Technologies
Rahul Singh
 
Campus days Azure HDInsight automation
Kenneth Michael Nielsen
 
MongoDB and Amazon Web Services: Storage Options for MongoDB Deployments
MongoDB
 
Azure PaaS databases
Gianluca Hotz
 
Dev-Friendly Ops
Josh Schramm
 
Building Codealike: a journey into the developers analytics world
Oren Eini
 
Flynn Bundy - 60 micro-services in 6 months
WinOps Conf
 
Drop acid
Mike Feltman
 

Viewers also liked (7)

PDF
Testing & Integration (The Remix)
Ines Sombra
 
PDF
Ricon east
Ines Sombra
 
PDF
Computational Patterns of the Cloud - QCon NYC 2014
Ines Sombra
 
PDF
Data Antipatterns
Ines Sombra
 
PDF
We hear you like papers
Ines Sombra
 
PDF
NoSQL Databases in the Cloud - Great Wide Open 2014
Ines Sombra
 
PDF
Architectural Patterns of Resilient Distributed Systems
Ines Sombra
 
Testing & Integration (The Remix)
Ines Sombra
 
Ricon east
Ines Sombra
 
Computational Patterns of the Cloud - QCon NYC 2014
Ines Sombra
 
Data Antipatterns
Ines Sombra
 
We hear you like papers
Ines Sombra
 
NoSQL Databases in the Cloud - Great Wide Open 2014
Ines Sombra
 
Architectural Patterns of Resilient Distributed Systems
Ines Sombra
 
Ad

Similar to Postgres Open (20)

PDF
Webinar - DreamObjects/Ceph Case Study
Ceph Community
 
PDF
AWS re:invent 2013 recap
Peter Sankauskas
 
PDF
Transitioning From SQL Server to MySQL - Presentation from Percona Live 2016
Dylan Butler
 
PDF
Postgres in Amazon RDS
Denish Patel
 
PPTX
I3 - Running SharePoint 2016 in Azure the do's and dont's - Jasjit Chopra
SPS Paris
 
PPTX
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review
Kenny Buntinx
 
PDF
PostgreSQL as a Big Data Platform
Chris Travers
 
PPTX
Batch to near-realtime: inspired by a real production incident
Shivji Kumar Jha
 
PPTX
Move your on prem data to a lake in a Lake in Cloud
CAMMS
 
PPTX
Sql Start! 2020 - SQL Server Lift & Shift su Azure
Marco Obinu
 
KEY
MongoDB Case Study at NoSQL Now 2012
Sean Laurent
 
PDF
PostgreSQL 15 and its Major Features -(Aakash M - Mydbops) - Mydbops Opensour...
Mydbops
 
PPTX
Rubyslava + PyVo #48
Jozef Képesi
 
PDF
MySQL in the Hosted Cloud
Colin Charles
 
PPTX
Nagios XI Best Practices
Nagios
 
PPTX
Elasticsearch 5.0
Matias Cascallares
 
PPTX
A Case Study of NoSQL Adoption: What Drove Wordnik Non-Relational?
DATAVERSITY
 
PPTX
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Jeff Chu
 
PPTX
Porting ASP.NET applications to Windows Azure
Gunnar Peipman
 
PDF
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)
Gabriele Bartolini
 
Webinar - DreamObjects/Ceph Case Study
Ceph Community
 
AWS re:invent 2013 recap
Peter Sankauskas
 
Transitioning From SQL Server to MySQL - Presentation from Percona Live 2016
Dylan Butler
 
Postgres in Amazon RDS
Denish Patel
 
I3 - Running SharePoint 2016 in Azure the do's and dont's - Jasjit Chopra
SPS Paris
 
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review
Kenny Buntinx
 
PostgreSQL as a Big Data Platform
Chris Travers
 
Batch to near-realtime: inspired by a real production incident
Shivji Kumar Jha
 
Move your on prem data to a lake in a Lake in Cloud
CAMMS
 
Sql Start! 2020 - SQL Server Lift & Shift su Azure
Marco Obinu
 
MongoDB Case Study at NoSQL Now 2012
Sean Laurent
 
PostgreSQL 15 and its Major Features -(Aakash M - Mydbops) - Mydbops Opensour...
Mydbops
 
Rubyslava + PyVo #48
Jozef Képesi
 
MySQL in the Hosted Cloud
Colin Charles
 
Nagios XI Best Practices
Nagios
 
Elasticsearch 5.0
Matias Cascallares
 
A Case Study of NoSQL Adoption: What Drove Wordnik Non-Relational?
DATAVERSITY
 
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Jeff Chu
 
Porting ASP.NET applications to Windows Azure
Gunnar Peipman
 
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)
Gabriele Bartolini
 
Ad

More from Ines Sombra (10)

PDF
From 0 to Capacity Planning
Ines Sombra
 
PDF
Agile, Rugged, and Lean - The Paper Edition
Ines Sombra
 
PDF
Data antipatterns NYC Devops - 2014
Ines Sombra
 
PDF
How the Cloud is changing the world
Ines Sombra
 
PDF
Relational Databases in the Cloud - Great Wide Open 2014
Ines Sombra
 
PDF
Hello data
Ines Sombra
 
PDF
PgPyDay
Ines Sombra
 
PDF
Getting started with Riak in the Cloud
Ines Sombra
 
PDF
Riak at Engine Yard Cloud
Ines Sombra
 
KEY
North Bay Ruby Meetup 101911
Ines Sombra
 
From 0 to Capacity Planning
Ines Sombra
 
Agile, Rugged, and Lean - The Paper Edition
Ines Sombra
 
Data antipatterns NYC Devops - 2014
Ines Sombra
 
How the Cloud is changing the world
Ines Sombra
 
Relational Databases in the Cloud - Great Wide Open 2014
Ines Sombra
 
Hello data
Ines Sombra
 
PgPyDay
Ines Sombra
 
Getting started with Riak in the Cloud
Ines Sombra
 
Riak at Engine Yard Cloud
Ines Sombra
 
North Bay Ruby Meetup 101911
Ines Sombra
 

Recently uploaded (20)

PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PDF
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 

Postgres Open