SlideShare a Scribd company logo
1 of 44
Download to read offline
© 2014 EDB All rights reserved. 1
DBA Best Practices – Becoming
an Exceptional Postgres DBA
© 2014 EnterpriseDB Corporation. All rights reserved. 2
•  EnterpriseDB Overview
•  Best Practice Expertise
•  The Postgres DBA Role
−  Monitoring
−  Maintenance
−  Capacity Planning
−  Configuration Tuning
−  Deployment Planning
•  Professional Development
•  Summary and Resources
•  Q&A
Agenda
© 2014 EnterpriseDB Corporation. All rights reserved. 3
Brief EDB Overview
© 2014 EnterpriseDB Corporation. All rights reserved. 4
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. 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
Why EDB?
More than 3,000 Enterprises and Governments
© 2014 EnterpriseDB Corporation. All rights reserved. 7
EnterpriseDB
is a Market
Leader
The Gartner report, Magic
Quadrant for Operational
Database Management
Systems, by Donald Feinberg,
Merv Adrian and Nick
Heudecker, was published
October 16, 2014.
© 2014 EnterpriseDB Corporation. All rights reserved. 8
EDB is an Open Source Community
Leader
Amit Kapila
Ashesh Vashi
Bruce Momjian
Dave Page
Devrim Gunduz
Jan Wieck
Kevin Grittner
Korry Douglas
Muhammad Usama
Robert M Haas
Thom Brown
© 2014 EnterpriseDB Corporation. All rights reserved. 9
Best Practice Expertise
© 2014 EnterpriseDB Corporation. All rights reserved. 10
•  Remote DBA Services
•  Architectural Health Checks
•  Postgres Support Tickets
•  Postgres Training
Hundreds of Postgres Instances Supported
When
•  ~70% support calls are at
deployment post-deployment
•  Remote DBA and AHC are
post-deployment
What ?
•  How to perform DBA tasks
•  Which product tools or
features to use
© 2014 EnterpriseDB Corporation. All rights reserved. 11
When and Where do Users Need Help?
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
POC Dev Deployment Maintenance
Tuning
Product Awareness
How to
Enhancements
Corruption
Bug
© 2014 EnterpriseDB Corporation. All rights reserved. 12
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. 13
Building Blocks of the DBA Role
Monitoring
Maintenance
Performance
Tuning
Capacity
Management
Security
Deployment
Training &
Professional
Development
© 2014 EnterpriseDB Corporation. All rights reserved. 14
The Postgres DBA Role
© 2014 EDB All rights reserved. 15
•  Postgres is very reliable and stable
•  You can translate your existing DBA skills to Postgres
•  Key areas for Postgres DBAs
−  Bloat management
−  Vacuum setup
−  OS configuration
−  Storage sub-system configuration
−  Backup – logical and physical
−  HA Setup
−  pg_hba.conf and other security settings
−  Monitoring
Taking on the Postgres DBA Role
© 2014 EDB All rights reserved. 16
•  Begin with assessing the health
of the DB - Architectural Health Check (AHC)
−  Performance
−  Maintenance Tasks – index management, bloat reduction
−  Availability – Backup strategies, recovery, replication and
failover
−  Scalability and support for business and data growth
−  Upgrade Planning
•  Establish monitoring
•  Focus on list of items uncovered in health check
Postgres DBA Role – An Approach
© 2014 EDB All rights reserved. 17
•  Technical architecture – OS,
application, database
•  Indexes and bloat
•  Configuration tuning – OS,
database
−  Memory
−  Write-ahead log
−  Background worker
−  Query
−  Logging
−  Checkpoint
−  Vacuum
−  Query performance
−  Security
Architectural Health Check Process
•  DR plan
−  Backup strategy – logical and physical
−  HA solutions – warm standby/log
shipping, hot standby, streaming and
cascading replication
•  Performance tuning
−  Reindexing
−  Partitioning
•  Resource management
−  Connections
−  CPU
•  Hardware and OS configuration
−  File system options
© 2014 EnterpriseDB Corporation. All rights reserved. 18
Monitoring and Maintenance
© 2014 EnterpriseDB Corporation. All rights reserved. 19
Maintenance Highlights from 20+ AHCs
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. 20
General Monitoring Recommendations
Description Frequency Alerting Criteria /
Parameters monitored
Load average, disk
space and checking
for .ready files.
Every 10
minutes
(i) When load average is above threshold
(ii) When disk space is below threshold
(iii) When .ready(pg_xlog/archive_status/*.ready) files
count is beyond threshold
Postgres instance is
running and connection
count
Every minute (i) When postgres instance is not running
(ii) When number of connection is reached to value of
max_connections
(iii) When number of connections crosses threshold
Long running and
waiting queries in
database
Every 10
minutes
(i) When any query is running for longer than threshold
(ii) When any query is in state of "idle in transaction" for
more than threshold
(iii) When any query is waiting for more than threshold
Bloats for tables and
indexes.
Once a day (i) When database tables and/or indexes individually
bloated more than critical threshold
(ii) When transaction ID wrap around is approaching
Is connection pooler
running
Every 10
minutes
If pgbouncer or pgPool process is not running
Is streaming replication
in sync with primary.
Every 5
minutes
(i) When lag detected on streaming cluster exceeds
threshold
© 2014 EnterpriseDB Corporation. All rights reserved. 21
•  Open source plug-in check_postgres.pl
−  http://bucardo.org/
•  PostgreSQL Statistics Collector - pg_stat_xxx views
−  pg_stat_activity - details of open connections and running
transactions
−  pg_stat_database - details of databases
−  pg_stat_user_* - details of tables, indexes and functions
−  pg_locks - list of current locks being held
•  Database object size functions
−  pg_*_size - disk space used by a tablespace, database,
relation or total_relation (includes indexes and toasted data)
Monitoring Tools (if you can’t use PEM)
© 2014 EnterpriseDB Corporation. All rights reserved. 22
© 2011 EnterpriseDB . All rights reserved.
Postgres Enterprise Manager
•  Postgres Enterprise Manager (PEM) Tool
−  Monitor real-time alerts
−  Historical reports
−  Identify poorly running SQL statements	
  
•  Top Features
−  Capacity Manager
−  Audit Manager
−  Postgres Expert
−  SQL Profiler
−  Alert Manager
−  Log Manager
−  Web Client
−  Graphical Dashboards for I/O, Memory & user activity
© 2014 EnterpriseDB Corporation. All rights reserved. 23
© 2011 EnterpriseDB . All rights reserved.
PEM Features
•  Global dashboards with up-to-date status (up/down/
performance) of all your servers
•  Ability to create performance thresholds for each key metric
e.g. memory, storage, etc.
•  Any threshold violation results in an alert being sent to a
centralized dashboard
•  All key performance-related statistics are automatically
collected and retained
•  Forecast resource usage in the future
•  Identify and tune poorly running SQL statements
•  SNMP integration
•  Audit Logging for Postgres Plus Advance server instances
© 2014 EnterpriseDB Corporation. All rights reserved. 24
Capacity Management
© 2014 EnterpriseDB Corporation. All rights reserved. 25
•  Use cases:
−  Consumption projection:
−  At current consumption rates when will I drop below 100MB of disk?
−  At the consumption rate of the past 3 days when will I drop below 1 GB of
disk space?
−  Point in Time Activity
−  Users were complaining of performance problems from 3 to 4 PM today.
What was going on in the system, the database, how many users were
connected?
−  We get a load spike every day at 11. What was happing at the time of the
load spike?
−  Root cause for slower Query Performance
−  Queries that access the employ table seem to be taking longer and longer.
View the growth of the number of dead tuples in the table, see what kind of
scans have been executing against the table (index or sequential)
−  Activity monitoring
−  Which database on the server is the most active? What kind of growth is it
seeing?
Capacity Management
© 2014 EnterpriseDB Corporation. All rights reserved. 26
Sample PEM Report – Disk Space Available
26© 2011 EnterpriseDB . All rights reserved.
Extrapolated
DataActual Data
© 2014 EnterpriseDB Corporation. All rights reserved. 27
Security
© 2014 EnterpriseDB Corporation. All rights reserved. 28
•  Conceptual Layers
•  Authentication
•  Authorization
•  Auditing
•  Data Security
•  SQL Injection Attacks
Security Auditing
•  Approach
•  Secure physical
access
•  Network access
limitation
•  Host access limitation
•  Database access
limitation
•  Data access limitation
© 2014 EnterpriseDB Corporation. All rights reserved. 29
Security Best Practices for PostgreSQLSecurity Best Practices for PostgreSQL and Postgres Plus Advanced Server
Executive Summary ................................................................3
Introduction ….........................................................................4
Postgres Security Features within the Above Framework ......6
Authentication .........................................................6
Authorization ….......................................................7
Accounting/Auditing ................................................8
Data Security ….......................................................9
SQL Injection Attacks ............................................10
Postgres Plus Advanced Server Security Features ..............11
Further Reading and Useful Links ........................................12
About EnterpriseDB ..............................................................12
Table of Contents
http://info.enterprisedb.com/rs/enterprisedb/images/
Whitepapers_Security_BP_PostgreSQL_and_Postgres_Plus_AS.pdf
© 2014 EnterpriseDB Corporation. All rights reserved. 30
Parameter Tuning for Performance
© 2014 EnterpriseDB Corporation. All rights reserved. 31
Performance Improvement Recommendations in:
•  Optimizing memory usage
−  Adjusting shared_buffers
−  work_mem * max_connections
•  vm.dirty_bytes and vm.dirty_background_bytes
•  Understanding the storage
−  effective_io_concurrency
•  Identifying problem queries - pgbadger and SQL
Profiler
The following analysis is based on a set of 20 AHCs
executed in 2013
Lessons From AHC and RDBA
© 2014 EnterpriseDB Corporation. All rights reserved. 32
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. 33
Kernel Parameters
0
2
4
6
8
10
12
14
16
© 2014 EnterpriseDB Corporation. All rights reserved. 34
Deployment Planning
© 2014 EnterpriseDB Corporation. All rights reserved. 35
•  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
•  Multiple components:
−  Logical backup provides granularity in objects (tables, table
spaces, databases)
−  Physical backups provide granularity in time for PITR
−  Cold/off-line backups
−  Hot/on-line backup, with WAL archiving
Backup and Recovery Strategies
© 2014 EnterpriseDB Corporation. All rights reserved. 36
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. 37
•  Backup and Recovery Strategy
−  Many deployments lack good backup & recovery (43%)
•  OS Considerations
−  (dirty_background_ratio & dirty_ratio) are important (70% &
45%)
•  Storage Systems
−  key deployment consideration - DAS/SAN/NFS
•  High Availability and Standby Approach
−  30% of customers would have been
slow or unable to recover from failure
•  Plan for Ongoing Maintenance
−  Bloat and vacuum setup is a problem (43%)
Deployment Planning Observations from AHCs
© 2014 EnterpriseDB Corporation. All rights reserved. 38
•  Backup Strategy Framework
−  Logical backup after structural changes or
major updates of reference/meta data
−  Physical backup (daily…)
−  WAL file archiving
−  Combine Backup/Recovery and Streaming Replication
−  Uses replica to offload hot backup and logical backup
•  Consider
−  Allowable PITR timeframe
−  Data retention policy
−  Test, test, test
−  Periodic backup validation
•  Advanced solutions, such as RHCS, Veritas Clustering​, EFM​​ and ​
EDB BART augment the basic capabilities
Backup and Recovery Best Practices
© 2014 EnterpriseDB Corporation. All rights reserved. 39
•  Types of Storage Systems
−  Direct Attached Storage (DAS)
−  Storage Area Network (SAN) w. Fiber Channel
−  Storage Area Network (SAN) w. iSCSI
−  Network File System (NFS)
•  DAS: Fast and low latency
•  SAN: Fast, expensive (w. Fiber Channel), scalable, can
include redundancy and smart file system operations
•  NFS: Not an optimal solution for PostgreSQL data files
File System and Storage Subsystem
© 2014 EnterpriseDB Corporation. All rights reserved. 40
•  OLTP Infrastructure
−  ACID Compliant
−  High Performance
−  Scalable
−  Reliable
•  High Availability
−  Protect against hardware
failure
−  Protect against software failure
•  Disaster Recovery
−  Protect against site failure
−  Protect against operator error
•  Data Integration
−  Integration with other Line of
Business systems
−  Heterogeneous integration with
Microsoft, Oracle, etc
•  Monitoring and Management
−  Capacity Planning
−  Event management and
alerting
•  Security
−  Authentication and
Authorization
−  Encryption and data protection
Key Components of a Enterprise Data
Management Architecture
© 2014 EnterpriseDB Corporation. All rights reserved. 41
PEM Client
Oracle/SQL
Server/PG
Replication
DB MasterWitness
Offsite
Replica
Virtual IP
DB Client
Backup &
Recovery
PEM ServerHigh Availability
Disaster Recovery
HA Replica
Read/HA
Replica
Robust,
Resilient,
Scalable
Postgres
Enterprise
Architecture
Monitoring
DataIntegration
Simple,
development
focused
setup
© 2014 EnterpriseDB Corporation. All rights reserved. 42
Summary and Useful Resources
© 2014 EnterpriseDB Corporation. All rights reserved. 43
•  Postgres DBAs need to focus on
−  Config file settings, especially understanding memory configs
−  Storage subsystem configuration
−  OS Configuration
−  Bloat & vacuum
−  Backup - logical and physical
−  HA setup
−  Monitoring - see the Freight Train before it hits you!
•  Tools, tools, tools – Get the right tools
•  Most problems occur when moving to production
−  Get ready early
−  Get trained before MTP
−  New Postgres DBA -- consider RDBA to help you get started
Summary
© 2014 EnterpriseDB Corporation. All rights reserved. 44
•  Training & Certification
−  Online classes and certifications
http://www.enterprisedb.com/products-services-training/training
•  Get the team (developer, DBA, Infrastructure) ready to thrive with Postgres
•  EDB Knowledge Base
•  Blogs
−  EDB’s Blog – http://www.enterprisedb.com/postgres-plus-edb-blog
−  Robert Haas – EDB Chief Architect Database Server (http://rhaas.blogspot.com/)
−  Vibhor Kumar – EDB Database Consultant (http://vibhorkumar.wordpress.com/)
•  User groups and Meetups – almost all major cities
−  http://www.postgresql.org/community/user-groups/
−  http://postgresql.meetup.com/
What You Can Do

More Related Content

What's hot

Technical Introduction to PostgreSQL and PPAS
Technical Introduction to PostgreSQL and PPASTechnical Introduction to PostgreSQL and PPAS
Technical Introduction to PostgreSQL and PPASAshnikbiz
 
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDBWebinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDBSeveralnines
 
Oracle GoldenGate Roadmap Oracle OpenWorld 2020
Oracle GoldenGate Roadmap Oracle OpenWorld 2020 Oracle GoldenGate Roadmap Oracle OpenWorld 2020
Oracle GoldenGate Roadmap Oracle OpenWorld 2020 Oracle
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1Satishbabu Gunukula
 
Comparison of ACFS and DBFS
Comparison of ACFS and DBFSComparison of ACFS and DBFS
Comparison of ACFS and DBFSDanielHillinger
 
Zero Downtime Schema Changes - Galera Cluster - Best Practices
Zero Downtime Schema Changes - Galera Cluster - Best PracticesZero Downtime Schema Changes - Galera Cluster - Best Practices
Zero Downtime Schema Changes - Galera Cluster - Best PracticesSeveralnines
 
Achieving High Availability in PostgreSQL
Achieving High Availability in PostgreSQLAchieving High Availability in PostgreSQL
Achieving High Availability in PostgreSQLMydbops
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability SolutionsMydbops
 
Disaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDBDisaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDBSeveralnines
 
Scaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssScaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssAnil Nair
 
Introduction to Data Stream Processing
Introduction to Data Stream ProcessingIntroduction to Data Stream Processing
Introduction to Data Stream ProcessingSafe Software
 
DB12c: All You Need to Know About the Resource Manager
DB12c: All You Need to Know About the Resource ManagerDB12c: All You Need to Know About the Resource Manager
DB12c: All You Need to Know About the Resource ManagerAndrejs Vorobjovs
 
PostgreSQL HA
PostgreSQL   HAPostgreSQL   HA
PostgreSQL HAharoonm
 
Apache Iceberg - A Table Format for Hige Analytic Datasets
Apache Iceberg - A Table Format for Hige Analytic DatasetsApache Iceberg - A Table Format for Hige Analytic Datasets
Apache Iceberg - A Table Format for Hige Analytic DatasetsAlluxio, Inc.
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Glen Hawkins
 
Using Kafka and Kudu for fast, low-latency SQL analytics on streaming data
Using Kafka and Kudu for fast, low-latency SQL analytics on streaming dataUsing Kafka and Kudu for fast, low-latency SQL analytics on streaming data
Using Kafka and Kudu for fast, low-latency SQL analytics on streaming dataMike Percy
 
Moving Beyond Lambda Architectures with Apache Kudu
Moving Beyond Lambda Architectures with Apache KuduMoving Beyond Lambda Architectures with Apache Kudu
Moving Beyond Lambda Architectures with Apache KuduCloudera, Inc.
 
Oracle Golden Gate Bidirectional Replication
Oracle Golden Gate Bidirectional ReplicationOracle Golden Gate Bidirectional Replication
Oracle Golden Gate Bidirectional ReplicationArun Sharma
 

What's hot (20)

Modern Data Architecture
Modern Data ArchitectureModern Data Architecture
Modern Data Architecture
 
Technical Introduction to PostgreSQL and PPAS
Technical Introduction to PostgreSQL and PPASTechnical Introduction to PostgreSQL and PPAS
Technical Introduction to PostgreSQL and PPAS
 
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDBWebinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
 
Oracle GoldenGate Roadmap Oracle OpenWorld 2020
Oracle GoldenGate Roadmap Oracle OpenWorld 2020 Oracle GoldenGate Roadmap Oracle OpenWorld 2020
Oracle GoldenGate Roadmap Oracle OpenWorld 2020
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
 
Comparison of ACFS and DBFS
Comparison of ACFS and DBFSComparison of ACFS and DBFS
Comparison of ACFS and DBFS
 
Using galera replication to create geo distributed clusters on the wan
Using galera replication to create geo distributed clusters on the wanUsing galera replication to create geo distributed clusters on the wan
Using galera replication to create geo distributed clusters on the wan
 
Zero Downtime Schema Changes - Galera Cluster - Best Practices
Zero Downtime Schema Changes - Galera Cluster - Best PracticesZero Downtime Schema Changes - Galera Cluster - Best Practices
Zero Downtime Schema Changes - Galera Cluster - Best Practices
 
Achieving High Availability in PostgreSQL
Achieving High Availability in PostgreSQLAchieving High Availability in PostgreSQL
Achieving High Availability in PostgreSQL
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability Solutions
 
Disaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDBDisaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDB
 
Scaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssScaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ss
 
Introduction to Data Stream Processing
Introduction to Data Stream ProcessingIntroduction to Data Stream Processing
Introduction to Data Stream Processing
 
DB12c: All You Need to Know About the Resource Manager
DB12c: All You Need to Know About the Resource ManagerDB12c: All You Need to Know About the Resource Manager
DB12c: All You Need to Know About the Resource Manager
 
PostgreSQL HA
PostgreSQL   HAPostgreSQL   HA
PostgreSQL HA
 
Apache Iceberg - A Table Format for Hige Analytic Datasets
Apache Iceberg - A Table Format for Hige Analytic DatasetsApache Iceberg - A Table Format for Hige Analytic Datasets
Apache Iceberg - A Table Format for Hige Analytic Datasets
 
Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive Oracle Active Data Guard: Best Practices and New Features Deep Dive
Oracle Active Data Guard: Best Practices and New Features Deep Dive
 
Using Kafka and Kudu for fast, low-latency SQL analytics on streaming data
Using Kafka and Kudu for fast, low-latency SQL analytics on streaming dataUsing Kafka and Kudu for fast, low-latency SQL analytics on streaming data
Using Kafka and Kudu for fast, low-latency SQL analytics on streaming data
 
Moving Beyond Lambda Architectures with Apache Kudu
Moving Beyond Lambda Architectures with Apache KuduMoving Beyond Lambda Architectures with Apache Kudu
Moving Beyond Lambda Architectures with Apache Kudu
 
Oracle Golden Gate Bidirectional Replication
Oracle Golden Gate Bidirectional ReplicationOracle Golden Gate Bidirectional Replication
Oracle Golden Gate Bidirectional Replication
 

Viewers also liked

Postgres in Production - Best Practices 2014
Postgres in Production - Best Practices 2014Postgres in Production - Best Practices 2014
Postgres in Production - Best Practices 2014EDB
 
PostgreSQL Troubleshoot On-line, (RITfest 2015 meetup at Moscow, Russia).
PostgreSQL Troubleshoot On-line, (RITfest 2015 meetup at Moscow, Russia).PostgreSQL Troubleshoot On-line, (RITfest 2015 meetup at Moscow, Russia).
PostgreSQL Troubleshoot On-line, (RITfest 2015 meetup at Moscow, Russia).Alexey Lesovsky
 
EDB Postgres DBA Best Practices
EDB Postgres DBA Best PracticesEDB Postgres DBA Best Practices
EDB Postgres DBA Best PracticesEDB
 
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 WorldJignesh Shah
 
Autovacuum, explained for engineers, new improved version PGConf.eu 2015 Vienna
Autovacuum, explained for engineers, new improved version PGConf.eu 2015 ViennaAutovacuum, explained for engineers, new improved version PGConf.eu 2015 Vienna
Autovacuum, explained for engineers, new improved version PGConf.eu 2015 ViennaPostgreSQL-Consulting
 
High Availability PostgreSQL with Zalando Patroni
High Availability PostgreSQL with Zalando PatroniHigh Availability PostgreSQL with Zalando Patroni
High Availability PostgreSQL with Zalando PatroniZalando Technology
 
How does PostgreSQL work with disks: a DBA's checklist in detail. PGConf.US 2015
How does PostgreSQL work with disks: a DBA's checklist in detail. PGConf.US 2015How does PostgreSQL work with disks: a DBA's checklist in detail. PGConf.US 2015
How does PostgreSQL work with disks: a DBA's checklist in detail. PGConf.US 2015PostgreSQL-Consulting
 
Best Practices of running PostgreSQL in Virtual Environments
Best Practices of running PostgreSQL in Virtual EnvironmentsBest Practices of running PostgreSQL in Virtual Environments
Best Practices of running PostgreSQL in Virtual EnvironmentsJignesh Shah
 
Security Best Practices for your Postgres Deployment
Security Best Practices for your Postgres DeploymentSecurity Best Practices for your Postgres Deployment
Security Best Practices for your Postgres DeploymentPGConf APAC
 
Linux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performanceLinux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performancePostgreSQL-Consulting
 
Best Practices of HA and Replication of PostgreSQL in Virtualized Environments
Best Practices of HA and Replication of PostgreSQL in Virtualized EnvironmentsBest Practices of HA and Replication of PostgreSQL in Virtualized Environments
Best Practices of HA and Replication of PostgreSQL in Virtualized EnvironmentsJignesh Shah
 
Deep dive into PostgreSQL statistics.
Deep dive into PostgreSQL statistics.Deep dive into PostgreSQL statistics.
Deep dive into PostgreSQL statistics.Alexey Lesovsky
 

Viewers also liked (14)

Postgres in Production - Best Practices 2014
Postgres in Production - Best Practices 2014Postgres in Production - Best Practices 2014
Postgres in Production - Best Practices 2014
 
Postgres Toolkit
Postgres ToolkitPostgres Toolkit
Postgres Toolkit
 
PostgreSQL Troubleshoot On-line, (RITfest 2015 meetup at Moscow, Russia).
PostgreSQL Troubleshoot On-line, (RITfest 2015 meetup at Moscow, Russia).PostgreSQL Troubleshoot On-line, (RITfest 2015 meetup at Moscow, Russia).
PostgreSQL Troubleshoot On-line, (RITfest 2015 meetup at Moscow, Russia).
 
EDB Postgres DBA Best Practices
EDB Postgres DBA Best PracticesEDB Postgres DBA Best Practices
EDB Postgres DBA Best Practices
 
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
 
Autovacuum, explained for engineers, new improved version PGConf.eu 2015 Vienna
Autovacuum, explained for engineers, new improved version PGConf.eu 2015 ViennaAutovacuum, explained for engineers, new improved version PGConf.eu 2015 Vienna
Autovacuum, explained for engineers, new improved version PGConf.eu 2015 Vienna
 
High Availability PostgreSQL with Zalando Patroni
High Availability PostgreSQL with Zalando PatroniHigh Availability PostgreSQL with Zalando Patroni
High Availability PostgreSQL with Zalando Patroni
 
How does PostgreSQL work with disks: a DBA's checklist in detail. PGConf.US 2015
How does PostgreSQL work with disks: a DBA's checklist in detail. PGConf.US 2015How does PostgreSQL work with disks: a DBA's checklist in detail. PGConf.US 2015
How does PostgreSQL work with disks: a DBA's checklist in detail. PGConf.US 2015
 
Best Practices of running PostgreSQL in Virtual Environments
Best Practices of running PostgreSQL in Virtual EnvironmentsBest Practices of running PostgreSQL in Virtual Environments
Best Practices of running PostgreSQL in Virtual Environments
 
PostgreSQLセキュリティ総復習
PostgreSQLセキュリティ総復習PostgreSQLセキュリティ総復習
PostgreSQLセキュリティ総復習
 
Security Best Practices for your Postgres Deployment
Security Best Practices for your Postgres DeploymentSecurity Best Practices for your Postgres Deployment
Security Best Practices for your Postgres Deployment
 
Linux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performanceLinux tuning to improve PostgreSQL performance
Linux tuning to improve PostgreSQL performance
 
Best Practices of HA and Replication of PostgreSQL in Virtualized Environments
Best Practices of HA and Replication of PostgreSQL in Virtualized EnvironmentsBest Practices of HA and Replication of PostgreSQL in Virtualized Environments
Best Practices of HA and Replication of PostgreSQL in Virtualized Environments
 
Deep dive into PostgreSQL statistics.
Deep dive into PostgreSQL statistics.Deep dive into PostgreSQL statistics.
Deep dive into PostgreSQL statistics.
 

Similar to EnterpriseDB's Best Practices for Postgres DBAs

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 LearnEDB
 
Postgres in production.2014
Postgres in production.2014Postgres in production.2014
Postgres in production.2014EDB
 
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 DBAsEDB
 
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
 
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 13EDB
 
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 13EDB
 
Top10 list planningpostgresdeployment.2014
Top10 list planningpostgresdeployment.2014Top10 list planningpostgresdeployment.2014
Top10 list planningpostgresdeployment.2014EDB
 
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16AppDynamics
 
Migrating from Oracle to Postgres
Migrating from Oracle to PostgresMigrating from Oracle to Postgres
Migrating from Oracle to PostgresEDB
 
Intro.to.pem webinar.slides-061913
Intro.to.pem webinar.slides-061913Intro.to.pem webinar.slides-061913
Intro.to.pem webinar.slides-061913EDB
 
Using Perforce Data in Development at Tableau
Using Perforce Data in Development at TableauUsing Perforce Data in Development at Tableau
Using Perforce Data in Development at TableauPerforce
 
performancetestinganoverview-110206071921-phpapp02.pdf
performancetestinganoverview-110206071921-phpapp02.pdfperformancetestinganoverview-110206071921-phpapp02.pdf
performancetestinganoverview-110206071921-phpapp02.pdfMAshok10
 
Performance tuning intro
Performance tuning introPerformance tuning intro
Performance tuning introaioughydchapter
 
Save money with Postgres on IBM PowerLinux
Save money with Postgres on IBM PowerLinuxSave money with Postgres on IBM PowerLinux
Save money with Postgres on IBM PowerLinuxEDB
 
Orsyp Dollar Universe - Performance Management for SAP
Orsyp Dollar Universe - Performance Management for SAPOrsyp Dollar Universe - Performance Management for SAP
Orsyp Dollar Universe - Performance Management for SAPORSYP SOFTWARE
 
Optimize with Open Source
Optimize with Open SourceOptimize with Open Source
Optimize with Open SourceEDB
 
Beginners Guide to High Availability for Postgres
Beginners Guide to High Availability for PostgresBeginners Guide to High Availability for Postgres
Beginners Guide to High Availability for PostgresEDB
 

Similar to EnterpriseDB's Best Practices for Postgres DBAs (20)

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
 
Postgres in production.2014
Postgres in production.2014Postgres in production.2014
Postgres in production.2014
 
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
 
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...
 
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
 
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
 
ADF Performance Monitor
ADF Performance MonitorADF Performance Monitor
ADF Performance Monitor
 
Top10 list planningpostgresdeployment.2014
Top10 list planningpostgresdeployment.2014Top10 list planningpostgresdeployment.2014
Top10 list planningpostgresdeployment.2014
 
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
 
Migrating from Oracle to Postgres
Migrating from Oracle to PostgresMigrating from Oracle to Postgres
Migrating from Oracle to Postgres
 
Intro.to.pem webinar.slides-061913
Intro.to.pem webinar.slides-061913Intro.to.pem webinar.slides-061913
Intro.to.pem webinar.slides-061913
 
Using Perforce Data in Development at Tableau
Using Perforce Data in Development at TableauUsing Perforce Data in Development at Tableau
Using Perforce Data in Development at Tableau
 
Geode Meetup Apachecon
Geode Meetup ApacheconGeode Meetup Apachecon
Geode Meetup Apachecon
 
performancetestinganoverview-110206071921-phpapp02.pdf
performancetestinganoverview-110206071921-phpapp02.pdfperformancetestinganoverview-110206071921-phpapp02.pdf
performancetestinganoverview-110206071921-phpapp02.pdf
 
Performance tuning intro
Performance tuning introPerformance tuning intro
Performance tuning intro
 
Save money with Postgres on IBM PowerLinux
Save money with Postgres on IBM PowerLinuxSave money with Postgres on IBM PowerLinux
Save money with Postgres on IBM PowerLinux
 
Orsyp Dollar Universe - Performance Management for SAP
Orsyp Dollar Universe - Performance Management for SAPOrsyp Dollar Universe - Performance Management for SAP
Orsyp Dollar Universe - Performance Management for SAP
 
Optimize with Open Source
Optimize with Open SourceOptimize with Open Source
Optimize with Open Source
 
Performance Tuning intro
Performance Tuning introPerformance Tuning intro
Performance Tuning intro
 
Beginners Guide to High Availability for Postgres
Beginners Guide to High Availability for PostgresBeginners Guide to High Availability for Postgres
Beginners Guide to High Availability for Postgres
 

More from 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 DBaaSEDB
 
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 UnternehmenEDB
 
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, 2021EDB
 
Benchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLBenchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLEDB
 
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 PostgreSQLEDB
 
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 PostgreSQLEDB
 
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 PostgreSQLEDB
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresEDB
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINEDB
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQLEDB
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLEDB
 
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 - APJEDB
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesEDB
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoEDB
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLEDB
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJEDB
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLEDB
 

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
 
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
 
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
 
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
 
Benchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQLBenchmarking Cloud Native PostgreSQL
Benchmarking Cloud Native PostgreSQL
 
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
 
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
 
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?
 
Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQL
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAIN
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQL
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQL
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!
 
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
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos données
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - Italiano
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJ
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
 

Recently uploaded

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburgmasabamasaba
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfVishalKumarJha10
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durbanmasabamasaba
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfayushiqss
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 

Recently uploaded (20)

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 

EnterpriseDB's Best Practices for Postgres DBAs

  • 1. © 2014 EDB All rights reserved. 1 DBA Best Practices – Becoming an Exceptional Postgres DBA
  • 2. © 2014 EnterpriseDB Corporation. All rights reserved. 2 •  EnterpriseDB Overview •  Best Practice Expertise •  The Postgres DBA Role −  Monitoring −  Maintenance −  Capacity Planning −  Configuration Tuning −  Deployment Planning •  Professional Development •  Summary and Resources •  Q&A Agenda
  • 3. © 2014 EnterpriseDB Corporation. All rights reserved. 3 Brief EDB Overview
  • 4. © 2014 EnterpriseDB Corporation. All rights reserved. 4 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
  • 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 Why EDB? More than 3,000 Enterprises and Governments
  • 7. © 2014 EnterpriseDB Corporation. All rights reserved. 7 EnterpriseDB is a Market Leader The Gartner report, Magic Quadrant for Operational Database Management Systems, by Donald Feinberg, Merv Adrian and Nick Heudecker, was published October 16, 2014.
  • 8. © 2014 EnterpriseDB Corporation. All rights reserved. 8 EDB is an Open Source Community Leader Amit Kapila Ashesh Vashi Bruce Momjian Dave Page Devrim Gunduz Jan Wieck Kevin Grittner Korry Douglas Muhammad Usama Robert M Haas Thom Brown
  • 9. © 2014 EnterpriseDB Corporation. All rights reserved. 9 Best Practice Expertise
  • 10. © 2014 EnterpriseDB Corporation. All rights reserved. 10 •  Remote DBA Services •  Architectural Health Checks •  Postgres Support Tickets •  Postgres Training Hundreds of Postgres Instances Supported When •  ~70% support calls are at deployment post-deployment •  Remote DBA and AHC are post-deployment What ? •  How to perform DBA tasks •  Which product tools or features to use
  • 11. © 2014 EnterpriseDB Corporation. All rights reserved. 11 When and Where do Users Need Help? 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% POC Dev Deployment Maintenance Tuning Product Awareness How to Enhancements Corruption Bug
  • 12. © 2014 EnterpriseDB Corporation. All rights reserved. 12 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%
  • 13. © 2014 EnterpriseDB Corporation. All rights reserved. 13 Building Blocks of the DBA Role Monitoring Maintenance Performance Tuning Capacity Management Security Deployment Training & Professional Development
  • 14. © 2014 EnterpriseDB Corporation. All rights reserved. 14 The Postgres DBA Role
  • 15. © 2014 EDB All rights reserved. 15 •  Postgres is very reliable and stable •  You can translate your existing DBA skills to Postgres •  Key areas for Postgres DBAs −  Bloat management −  Vacuum setup −  OS configuration −  Storage sub-system configuration −  Backup – logical and physical −  HA Setup −  pg_hba.conf and other security settings −  Monitoring Taking on the Postgres DBA Role
  • 16. © 2014 EDB All rights reserved. 16 •  Begin with assessing the health of the DB - Architectural Health Check (AHC) −  Performance −  Maintenance Tasks – index management, bloat reduction −  Availability – Backup strategies, recovery, replication and failover −  Scalability and support for business and data growth −  Upgrade Planning •  Establish monitoring •  Focus on list of items uncovered in health check Postgres DBA Role – An Approach
  • 17. © 2014 EDB All rights reserved. 17 •  Technical architecture – OS, application, database •  Indexes and bloat •  Configuration tuning – OS, database −  Memory −  Write-ahead log −  Background worker −  Query −  Logging −  Checkpoint −  Vacuum −  Query performance −  Security Architectural Health Check Process •  DR plan −  Backup strategy – logical and physical −  HA solutions – warm standby/log shipping, hot standby, streaming and cascading replication •  Performance tuning −  Reindexing −  Partitioning •  Resource management −  Connections −  CPU •  Hardware and OS configuration −  File system options
  • 18. © 2014 EnterpriseDB Corporation. All rights reserved. 18 Monitoring and Maintenance
  • 19. © 2014 EnterpriseDB Corporation. All rights reserved. 19 Maintenance Highlights from 20+ AHCs 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
  • 20. © 2014 EnterpriseDB Corporation. All rights reserved. 20 General Monitoring Recommendations Description Frequency Alerting Criteria / Parameters monitored Load average, disk space and checking for .ready files. Every 10 minutes (i) When load average is above threshold (ii) When disk space is below threshold (iii) When .ready(pg_xlog/archive_status/*.ready) files count is beyond threshold Postgres instance is running and connection count Every minute (i) When postgres instance is not running (ii) When number of connection is reached to value of max_connections (iii) When number of connections crosses threshold Long running and waiting queries in database Every 10 minutes (i) When any query is running for longer than threshold (ii) When any query is in state of "idle in transaction" for more than threshold (iii) When any query is waiting for more than threshold Bloats for tables and indexes. Once a day (i) When database tables and/or indexes individually bloated more than critical threshold (ii) When transaction ID wrap around is approaching Is connection pooler running Every 10 minutes If pgbouncer or pgPool process is not running Is streaming replication in sync with primary. Every 5 minutes (i) When lag detected on streaming cluster exceeds threshold
  • 21. © 2014 EnterpriseDB Corporation. All rights reserved. 21 •  Open source plug-in check_postgres.pl −  http://bucardo.org/ •  PostgreSQL Statistics Collector - pg_stat_xxx views −  pg_stat_activity - details of open connections and running transactions −  pg_stat_database - details of databases −  pg_stat_user_* - details of tables, indexes and functions −  pg_locks - list of current locks being held •  Database object size functions −  pg_*_size - disk space used by a tablespace, database, relation or total_relation (includes indexes and toasted data) Monitoring Tools (if you can’t use PEM)
  • 22. © 2014 EnterpriseDB Corporation. All rights reserved. 22 © 2011 EnterpriseDB . All rights reserved. Postgres Enterprise Manager •  Postgres Enterprise Manager (PEM) Tool −  Monitor real-time alerts −  Historical reports −  Identify poorly running SQL statements   •  Top Features −  Capacity Manager −  Audit Manager −  Postgres Expert −  SQL Profiler −  Alert Manager −  Log Manager −  Web Client −  Graphical Dashboards for I/O, Memory & user activity
  • 23. © 2014 EnterpriseDB Corporation. All rights reserved. 23 © 2011 EnterpriseDB . All rights reserved. PEM Features •  Global dashboards with up-to-date status (up/down/ performance) of all your servers •  Ability to create performance thresholds for each key metric e.g. memory, storage, etc. •  Any threshold violation results in an alert being sent to a centralized dashboard •  All key performance-related statistics are automatically collected and retained •  Forecast resource usage in the future •  Identify and tune poorly running SQL statements •  SNMP integration •  Audit Logging for Postgres Plus Advance server instances
  • 24. © 2014 EnterpriseDB Corporation. All rights reserved. 24 Capacity Management
  • 25. © 2014 EnterpriseDB Corporation. All rights reserved. 25 •  Use cases: −  Consumption projection: −  At current consumption rates when will I drop below 100MB of disk? −  At the consumption rate of the past 3 days when will I drop below 1 GB of disk space? −  Point in Time Activity −  Users were complaining of performance problems from 3 to 4 PM today. What was going on in the system, the database, how many users were connected? −  We get a load spike every day at 11. What was happing at the time of the load spike? −  Root cause for slower Query Performance −  Queries that access the employ table seem to be taking longer and longer. View the growth of the number of dead tuples in the table, see what kind of scans have been executing against the table (index or sequential) −  Activity monitoring −  Which database on the server is the most active? What kind of growth is it seeing? Capacity Management
  • 26. © 2014 EnterpriseDB Corporation. All rights reserved. 26 Sample PEM Report – Disk Space Available 26© 2011 EnterpriseDB . All rights reserved. Extrapolated DataActual Data
  • 27. © 2014 EnterpriseDB Corporation. All rights reserved. 27 Security
  • 28. © 2014 EnterpriseDB Corporation. All rights reserved. 28 •  Conceptual Layers •  Authentication •  Authorization •  Auditing •  Data Security •  SQL Injection Attacks Security Auditing •  Approach •  Secure physical access •  Network access limitation •  Host access limitation •  Database access limitation •  Data access limitation
  • 29. © 2014 EnterpriseDB Corporation. All rights reserved. 29 Security Best Practices for PostgreSQLSecurity Best Practices for PostgreSQL and Postgres Plus Advanced Server Executive Summary ................................................................3 Introduction ….........................................................................4 Postgres Security Features within the Above Framework ......6 Authentication .........................................................6 Authorization ….......................................................7 Accounting/Auditing ................................................8 Data Security ….......................................................9 SQL Injection Attacks ............................................10 Postgres Plus Advanced Server Security Features ..............11 Further Reading and Useful Links ........................................12 About EnterpriseDB ..............................................................12 Table of Contents http://info.enterprisedb.com/rs/enterprisedb/images/ Whitepapers_Security_BP_PostgreSQL_and_Postgres_Plus_AS.pdf
  • 30. © 2014 EnterpriseDB Corporation. All rights reserved. 30 Parameter Tuning for Performance
  • 31. © 2014 EnterpriseDB Corporation. All rights reserved. 31 Performance Improvement Recommendations in: •  Optimizing memory usage −  Adjusting shared_buffers −  work_mem * max_connections •  vm.dirty_bytes and vm.dirty_background_bytes •  Understanding the storage −  effective_io_concurrency •  Identifying problem queries - pgbadger and SQL Profiler The following analysis is based on a set of 20 AHCs executed in 2013 Lessons From AHC and RDBA
  • 32. © 2014 EnterpriseDB Corporation. All rights reserved. 32 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
  • 33. © 2014 EnterpriseDB Corporation. All rights reserved. 33 Kernel Parameters 0 2 4 6 8 10 12 14 16
  • 34. © 2014 EnterpriseDB Corporation. All rights reserved. 34 Deployment Planning
  • 35. © 2014 EnterpriseDB Corporation. All rights reserved. 35 •  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 •  Multiple components: −  Logical backup provides granularity in objects (tables, table spaces, databases) −  Physical backups provide granularity in time for PITR −  Cold/off-line backups −  Hot/on-line backup, with WAL archiving Backup and Recovery Strategies
  • 36. © 2014 EnterpriseDB Corporation. All rights reserved. 36 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
  • 37. © 2014 EnterpriseDB Corporation. All rights reserved. 37 •  Backup and Recovery Strategy −  Many deployments lack good backup & recovery (43%) •  OS Considerations −  (dirty_background_ratio & dirty_ratio) are important (70% & 45%) •  Storage Systems −  key deployment consideration - DAS/SAN/NFS •  High Availability and Standby Approach −  30% of customers would have been slow or unable to recover from failure •  Plan for Ongoing Maintenance −  Bloat and vacuum setup is a problem (43%) Deployment Planning Observations from AHCs
  • 38. © 2014 EnterpriseDB Corporation. All rights reserved. 38 •  Backup Strategy Framework −  Logical backup after structural changes or major updates of reference/meta data −  Physical backup (daily…) −  WAL file archiving −  Combine Backup/Recovery and Streaming Replication −  Uses replica to offload hot backup and logical backup •  Consider −  Allowable PITR timeframe −  Data retention policy −  Test, test, test −  Periodic backup validation •  Advanced solutions, such as RHCS, Veritas Clustering​, EFM​​ and ​ EDB BART augment the basic capabilities Backup and Recovery Best Practices
  • 39. © 2014 EnterpriseDB Corporation. All rights reserved. 39 •  Types of Storage Systems −  Direct Attached Storage (DAS) −  Storage Area Network (SAN) w. Fiber Channel −  Storage Area Network (SAN) w. iSCSI −  Network File System (NFS) •  DAS: Fast and low latency •  SAN: Fast, expensive (w. Fiber Channel), scalable, can include redundancy and smart file system operations •  NFS: Not an optimal solution for PostgreSQL data files File System and Storage Subsystem
  • 40. © 2014 EnterpriseDB Corporation. All rights reserved. 40 •  OLTP Infrastructure −  ACID Compliant −  High Performance −  Scalable −  Reliable •  High Availability −  Protect against hardware failure −  Protect against software failure •  Disaster Recovery −  Protect against site failure −  Protect against operator error •  Data Integration −  Integration with other Line of Business systems −  Heterogeneous integration with Microsoft, Oracle, etc •  Monitoring and Management −  Capacity Planning −  Event management and alerting •  Security −  Authentication and Authorization −  Encryption and data protection Key Components of a Enterprise Data Management Architecture
  • 41. © 2014 EnterpriseDB Corporation. All rights reserved. 41 PEM Client Oracle/SQL Server/PG Replication DB MasterWitness Offsite Replica Virtual IP DB Client Backup & Recovery PEM ServerHigh Availability Disaster Recovery HA Replica Read/HA Replica Robust, Resilient, Scalable Postgres Enterprise Architecture Monitoring DataIntegration Simple, development focused setup
  • 42. © 2014 EnterpriseDB Corporation. All rights reserved. 42 Summary and Useful Resources
  • 43. © 2014 EnterpriseDB Corporation. All rights reserved. 43 •  Postgres DBAs need to focus on −  Config file settings, especially understanding memory configs −  Storage subsystem configuration −  OS Configuration −  Bloat & vacuum −  Backup - logical and physical −  HA setup −  Monitoring - see the Freight Train before it hits you! •  Tools, tools, tools – Get the right tools •  Most problems occur when moving to production −  Get ready early −  Get trained before MTP −  New Postgres DBA -- consider RDBA to help you get started Summary
  • 44. © 2014 EnterpriseDB Corporation. All rights reserved. 44 •  Training & Certification −  Online classes and certifications http://www.enterprisedb.com/products-services-training/training •  Get the team (developer, DBA, Infrastructure) ready to thrive with Postgres •  EDB Knowledge Base •  Blogs −  EDB’s Blog – http://www.enterprisedb.com/postgres-plus-edb-blog −  Robert Haas – EDB Chief Architect Database Server (http://rhaas.blogspot.com/) −  Vibhor Kumar – EDB Database Consultant (http://vibhorkumar.wordpress.com/) •  User groups and Meetups – almost all major cities −  http://www.postgresql.org/community/user-groups/ −  http://postgresql.meetup.com/ What You Can Do