SlideShare a Scribd company logo
© 2014 EDB All rights reserved. 1
Postgres in Production –
Enterprise Best Practices
© 2014 EDB All rights reserved. 2
•  Explore key Postgres usage patterns, to expose
−  Challenges users face in adoption, development, deployment
and maintenance
−  Frequently used tuning parameters
−  Common database maintenance practices
−  Database back-up and recovery strategies
•  Provide empirical data to help you anticipate needs
during your database lifecycles
•  Share ideas and resources to help you address
problems before they occur
Objectives
© 2014 EDB All rights reserved. 3
•  EnterpriseDB Overview (quick)
•  Postgres Support Experiences
Explore what kinds of issues your peers are experiencing with
Postgres, and when they’re encountering those issues
•  Database Health Checks
Share what we’ve learned in the field about how Postgres
databases are deployed, tuned and supported
•  Summary and Useful Resources
•  Q&A
Agenda
We will take two brief
polls during the webinar
to gather some group
info about your
Postgres usage and
areas of need
© 2014 EnterpriseDB Corporation. All rights reserved. 4
Brief EDB Overview
© 2014 EnterpriseDB Corporation. All rights reserved. 5
Postgres Plus
Advanced Server Postgres Plus
Cloud Database
High Availability
PerformanceManagement
REMOTE
DBA 24x7
SUPPORT
PROFESSIONAL
SERVICES
TRAINING
EDB Serves
All Your Postgres Needs
PostgreSQL
Security
© 2014 EnterpriseDB Corporation. All rights reserved. 6
POSTGRES
innovation
ENTERPRISE
reliability
24/7
support
Services
& training
Enterprise-class
features & tools
Indemnification
Product
road-map
Control
Thousands
of developers
Fast
development
cycles
Low cost
No vendor
lock-in
Advanced
features
Enabling commercial
adoption of Postgres
© 2014 EnterpriseDB Corporation. All rights reserved. 7
Postgres Support Experiences
© 2014 EnterpriseDB Corporation. All rights reserved. 8
•  Adoption of Postgres is growing fast
−  More and more Postgres users are not not ‘dyed in the wool’ Postgres
users – they come from Oracle, MS SQL, DB2, etc.
•  Postgres is moving into complex, mission-critical applications
−  Question patterns are changing from simple to complex
−  Expertise level is changing – when the customer calls, it is with a
(more) difficult problem or urgent issue
•  How do we make Postgres users even more successful?
−  Targeted white papers
−  Targeted training for support team
−  Pro-active training for users as part of our customer enablement
process
−  Balanced product strategy of new features, new capabilities and
usability
Why We Analyze Support Tickets
© 2014 EnterpriseDB Corporation. All rights reserved. 9
Ticket Volumes & Multi Year Growth
•  Q1 2014: ~ 2500 total customers
•  Analysis in this presentation is based on a representative
sample of tickets raised over a 12 months period
© 2014 EnterpriseDB Corporation. All rights reserved. 10
Observations
•  Postgres Plus Advanced Server: Strong emphasis on proprietary or commercially
supported OSS
•  PostgreSQL: Significantly less emphasis on proprietary or commercially supported
OSS – even though the customer has commercially supported Postgres
Distribution
Tickets and Platforms
© 2014 EnterpriseDB Corporation. All rights reserved. 11
When do customers call?
© 2014 EnterpriseDB Corporation. All rights reserved. 12
What Do Customers Call About?
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
POC Dev Deployment Maintenance
Tuning
Product Awareness
How to
Enhancements
Corruption
Bug
# Tickets Phase
Category POC Dev Deployment Maintenance Grand Total
Bug 8% 22% 9% 7% 10%
Corruption 0% 0% 0% 6% 2%
Enhancements 3% 4% 1% 0% 1%
How to 41% 33% 41% 29% 35%
Product Awareness 46% 39% 44% 39% 41%
Tuning 3% 2% 5% 19% 10%
Grand Total 100% 100% 100% 100% 100%
© 2014 EnterpriseDB Corporation. All rights reserved. 13
Where Do Users Need Help
# Tickets Phase
Category POC Dev Deployment Maintenance Grand Total
Connectors 0% 2% 1% 0% 3%
Bug 0% 0% 0% 0% 1%
How to 0% 1% 0% 0% 1%
Product Awareness 0% 1% 0% 0% 1%
Database 10% 9% 17% 37% 73%
Bug 1% 2% 1% 2% 6%
Corruption 0% 0% 0% 2% 2%
Enhancements 0% 0% 0% 0% 1%
How to 4% 3% 6%	
   10%	
   23%	
  
Product Awareness 4% 3% 8%	
   15%	
   31%	
  
Tuning 0% 0% 1% 7%	
   9%	
  
Replication 1% 4% 4% 2% 12%
Bug 0% 1% 0% 0% 2%
How to 0% 0% 3% 1% 4%
Product Awareness 1% 2% 1% 0% 4%
Tuning 0% 0% 0% 1% 1%
Utilities 1% 3% 6% 3% 12%
Bug 0% 1% 1% 0% 2%
Enhancements 0% 0% 0% 0% 0%
How to 1% 1% 3% 1% 6%
Product Awareness 0% 1% 3% 1% 5%
Grand Total 12% 17% 28% 42% 100%
© 2014 EnterpriseDB Corporation. All rights reserved. 14
Deployment/Database/Product Awareness & How To
−  How to set up connection pooling?
−  How to set up Hot Standby and Streaming Replica?
−  How to add table spaces?
−  How to partition?
−  How to upgrade from major version?
Maintenance/Database/Product Awareness & How To
−  How to find bloat in tables & indexes?
−  How to enable auditing selectively without performance impact?
−  What are the effects of changes to the values of postgresql.conf
file parameters wal_writer_delay, bgwriter_delay?
−  What is the correct configuration of hba_conf?
Select Top questions (not in rank order)
© 2014 EnterpriseDB Corporation. All rights reserved. 15
•  The majority of questions arise after PoC and
Development
•  Deployment and Maintenance are the more
challenging phases
•  Plan early to understand necessary practices
−  Backup, recovery, high availability strategies
−  Configuration parameter tuning to support growth
−  Vacuum and bloat
−  Connection pooling
Best Practices and Lessons from Support
© 2014 EnterpriseDB Corporation. All rights reserved. 16
Lessons Learned from the AHC
© 2014 EnterpriseDB Corporation. All rights reserved. 17
•  Systematic top-to-bottom review of the customer’s
Postgres production installation
•  Identifies issues and improvement opportunities in:
−  Performance
−  Scalability and support for business and data growth
−  Availability – Backup strategies, recovery, replication and
failover
−  Maintenance and tuning
−  Upgrades
•  The following analysis is based on a set of 20 AHCs
executed in 2013
Architectural Health Check
© 2014 EnterpriseDB Corporation. All rights reserved. 18
0%#
10%#
20%#
30%#
40%#
50%#
60%#
70%#
80%#
90%#
100%#
effec0ve_cache_size#
shared_buffers#
bgw
riter_lru_m
axpages#
w
al_buffers#
m
aintenance_w
ork_m
em
#
bgw
riter_lru_m
ul0plier#
w
ork_m
em
#
random
_page_cost#
checkpoint_segm
ents#
cpu_tuple_cost#
checkpoint_com
ple0on_target#
checkpoint_0m
eout#
log_line_prefix#
log_lock_w
aits#
log_m
in_dura0on_statem
ent#
autovacuum
_vacuum
_scale_factor#
checkpoint_w
arning#
autovacuum
_vacuum
_cost_delay#
autovacuum
_vacuum
_threshold#
autovacuum
_nap0m
e#
log_autovacuum
_m
in_dura0on#
Top$Database$Parameter$Adjustments$3$Ordered$by$Frequency$
Red bars:
experts expected top parameters,
including vacuum_cost_limit,
log_line_prefix,
log_min_duration_statement,
log_checkpoints
Top Database Parameter Adjustments – Ordered by Frequency
© 2014 EnterpriseDB Corporation. All rights reserved. 19
Kernel Parameters
0
2
4
6
8
10
12
14
16
© 2014 EnterpriseDB Corporation. All rights reserved. 20
Backup and Standby
hot
47%
warm
23%
None
18%
cold
12%
Standby Approach
Physical
Only
36%
Logical
Only
29%
Physical
and
Logical
14%
FS
Snapshot
7%
None
14%
Backup Approach
43% of customers could not execute
PITR (prior to AHC) – some had NO
backup in place
30% of customers would have been
slow or unable to recover from failure
© 2014 EnterpriseDB Corporation. All rights reserved. 21
Maintenance Tasks
Unused
Indexes
39%
Bloated
Indexes
30%
Bloated Tables
13%
Missing
Indexes
9%
Missing
PK
9%
Bloat management
(43%) is a key
production
problem
specific to
Postgres
© 2014 EnterpriseDB Corporation. All rights reserved. 22
•  Majority of Postgres production deployments are on
Linux based OS
•  Storage system is a key deployment consideration –
DAS/SAN/NFS
•  OS System Adjustments (dirty_background_ratio &
dirty_ratio) are also a major adjustment (70% & 45%)
Observations from the AHCs
© 2014 EnterpriseDB Corporation. All rights reserved. 23
Stage: post-production
Primary Issue:
•  Outage due to replication
failure - insufficient log info to
determine true root cause
Potential Pain Points
•  Concerns have reached limits
of scale and meeting
anticipated growth demands
Recommendations
•  Backup and recovery strategies
•  Implement continuous archive
recovery in addition to streaming
replication
•  Revised backup strategy with PITR
•  Tune auto-vacuum settings and
manually vacuum large tables
•  Indexes – create concurrent
indexes, REINDEX to reduce bloat
•  Parameter tuning – various for
kernel, memory settings and WALs
AHC Case Study #1
Use Case: on-line advertising service with hosted chat
© 2014 EnterpriseDB Corporation. All rights reserved. 24
Stage: pre-deployment
Primary Issues:
•  Performance in returning
results and timeouts
•  No backup strategy in place
Potential Pain Points
•  Expected data volume growth
and increased analysis –
scalability concerns
Recommendations
•  Kernel param updates (8)-
kernel.shmmax, kernel.shmall,
vm.dirty_ratio,
vm.dirty_background_ratio,…!
•  Database param changes (11) -
effective_cache_size,
shared_buffers,
bgwriter_lru_maxpages,
wal_buffers, work_mem, …
•  Re-architect specific heavily-
used database function
•  Detailed backup and availability
strategies
AHC Case Study #2
Use Case: data warehouse reporting at customer sites
© 2014 EnterpriseDB Corporation. All rights reserved. 25
Stage: post-production
Primary Issues:
•  System performance
•  Running out of connections
•  Slow queries/ locked tables
•  Advice on new SW release
Potential Pain Points
•  Concern for increased
workloads and scalability
Recommendations
•  max_connections was actually too
high, work_mem too low
•  Increase checkpoint parameters
−  checkpoint_segments,
checkpoint_timeout,
checkpoint_completion_
target, checkpoint_warning
•  Tune storage-related params (SAN)
- DB, memory, file system
work_mem, random_page_cost
•  Upgrade for performance and
security improvements
•  As workload increases, increase
RAM and re-tune related memory
config. parameters
AHC Case Study #3
Use Case: claims mgmt. system and reporting application
© 2014 EnterpriseDB Corporation. All rights reserved. 26
Summary and Useful Resources
© 2014 EnterpriseDB Corporation. All rights reserved. 27
•  Postgres users consistently experience different kinds
of challenges throughout the database lifecycle
−  Postgres product knowledge is a critical need at all lifecycle
stages
•  Many DBAs would benefit from better knowledge of
tuning Postgres for their storage infrastructures
•  Tuning databases early in the lifecycle can save a lot of
time, hassle and user friction after they’re deployed
•  Many organizations lack appropriate backup and
recovery strategies
Summary
© 2014 EnterpriseDB Corporation. All rights reserved. 28
•  Why do you need backup and recovery? Backup and
Recovery Strategies protect you in case of:
−  Catastrophic Device Failure
−  Site Failure
−  Maintenance
−  Operator Error
−  Compliance
−  Data Corruption
•  Key takeaways:
−  Logical backup provides granularity in objects (tables, table
spaces, databases); Physical backups provide granularity in
time for PITR.​
−  Understand requirements before diving into technology
solution
Backup and Recovery Strategies
© 2014 EnterpriseDB Corporation. All rights reserved. 29
•  Postgres provides
−  Logical backup (pg_dump)
−  Binary/physical backup (Filesystem Snapshots &
pg_basebackup)
−  WAL (write ahead logs)
−  Streaming replication
−  Delayed replication
•  Advanced solutions, such as RHCS, Veritas Clustering​,
EFM​​ and ​EDB BART - (now in Beta) augment
the basic capabilities
Backup and Recovery Strategies
© 2014 EnterpriseDB Corporation. All rights reserved. 30
•  Performance, Scalability, Availability
•  Three-day in-depth Postgres database review
•  Analysis of platform, database architecture and application usage
•  Provides tuning and management guidance based on EDB’s
expert best practices
Get an Architectural Health Check when you are
−  Not 100% sure about your backup/recovery strategy
−  Unsure your database is optimally tuned for your apps
−  Moving Postgres databases to the Cloud
−  Upgrading your servers to multi-core, high memory devices
−  Experiencing high growth in application usage
−  Experiencing deterioration of read and/or write throughput
Architectural Health Check
http://enterprisedb.com/services/packaged-services/health-check
© 2014 EnterpriseDB Corporation. All rights reserved. 31
For more information about an Architectural Health Check,
please visit www.enterprisedb.com/ahc
or email us - sales@enterprisedb.com

More Related Content

What's hot (20)

Minimize Headaches with Your Postgres Deployment
Minimize Headaches with Your Postgres DeploymentMinimize Headaches with Your Postgres Deployment
Minimize Headaches with Your Postgres Deployment
EDB
 
Which Postgres is Right for You? - Part 2
Which Postgres is Right for You? - Part 2Which Postgres is Right for You? - Part 2
Which Postgres is Right for You? - Part 2
EDB
 
DevOps Culture & Enablement with Postgres Plus Cloud Database
DevOps Culture & Enablement with Postgres Plus Cloud DatabaseDevOps Culture & Enablement with Postgres Plus Cloud Database
DevOps Culture & Enablement with Postgres Plus Cloud Database
EDB
 
5 Advantages of EDB's RemoteDBA Services
5 Advantages of EDB's RemoteDBA Services5 Advantages of EDB's RemoteDBA Services
5 Advantages of EDB's RemoteDBA Services
EDB
 
EnterpriseDB BackUp and Recovery Tool
EnterpriseDB BackUp and Recovery ToolEnterpriseDB BackUp and Recovery Tool
EnterpriseDB BackUp and Recovery Tool
EDB
 
EDB Postgres with Containers
EDB Postgres with ContainersEDB Postgres with Containers
EDB Postgres with Containers
EDB
 
An Expert Guide to Migrating Legacy Databases to PostgreSQL
An Expert Guide to Migrating Legacy Databases to PostgreSQLAn Expert Guide to Migrating Legacy Databases to PostgreSQL
An Expert Guide to Migrating Legacy Databases to PostgreSQL
EDB
 
5 Tips to Simplify the Management of Your Postgres Database
5 Tips to Simplify the Management of Your Postgres Database5 Tips to Simplify the Management of Your Postgres Database
5 Tips to Simplify the Management of Your Postgres Database
EDB
 
Expert Guide to Migrating Legacy Databases to Postgres
Expert Guide to Migrating Legacy Databases to PostgresExpert Guide to Migrating Legacy Databases to Postgres
Expert Guide to Migrating Legacy Databases to Postgres
EDB
 
Best Practices & Lessons Learned from Deployment of PostgreSQL
 Best Practices & Lessons Learned from Deployment of PostgreSQL Best Practices & Lessons Learned from Deployment of PostgreSQL
Best Practices & Lessons Learned from Deployment of PostgreSQL
EDB
 
A Peek in the Elephant's Trunk
A Peek in the Elephant's TrunkA Peek in the Elephant's Trunk
A Peek in the Elephant's Trunk
EDB
 
PostgreSQL as a Strategic Tool
PostgreSQL as a Strategic ToolPostgreSQL as a Strategic Tool
PostgreSQL as a Strategic Tool
EDB
 
Migration DB2 to EDB - Project Experience
 Migration DB2 to EDB - Project Experience Migration DB2 to EDB - Project Experience
Migration DB2 to EDB - Project Experience
EDB
 
How to use postgresql.conf to configure and tune the PostgreSQL server
How to use postgresql.conf to configure and tune the PostgreSQL serverHow to use postgresql.conf to configure and tune the PostgreSQL server
How to use postgresql.conf to configure and tune the PostgreSQL server
EDB
 
Introducing Postgres Plus Advanced Server 9.4
Introducing Postgres Plus Advanced Server 9.4Introducing Postgres Plus Advanced Server 9.4
Introducing Postgres Plus Advanced Server 9.4
EDB
 
Greenplum Database Open Source December 2015
Greenplum Database Open Source December 2015Greenplum Database Open Source December 2015
Greenplum Database Open Source December 2015
PivotalOpenSourceHub
 
Why Care Risk Choose PostgreSQL
Why Care Risk Choose PostgreSQLWhy Care Risk Choose PostgreSQL
Why Care Risk Choose PostgreSQL
EDB
 
Public Sector Virtual Town Hall: High Availability for PostgreSQL
Public Sector Virtual Town Hall: High Availability for PostgreSQLPublic Sector Virtual Town Hall: High Availability for PostgreSQL
Public Sector Virtual Town Hall: High Availability for PostgreSQL
EDB
 
Beginner's Guide to High Availability for Postgres
Beginner's Guide to High Availability for PostgresBeginner's Guide to High Availability for Postgres
Beginner's Guide to High Availability for Postgres
EDB
 
9/ IBM POWER @ OPEN'16
9/ IBM POWER @ OPEN'169/ IBM POWER @ OPEN'16
9/ IBM POWER @ OPEN'16
Kangaroot
 
Minimize Headaches with Your Postgres Deployment
Minimize Headaches with Your Postgres DeploymentMinimize Headaches with Your Postgres Deployment
Minimize Headaches with Your Postgres Deployment
EDB
 
Which Postgres is Right for You? - Part 2
Which Postgres is Right for You? - Part 2Which Postgres is Right for You? - Part 2
Which Postgres is Right for You? - Part 2
EDB
 
DevOps Culture & Enablement with Postgres Plus Cloud Database
DevOps Culture & Enablement with Postgres Plus Cloud DatabaseDevOps Culture & Enablement with Postgres Plus Cloud Database
DevOps Culture & Enablement with Postgres Plus Cloud Database
EDB
 
5 Advantages of EDB's RemoteDBA Services
5 Advantages of EDB's RemoteDBA Services5 Advantages of EDB's RemoteDBA Services
5 Advantages of EDB's RemoteDBA Services
EDB
 
EnterpriseDB BackUp and Recovery Tool
EnterpriseDB BackUp and Recovery ToolEnterpriseDB BackUp and Recovery Tool
EnterpriseDB BackUp and Recovery Tool
EDB
 
EDB Postgres with Containers
EDB Postgres with ContainersEDB Postgres with Containers
EDB Postgres with Containers
EDB
 
An Expert Guide to Migrating Legacy Databases to PostgreSQL
An Expert Guide to Migrating Legacy Databases to PostgreSQLAn Expert Guide to Migrating Legacy Databases to PostgreSQL
An Expert Guide to Migrating Legacy Databases to PostgreSQL
EDB
 
5 Tips to Simplify the Management of Your Postgres Database
5 Tips to Simplify the Management of Your Postgres Database5 Tips to Simplify the Management of Your Postgres Database
5 Tips to Simplify the Management of Your Postgres Database
EDB
 
Expert Guide to Migrating Legacy Databases to Postgres
Expert Guide to Migrating Legacy Databases to PostgresExpert Guide to Migrating Legacy Databases to Postgres
Expert Guide to Migrating Legacy Databases to Postgres
EDB
 
Best Practices & Lessons Learned from Deployment of PostgreSQL
 Best Practices & Lessons Learned from Deployment of PostgreSQL Best Practices & Lessons Learned from Deployment of PostgreSQL
Best Practices & Lessons Learned from Deployment of PostgreSQL
EDB
 
A Peek in the Elephant's Trunk
A Peek in the Elephant's TrunkA Peek in the Elephant's Trunk
A Peek in the Elephant's Trunk
EDB
 
PostgreSQL as a Strategic Tool
PostgreSQL as a Strategic ToolPostgreSQL as a Strategic Tool
PostgreSQL as a Strategic Tool
EDB
 
Migration DB2 to EDB - Project Experience
 Migration DB2 to EDB - Project Experience Migration DB2 to EDB - Project Experience
Migration DB2 to EDB - Project Experience
EDB
 
How to use postgresql.conf to configure and tune the PostgreSQL server
How to use postgresql.conf to configure and tune the PostgreSQL serverHow to use postgresql.conf to configure and tune the PostgreSQL server
How to use postgresql.conf to configure and tune the PostgreSQL server
EDB
 
Introducing Postgres Plus Advanced Server 9.4
Introducing Postgres Plus Advanced Server 9.4Introducing Postgres Plus Advanced Server 9.4
Introducing Postgres Plus Advanced Server 9.4
EDB
 
Greenplum Database Open Source December 2015
Greenplum Database Open Source December 2015Greenplum Database Open Source December 2015
Greenplum Database Open Source December 2015
PivotalOpenSourceHub
 
Why Care Risk Choose PostgreSQL
Why Care Risk Choose PostgreSQLWhy Care Risk Choose PostgreSQL
Why Care Risk Choose PostgreSQL
EDB
 
Public Sector Virtual Town Hall: High Availability for PostgreSQL
Public Sector Virtual Town Hall: High Availability for PostgreSQLPublic Sector Virtual Town Hall: High Availability for PostgreSQL
Public Sector Virtual Town Hall: High Availability for PostgreSQL
EDB
 
Beginner's Guide to High Availability for Postgres
Beginner's Guide to High Availability for PostgresBeginner's Guide to High Availability for Postgres
Beginner's Guide to High Availability for Postgres
EDB
 
9/ IBM POWER @ OPEN'16
9/ IBM POWER @ OPEN'169/ IBM POWER @ OPEN'16
9/ IBM POWER @ OPEN'16
Kangaroot
 

Similar to Postgres in Production - Best Practices 2014 (20)

Postgres in production.2014
Postgres in production.2014Postgres in production.2014
Postgres in production.2014
EDB
 
Migrations, Health Checks, and Support Experiences - Postgres from the Servic...
Migrations, Health Checks, and Support Experiences - Postgres from the Servic...Migrations, Health Checks, and Support Experiences - Postgres from the Servic...
Migrations, Health Checks, and Support Experiences - Postgres from the Servic...
EDB
 
Tales from the Postgres Front - and What We Can Learn
Tales from the Postgres Front - and What We Can LearnTales from the Postgres Front - and What We Can Learn
Tales from the Postgres Front - and What We Can Learn
EDB
 
Best Practices for Becoming an Exceptional Postgres DBA
Best Practices for Becoming an Exceptional Postgres DBA Best Practices for Becoming an Exceptional Postgres DBA
Best Practices for Becoming an Exceptional Postgres DBA
EDB
 
Top10 list planningpostgresdeployment.2014
Top10 list planningpostgresdeployment.2014Top10 list planningpostgresdeployment.2014
Top10 list planningpostgresdeployment.2014
EDB
 
Tapping into New Postgres Resources with Remote DBAs
Tapping into New Postgres Resources with Remote DBAsTapping into New Postgres Resources with Remote DBAs
Tapping into New Postgres Resources with Remote DBAs
EDB
 
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
EDB
 
PostgreSQL as a Strategic Tool
PostgreSQL as a Strategic ToolPostgreSQL as a Strategic Tool
PostgreSQL as a Strategic Tool
EDB
 
How to Upgrade Major Version of Your Production PostgreSQL
How to Upgrade Major Version of Your Production PostgreSQLHow to Upgrade Major Version of Your Production PostgreSQL
How to Upgrade Major Version of Your Production PostgreSQL
Keisuke Suzuki
 
Enterprise grade deployment and security with PostgreSQL
Enterprise grade deployment and security with PostgreSQLEnterprise grade deployment and security with PostgreSQL
Enterprise grade deployment and security with PostgreSQL
Himanchali -
 
Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...
Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...
Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...
PostgreSQL-Consulting
 
How to Design for Database High Availability
How to Design for Database High AvailabilityHow to Design for Database High Availability
How to Design for Database High Availability
EDB
 
Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008
Robert Treat
 
How to Monitor Postgres Like a Pro!
How to Monitor Postgres Like a Pro!How to Monitor Postgres Like a Pro!
How to Monitor Postgres Like a Pro!
EDB
 
Which postgres is_right_for_me_20130517
Which postgres is_right_for_me_20130517Which postgres is_right_for_me_20130517
Which postgres is_right_for_me_20130517
EDB
 
9.6_Course Material-Postgresql_002.pdf
9.6_Course Material-Postgresql_002.pdf9.6_Course Material-Postgresql_002.pdf
9.6_Course Material-Postgresql_002.pdf
sreedb2
 
Exploring Postgres with Bruce Momjian
Exploring Postgres with Bruce MomjianExploring Postgres with Bruce Momjian
Exploring Postgres with Bruce Momjian
EDB
 
Community vs. Commercial Open Source
Community vs. Commercial Open SourceCommunity vs. Commercial Open Source
Community vs. Commercial Open Source
Justin Reock
 
PostgreSQL High Availability in a Containerized World
PostgreSQL High Availability in a Containerized WorldPostgreSQL High Availability in a Containerized World
PostgreSQL High Availability in a Containerized World
Jignesh Shah
 
EDB corporate prague_march_2015
EDB corporate prague_march_2015EDB corporate prague_march_2015
EDB corporate prague_march_2015
Miloslav Hašek
 
Postgres in production.2014
Postgres in production.2014Postgres in production.2014
Postgres in production.2014
EDB
 
Migrations, Health Checks, and Support Experiences - Postgres from the Servic...
Migrations, Health Checks, and Support Experiences - Postgres from the Servic...Migrations, Health Checks, and Support Experiences - Postgres from the Servic...
Migrations, Health Checks, and Support Experiences - Postgres from the Servic...
EDB
 
Tales from the Postgres Front - and What We Can Learn
Tales from the Postgres Front - and What We Can LearnTales from the Postgres Front - and What We Can Learn
Tales from the Postgres Front - and What We Can Learn
EDB
 
Best Practices for Becoming an Exceptional Postgres DBA
Best Practices for Becoming an Exceptional Postgres DBA Best Practices for Becoming an Exceptional Postgres DBA
Best Practices for Becoming an Exceptional Postgres DBA
EDB
 
Top10 list planningpostgresdeployment.2014
Top10 list planningpostgresdeployment.2014Top10 list planningpostgresdeployment.2014
Top10 list planningpostgresdeployment.2014
EDB
 
Tapping into New Postgres Resources with Remote DBAs
Tapping into New Postgres Resources with Remote DBAsTapping into New Postgres Resources with Remote DBAs
Tapping into New Postgres Resources with Remote DBAs
EDB
 
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
EDB
 
PostgreSQL as a Strategic Tool
PostgreSQL as a Strategic ToolPostgreSQL as a Strategic Tool
PostgreSQL as a Strategic Tool
EDB
 
How to Upgrade Major Version of Your Production PostgreSQL
How to Upgrade Major Version of Your Production PostgreSQLHow to Upgrade Major Version of Your Production PostgreSQL
How to Upgrade Major Version of Your Production PostgreSQL
Keisuke Suzuki
 
Enterprise grade deployment and security with PostgreSQL
Enterprise grade deployment and security with PostgreSQLEnterprise grade deployment and security with PostgreSQL
Enterprise grade deployment and security with PostgreSQL
Himanchali -
 
Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...
Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...
Ilya Kosmodemiansky - An ultimate guide to upgrading your PostgreSQL installa...
PostgreSQL-Consulting
 
How to Design for Database High Availability
How to Design for Database High AvailabilityHow to Design for Database High Availability
How to Design for Database High Availability
EDB
 
Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008Pro PostgreSQL, OSCon 2008
Pro PostgreSQL, OSCon 2008
Robert Treat
 
How to Monitor Postgres Like a Pro!
How to Monitor Postgres Like a Pro!How to Monitor Postgres Like a Pro!
How to Monitor Postgres Like a Pro!
EDB
 
Which postgres is_right_for_me_20130517
Which postgres is_right_for_me_20130517Which postgres is_right_for_me_20130517
Which postgres is_right_for_me_20130517
EDB
 
9.6_Course Material-Postgresql_002.pdf
9.6_Course Material-Postgresql_002.pdf9.6_Course Material-Postgresql_002.pdf
9.6_Course Material-Postgresql_002.pdf
sreedb2
 
Exploring Postgres with Bruce Momjian
Exploring Postgres with Bruce MomjianExploring Postgres with Bruce Momjian
Exploring Postgres with Bruce Momjian
EDB
 
Community vs. Commercial Open Source
Community vs. Commercial Open SourceCommunity vs. Commercial Open Source
Community vs. Commercial Open Source
Justin Reock
 
PostgreSQL High Availability in a Containerized World
PostgreSQL High Availability in a Containerized WorldPostgreSQL High Availability in a Containerized World
PostgreSQL High Availability in a Containerized World
Jignesh Shah
 
EDB corporate prague_march_2015
EDB corporate prague_march_2015EDB corporate prague_march_2015
EDB corporate prague_march_2015
Miloslav Hašek
 
Ad

More from EDB (20)

Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSCloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
EDB
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenDie 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
EDB
 
Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube
EDB
 
EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021
EDB
 
Benchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLBenchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQL
EDB
 
Las Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQLLas Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQL
EDB
 
NoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLNoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQL
EDB
 
Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?
EDB
 
Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQL
EDB
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
EDB
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAIN
EDB
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQL
EDB
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQL
EDB
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!
EDB
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJ
EDB
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos données
EDB
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - Italiano
EDB
 
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
EDB
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
EDB
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJ
EDB
 
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSCloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
EDB
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr UnternehmenDie 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
EDB
 
Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube Migre sus bases de datos Oracle a la nube
Migre sus bases de datos Oracle a la nube
EDB
 
EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021EFM Office Hours - APJ - July 29, 2021
EFM Office Hours - APJ - July 29, 2021
EDB
 
Benchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLBenchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQL
EDB
 
Las Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQLLas Variaciones de la Replicación de PostgreSQL
Las Variaciones de la Replicación de PostgreSQL
EDB
 
NoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLNoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQL
EDB
 
Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?Is There Anything PgBouncer Can’t Do?
Is There Anything PgBouncer Can’t Do?
EDB
 
Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQL
EDB
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
EDB
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAIN
EDB
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQL
EDB
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQL
EDB
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!
EDB
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJ
EDB
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos données
EDB
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - Italiano
EDB
 
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
EDB
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
EDB
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJ
EDB
 
Ad

Recently uploaded (20)

6th Power Grid Model Meetup - 21 May 2025
6th Power Grid Model Meetup - 21 May 20256th Power Grid Model Meetup - 21 May 2025
6th Power Grid Model Meetup - 21 May 2025
DanBrown980551
 
What is Oracle EPM A Guide to Oracle EPM Cloud Everything You Need to Know
What is Oracle EPM A Guide to Oracle EPM Cloud Everything You Need to KnowWhat is Oracle EPM A Guide to Oracle EPM Cloud Everything You Need to Know
What is Oracle EPM A Guide to Oracle EPM Cloud Everything You Need to Know
SMACT Works
 
DevOps in the Modern Era - Thoughtfully Critical Podcast
DevOps in the Modern Era - Thoughtfully Critical PodcastDevOps in the Modern Era - Thoughtfully Critical Podcast
DevOps in the Modern Era - Thoughtfully Critical Podcast
Chris Wahl
 
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
Edge AI and Vision Alliance
 
Domino IQ – Was Sie erwartet, erste Schritte und Anwendungsfälle
Domino IQ – Was Sie erwartet, erste Schritte und AnwendungsfälleDomino IQ – Was Sie erwartet, erste Schritte und Anwendungsfälle
Domino IQ – Was Sie erwartet, erste Schritte und Anwendungsfälle
panagenda
 
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and ImplementationAI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
Christine Shepherd
 
If You Use Databricks, You Definitely Need FME
If You Use Databricks, You Definitely Need FMEIf You Use Databricks, You Definitely Need FME
If You Use Databricks, You Definitely Need FME
Safe Software
 
How to Detect Outliers in IBM SPSS Statistics.pptx
How to Detect Outliers in IBM SPSS Statistics.pptxHow to Detect Outliers in IBM SPSS Statistics.pptx
How to Detect Outliers in IBM SPSS Statistics.pptx
Version 1 Analytics
 
MCP vs A2A vs ACP: Choosing the Right Protocol | Bluebash
MCP vs A2A vs ACP: Choosing the Right Protocol | BluebashMCP vs A2A vs ACP: Choosing the Right Protocol | Bluebash
MCP vs A2A vs ACP: Choosing the Right Protocol | Bluebash
Bluebash
 
Azure vs AWS Which Cloud Platform Is Best for Your Business in 2025
Azure vs AWS  Which Cloud Platform Is Best for Your Business in 2025Azure vs AWS  Which Cloud Platform Is Best for Your Business in 2025
Azure vs AWS Which Cloud Platform Is Best for Your Business in 2025
Infrassist Technologies Pvt. Ltd.
 
Developing Schemas with FME and Excel - Peak of Data & AI 2025
Developing Schemas with FME and Excel - Peak of Data & AI 2025Developing Schemas with FME and Excel - Peak of Data & AI 2025
Developing Schemas with FME and Excel - Peak of Data & AI 2025
Safe Software
 
End-to-end Assurance for SD-WAN & SASE with ThousandEyes
End-to-end Assurance for SD-WAN & SASE with ThousandEyesEnd-to-end Assurance for SD-WAN & SASE with ThousandEyes
End-to-end Assurance for SD-WAN & SASE with ThousandEyes
ThousandEyes
 
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Shashikant Jagtap
 
Oracle Cloud Infrastructure AI Foundations
Oracle Cloud Infrastructure AI FoundationsOracle Cloud Infrastructure AI Foundations
Oracle Cloud Infrastructure AI Foundations
VICTOR MAESTRE RAMIREZ
 
AI Creative Generates You Passive Income Like Never Before
AI Creative Generates You Passive Income Like Never BeforeAI Creative Generates You Passive Income Like Never Before
AI Creative Generates You Passive Income Like Never Before
SivaRajan47
 
ISOIEC 42005 Revolutionalises AI Impact Assessment.pptx
ISOIEC 42005 Revolutionalises AI Impact Assessment.pptxISOIEC 42005 Revolutionalises AI Impact Assessment.pptx
ISOIEC 42005 Revolutionalises AI Impact Assessment.pptx
AyilurRamnath1
 
Evaluation Challenges in Using Generative AI for Science & Technical Content
Evaluation Challenges in Using Generative AI for Science & Technical ContentEvaluation Challenges in Using Generative AI for Science & Technical Content
Evaluation Challenges in Using Generative AI for Science & Technical Content
Paul Groth
 
Extend-Microsoft365-with-Copilot-agents.pptx
Extend-Microsoft365-with-Copilot-agents.pptxExtend-Microsoft365-with-Copilot-agents.pptx
Extend-Microsoft365-with-Copilot-agents.pptx
hoang971
 
LSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection FunctionLSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection Function
Takahiro Harada
 
Domino IQ – What to Expect, First Steps and Use Cases
Domino IQ – What to Expect, First Steps and Use CasesDomino IQ – What to Expect, First Steps and Use Cases
Domino IQ – What to Expect, First Steps and Use Cases
panagenda
 
6th Power Grid Model Meetup - 21 May 2025
6th Power Grid Model Meetup - 21 May 20256th Power Grid Model Meetup - 21 May 2025
6th Power Grid Model Meetup - 21 May 2025
DanBrown980551
 
What is Oracle EPM A Guide to Oracle EPM Cloud Everything You Need to Know
What is Oracle EPM A Guide to Oracle EPM Cloud Everything You Need to KnowWhat is Oracle EPM A Guide to Oracle EPM Cloud Everything You Need to Know
What is Oracle EPM A Guide to Oracle EPM Cloud Everything You Need to Know
SMACT Works
 
DevOps in the Modern Era - Thoughtfully Critical Podcast
DevOps in the Modern Era - Thoughtfully Critical PodcastDevOps in the Modern Era - Thoughtfully Critical Podcast
DevOps in the Modern Era - Thoughtfully Critical Podcast
Chris Wahl
 
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
Edge AI and Vision Alliance
 
Domino IQ – Was Sie erwartet, erste Schritte und Anwendungsfälle
Domino IQ – Was Sie erwartet, erste Schritte und AnwendungsfälleDomino IQ – Was Sie erwartet, erste Schritte und Anwendungsfälle
Domino IQ – Was Sie erwartet, erste Schritte und Anwendungsfälle
panagenda
 
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and ImplementationAI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
Christine Shepherd
 
If You Use Databricks, You Definitely Need FME
If You Use Databricks, You Definitely Need FMEIf You Use Databricks, You Definitely Need FME
If You Use Databricks, You Definitely Need FME
Safe Software
 
How to Detect Outliers in IBM SPSS Statistics.pptx
How to Detect Outliers in IBM SPSS Statistics.pptxHow to Detect Outliers in IBM SPSS Statistics.pptx
How to Detect Outliers in IBM SPSS Statistics.pptx
Version 1 Analytics
 
MCP vs A2A vs ACP: Choosing the Right Protocol | Bluebash
MCP vs A2A vs ACP: Choosing the Right Protocol | BluebashMCP vs A2A vs ACP: Choosing the Right Protocol | Bluebash
MCP vs A2A vs ACP: Choosing the Right Protocol | Bluebash
Bluebash
 
Azure vs AWS Which Cloud Platform Is Best for Your Business in 2025
Azure vs AWS  Which Cloud Platform Is Best for Your Business in 2025Azure vs AWS  Which Cloud Platform Is Best for Your Business in 2025
Azure vs AWS Which Cloud Platform Is Best for Your Business in 2025
Infrassist Technologies Pvt. Ltd.
 
Developing Schemas with FME and Excel - Peak of Data & AI 2025
Developing Schemas with FME and Excel - Peak of Data & AI 2025Developing Schemas with FME and Excel - Peak of Data & AI 2025
Developing Schemas with FME and Excel - Peak of Data & AI 2025
Safe Software
 
End-to-end Assurance for SD-WAN & SASE with ThousandEyes
End-to-end Assurance for SD-WAN & SASE with ThousandEyesEnd-to-end Assurance for SD-WAN & SASE with ThousandEyes
End-to-end Assurance for SD-WAN & SASE with ThousandEyes
ThousandEyes
 
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Shashikant Jagtap
 
Oracle Cloud Infrastructure AI Foundations
Oracle Cloud Infrastructure AI FoundationsOracle Cloud Infrastructure AI Foundations
Oracle Cloud Infrastructure AI Foundations
VICTOR MAESTRE RAMIREZ
 
AI Creative Generates You Passive Income Like Never Before
AI Creative Generates You Passive Income Like Never BeforeAI Creative Generates You Passive Income Like Never Before
AI Creative Generates You Passive Income Like Never Before
SivaRajan47
 
ISOIEC 42005 Revolutionalises AI Impact Assessment.pptx
ISOIEC 42005 Revolutionalises AI Impact Assessment.pptxISOIEC 42005 Revolutionalises AI Impact Assessment.pptx
ISOIEC 42005 Revolutionalises AI Impact Assessment.pptx
AyilurRamnath1
 
Evaluation Challenges in Using Generative AI for Science & Technical Content
Evaluation Challenges in Using Generative AI for Science & Technical ContentEvaluation Challenges in Using Generative AI for Science & Technical Content
Evaluation Challenges in Using Generative AI for Science & Technical Content
Paul Groth
 
Extend-Microsoft365-with-Copilot-agents.pptx
Extend-Microsoft365-with-Copilot-agents.pptxExtend-Microsoft365-with-Copilot-agents.pptx
Extend-Microsoft365-with-Copilot-agents.pptx
hoang971
 
LSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection FunctionLSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection Function
Takahiro Harada
 
Domino IQ – What to Expect, First Steps and Use Cases
Domino IQ – What to Expect, First Steps and Use CasesDomino IQ – What to Expect, First Steps and Use Cases
Domino IQ – What to Expect, First Steps and Use Cases
panagenda
 

Postgres in Production - Best Practices 2014

  • 1. © 2014 EDB All rights reserved. 1 Postgres in Production – Enterprise Best Practices
  • 2. © 2014 EDB All rights reserved. 2 •  Explore key Postgres usage patterns, to expose −  Challenges users face in adoption, development, deployment and maintenance −  Frequently used tuning parameters −  Common database maintenance practices −  Database back-up and recovery strategies •  Provide empirical data to help you anticipate needs during your database lifecycles •  Share ideas and resources to help you address problems before they occur Objectives
  • 3. © 2014 EDB All rights reserved. 3 •  EnterpriseDB Overview (quick) •  Postgres Support Experiences Explore what kinds of issues your peers are experiencing with Postgres, and when they’re encountering those issues •  Database Health Checks Share what we’ve learned in the field about how Postgres databases are deployed, tuned and supported •  Summary and Useful Resources •  Q&A Agenda We will take two brief polls during the webinar to gather some group info about your Postgres usage and areas of need
  • 4. © 2014 EnterpriseDB Corporation. All rights reserved. 4 Brief EDB Overview
  • 5. © 2014 EnterpriseDB Corporation. All rights reserved. 5 Postgres Plus Advanced Server Postgres Plus Cloud Database High Availability PerformanceManagement REMOTE DBA 24x7 SUPPORT PROFESSIONAL SERVICES TRAINING EDB Serves All Your Postgres Needs PostgreSQL Security
  • 6. © 2014 EnterpriseDB Corporation. All rights reserved. 6 POSTGRES innovation ENTERPRISE reliability 24/7 support Services & training Enterprise-class features & tools Indemnification Product road-map Control Thousands of developers Fast development cycles Low cost No vendor lock-in Advanced features Enabling commercial adoption of Postgres
  • 7. © 2014 EnterpriseDB Corporation. All rights reserved. 7 Postgres Support Experiences
  • 8. © 2014 EnterpriseDB Corporation. All rights reserved. 8 •  Adoption of Postgres is growing fast −  More and more Postgres users are not not ‘dyed in the wool’ Postgres users – they come from Oracle, MS SQL, DB2, etc. •  Postgres is moving into complex, mission-critical applications −  Question patterns are changing from simple to complex −  Expertise level is changing – when the customer calls, it is with a (more) difficult problem or urgent issue •  How do we make Postgres users even more successful? −  Targeted white papers −  Targeted training for support team −  Pro-active training for users as part of our customer enablement process −  Balanced product strategy of new features, new capabilities and usability Why We Analyze Support Tickets
  • 9. © 2014 EnterpriseDB Corporation. All rights reserved. 9 Ticket Volumes & Multi Year Growth •  Q1 2014: ~ 2500 total customers •  Analysis in this presentation is based on a representative sample of tickets raised over a 12 months period
  • 10. © 2014 EnterpriseDB Corporation. All rights reserved. 10 Observations •  Postgres Plus Advanced Server: Strong emphasis on proprietary or commercially supported OSS •  PostgreSQL: Significantly less emphasis on proprietary or commercially supported OSS – even though the customer has commercially supported Postgres Distribution Tickets and Platforms
  • 11. © 2014 EnterpriseDB Corporation. All rights reserved. 11 When do customers call?
  • 12. © 2014 EnterpriseDB Corporation. All rights reserved. 12 What Do Customers Call About? 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% POC Dev Deployment Maintenance Tuning Product Awareness How to Enhancements Corruption Bug # Tickets Phase Category POC Dev Deployment Maintenance Grand Total Bug 8% 22% 9% 7% 10% Corruption 0% 0% 0% 6% 2% Enhancements 3% 4% 1% 0% 1% How to 41% 33% 41% 29% 35% Product Awareness 46% 39% 44% 39% 41% Tuning 3% 2% 5% 19% 10% Grand Total 100% 100% 100% 100% 100%
  • 13. © 2014 EnterpriseDB Corporation. All rights reserved. 13 Where Do Users Need Help # Tickets Phase Category POC Dev Deployment Maintenance Grand Total Connectors 0% 2% 1% 0% 3% Bug 0% 0% 0% 0% 1% How to 0% 1% 0% 0% 1% Product Awareness 0% 1% 0% 0% 1% Database 10% 9% 17% 37% 73% Bug 1% 2% 1% 2% 6% Corruption 0% 0% 0% 2% 2% Enhancements 0% 0% 0% 0% 1% How to 4% 3% 6%   10%   23%   Product Awareness 4% 3% 8%   15%   31%   Tuning 0% 0% 1% 7%   9%   Replication 1% 4% 4% 2% 12% Bug 0% 1% 0% 0% 2% How to 0% 0% 3% 1% 4% Product Awareness 1% 2% 1% 0% 4% Tuning 0% 0% 0% 1% 1% Utilities 1% 3% 6% 3% 12% Bug 0% 1% 1% 0% 2% Enhancements 0% 0% 0% 0% 0% How to 1% 1% 3% 1% 6% Product Awareness 0% 1% 3% 1% 5% Grand Total 12% 17% 28% 42% 100%
  • 14. © 2014 EnterpriseDB Corporation. All rights reserved. 14 Deployment/Database/Product Awareness & How To −  How to set up connection pooling? −  How to set up Hot Standby and Streaming Replica? −  How to add table spaces? −  How to partition? −  How to upgrade from major version? Maintenance/Database/Product Awareness & How To −  How to find bloat in tables & indexes? −  How to enable auditing selectively without performance impact? −  What are the effects of changes to the values of postgresql.conf file parameters wal_writer_delay, bgwriter_delay? −  What is the correct configuration of hba_conf? Select Top questions (not in rank order)
  • 15. © 2014 EnterpriseDB Corporation. All rights reserved. 15 •  The majority of questions arise after PoC and Development •  Deployment and Maintenance are the more challenging phases •  Plan early to understand necessary practices −  Backup, recovery, high availability strategies −  Configuration parameter tuning to support growth −  Vacuum and bloat −  Connection pooling Best Practices and Lessons from Support
  • 16. © 2014 EnterpriseDB Corporation. All rights reserved. 16 Lessons Learned from the AHC
  • 17. © 2014 EnterpriseDB Corporation. All rights reserved. 17 •  Systematic top-to-bottom review of the customer’s Postgres production installation •  Identifies issues and improvement opportunities in: −  Performance −  Scalability and support for business and data growth −  Availability – Backup strategies, recovery, replication and failover −  Maintenance and tuning −  Upgrades •  The following analysis is based on a set of 20 AHCs executed in 2013 Architectural Health Check
  • 18. © 2014 EnterpriseDB Corporation. All rights reserved. 18 0%# 10%# 20%# 30%# 40%# 50%# 60%# 70%# 80%# 90%# 100%# effec0ve_cache_size# shared_buffers# bgw riter_lru_m axpages# w al_buffers# m aintenance_w ork_m em # bgw riter_lru_m ul0plier# w ork_m em # random _page_cost# checkpoint_segm ents# cpu_tuple_cost# checkpoint_com ple0on_target# checkpoint_0m eout# log_line_prefix# log_lock_w aits# log_m in_dura0on_statem ent# autovacuum _vacuum _scale_factor# checkpoint_w arning# autovacuum _vacuum _cost_delay# autovacuum _vacuum _threshold# autovacuum _nap0m e# log_autovacuum _m in_dura0on# Top$Database$Parameter$Adjustments$3$Ordered$by$Frequency$ Red bars: experts expected top parameters, including vacuum_cost_limit, log_line_prefix, log_min_duration_statement, log_checkpoints Top Database Parameter Adjustments – Ordered by Frequency
  • 19. © 2014 EnterpriseDB Corporation. All rights reserved. 19 Kernel Parameters 0 2 4 6 8 10 12 14 16
  • 20. © 2014 EnterpriseDB Corporation. All rights reserved. 20 Backup and Standby hot 47% warm 23% None 18% cold 12% Standby Approach Physical Only 36% Logical Only 29% Physical and Logical 14% FS Snapshot 7% None 14% Backup Approach 43% of customers could not execute PITR (prior to AHC) – some had NO backup in place 30% of customers would have been slow or unable to recover from failure
  • 21. © 2014 EnterpriseDB Corporation. All rights reserved. 21 Maintenance Tasks Unused Indexes 39% Bloated Indexes 30% Bloated Tables 13% Missing Indexes 9% Missing PK 9% Bloat management (43%) is a key production problem specific to Postgres
  • 22. © 2014 EnterpriseDB Corporation. All rights reserved. 22 •  Majority of Postgres production deployments are on Linux based OS •  Storage system is a key deployment consideration – DAS/SAN/NFS •  OS System Adjustments (dirty_background_ratio & dirty_ratio) are also a major adjustment (70% & 45%) Observations from the AHCs
  • 23. © 2014 EnterpriseDB Corporation. All rights reserved. 23 Stage: post-production Primary Issue: •  Outage due to replication failure - insufficient log info to determine true root cause Potential Pain Points •  Concerns have reached limits of scale and meeting anticipated growth demands Recommendations •  Backup and recovery strategies •  Implement continuous archive recovery in addition to streaming replication •  Revised backup strategy with PITR •  Tune auto-vacuum settings and manually vacuum large tables •  Indexes – create concurrent indexes, REINDEX to reduce bloat •  Parameter tuning – various for kernel, memory settings and WALs AHC Case Study #1 Use Case: on-line advertising service with hosted chat
  • 24. © 2014 EnterpriseDB Corporation. All rights reserved. 24 Stage: pre-deployment Primary Issues: •  Performance in returning results and timeouts •  No backup strategy in place Potential Pain Points •  Expected data volume growth and increased analysis – scalability concerns Recommendations •  Kernel param updates (8)- kernel.shmmax, kernel.shmall, vm.dirty_ratio, vm.dirty_background_ratio,…! •  Database param changes (11) - effective_cache_size, shared_buffers, bgwriter_lru_maxpages, wal_buffers, work_mem, … •  Re-architect specific heavily- used database function •  Detailed backup and availability strategies AHC Case Study #2 Use Case: data warehouse reporting at customer sites
  • 25. © 2014 EnterpriseDB Corporation. All rights reserved. 25 Stage: post-production Primary Issues: •  System performance •  Running out of connections •  Slow queries/ locked tables •  Advice on new SW release Potential Pain Points •  Concern for increased workloads and scalability Recommendations •  max_connections was actually too high, work_mem too low •  Increase checkpoint parameters −  checkpoint_segments, checkpoint_timeout, checkpoint_completion_ target, checkpoint_warning •  Tune storage-related params (SAN) - DB, memory, file system work_mem, random_page_cost •  Upgrade for performance and security improvements •  As workload increases, increase RAM and re-tune related memory config. parameters AHC Case Study #3 Use Case: claims mgmt. system and reporting application
  • 26. © 2014 EnterpriseDB Corporation. All rights reserved. 26 Summary and Useful Resources
  • 27. © 2014 EnterpriseDB Corporation. All rights reserved. 27 •  Postgres users consistently experience different kinds of challenges throughout the database lifecycle −  Postgres product knowledge is a critical need at all lifecycle stages •  Many DBAs would benefit from better knowledge of tuning Postgres for their storage infrastructures •  Tuning databases early in the lifecycle can save a lot of time, hassle and user friction after they’re deployed •  Many organizations lack appropriate backup and recovery strategies Summary
  • 28. © 2014 EnterpriseDB Corporation. All rights reserved. 28 •  Why do you need backup and recovery? Backup and Recovery Strategies protect you in case of: −  Catastrophic Device Failure −  Site Failure −  Maintenance −  Operator Error −  Compliance −  Data Corruption •  Key takeaways: −  Logical backup provides granularity in objects (tables, table spaces, databases); Physical backups provide granularity in time for PITR.​ −  Understand requirements before diving into technology solution Backup and Recovery Strategies
  • 29. © 2014 EnterpriseDB Corporation. All rights reserved. 29 •  Postgres provides −  Logical backup (pg_dump) −  Binary/physical backup (Filesystem Snapshots & pg_basebackup) −  WAL (write ahead logs) −  Streaming replication −  Delayed replication •  Advanced solutions, such as RHCS, Veritas Clustering​, EFM​​ and ​EDB BART - (now in Beta) augment the basic capabilities Backup and Recovery Strategies
  • 30. © 2014 EnterpriseDB Corporation. All rights reserved. 30 •  Performance, Scalability, Availability •  Three-day in-depth Postgres database review •  Analysis of platform, database architecture and application usage •  Provides tuning and management guidance based on EDB’s expert best practices Get an Architectural Health Check when you are −  Not 100% sure about your backup/recovery strategy −  Unsure your database is optimally tuned for your apps −  Moving Postgres databases to the Cloud −  Upgrading your servers to multi-core, high memory devices −  Experiencing high growth in application usage −  Experiencing deterioration of read and/or write throughput Architectural Health Check http://enterprisedb.com/services/packaged-services/health-check
  • 31. © 2014 EnterpriseDB Corporation. All rights reserved. 31 For more information about an Architectural Health Check, please visit www.enterprisedb.com/ahc or email us - [email protected]