Upload
enterprisedb
View
1.490
Download
2
Tags:
Embed Size (px)
DESCRIPTION
Review this presentation to learn how EnterpriseDB’s RemoteDBA services can support your database infrastructure, and also discover a few tips and tricks to overcoming some of the obstacles you may be facing today. Contact [email protected] for a personal overview.
Citation preview
© 2014 EnterpriseDB Corporation. All rights reserved. 1
Tapping Into New Postgres Resources with Remote DBAs • David Thomas | 3.27.2014
© 2014 EnterpriseDB Corporation. All rights reserved. 2
• EDB and Me • Key Areas for Remote DBA
• Monitoring
• Backups • Performance Tuning • Security Audits
• Upgrades • Capacity Planning • EDB Resources
Agenda
© 2013 EDB All rights reserved 8.1. 3
Introduction: EDB & Me (David)
© 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
© 2013 EDB All rights reserved 8.1. 5
Best Practices
© 2014 EnterpriseDB Corporation. All rights reserved. 6
• Monitoring • Backups • Performance Tuning
• Security • Upgrades • Capacity Planning
Key areas of a remote DBA service
© 2014 EnterpriseDB Corporation. All rights reserved. 7
• Monitored 24x7 • How to monitor
− Realtime alerts − Historical reports
• What to monitor − Table and index bloat
reports − Replication lag − Idle connections − Idle in transaction connections
Monitoring
© 2014 EnterpriseDB Corporation. All rights reserved. 8
• How to backup − Logical backups (pg_dump) − Filesystem backup − On-line backup
− Point in Time Recovery (PITR)
• Data retention policy
• Testing restore procedure
Backups
© 2014 EnterpriseDB Corporation. All rights reserved. 9
• Architecture Health Check (AHC) • 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 using pgbadger
Performance Tuning
© 2014 EnterpriseDB Corporation. All rights reserved. 10
• Examine pg_hba.conf for proper settings based on environment
• Ensure software is up to date
• Restrict access to configuration files
• Disallow host system login by the database super user
• No sharing of credentials • Only grant permissions that are needed, no more
Security Audit
© 2014 EnterpriseDB Corporation. All rights reserved. 11
• Planning for system downtime − Involving multiple teams
• Fail over to standby machines − Test upgrade on replica server first − How to fail back?
• Assisting in actual upgrade process
Upgrades
© 2014 EnterpriseDB Corporation. All rights reserved. 12
• Quarterly planning meetings − Planned features in PostgreSQL
• Advise on expanding system − Hardware upgrades − Software upgrades − Clustering
Capacity Planning
© 2013 EDB All rights reserved 8.1. 13
How EDB Can Help
© 2014 EnterpriseDB Corporation. All rights reserved. 14
Why EDB for Remote DBA?
• EDB is the world wide leader on Postgres − Database development expertise − Deep technical knowledge of Postgres internals − PostgreSQL experts on staff: community leaders, committers and contributors − Key member of the Postgres community
• EDB is the world wide leader for best practices − Experience in large enterprises and mission critical systems − Actively engaged in many Fortune 500 and Global 1000 corporations − Deployments across all industry types − Worldwide leader in Postgres Training
14 © 2013 EnterpriseDB. All rights reserved.
© 2014 EnterpriseDB Corporation. All rights reserved. 15
Architectural Health Check
• The Architectural Health Check (AHC) looks at: − Operating system"− Hardware configuration"− Database settings"− Backup strategies"− General database practices"− Upgrade requirements"− High Availability options"
• The AHC identifies − Short term opportunities"− Strategic opportunities"
• In a collaborative session, the RDBA Team and the customer review the AHC and develop the go-forward plan
© 2014 EnterpriseDB Corporation. All rights reserved. 16
Customized to Meet Your Needs
16 © 2013 EnterpriseDB. All rights reserved.
World-class service from the world’s best Postgres Company
Basic Service 24/7 Monitoring Premium Service
PEACE OF MIND STAFF AUGMENTATION FULL-SERVICE EXPERTISE • 24 x 7 real time monitoring • Key parameters for database,
host and OS • E-mail alerts • Identify problems before they
impact operations
• Lowest cost option
• 24 x 7 monitoring, plus: • 1-time remote AHC service • Weekly status reports • Monthly review meetings • Monthly back-up verifications • Patch & Maintenance
updates • Emergency restoration
• Allows in-house DBA’s to focus on mission-critical tasks
• Basic service, plus: • Annual remote AHC service • Best-practice advice • Architectural assistance • Replication set-up & PITR set-up • Dev/test system setup • OS tuning & parameter advice • Assigned technical lead
• Perfect for transitioning to Postgres, knowledge transfer, or long-term outsourcing
© 2014 EnterpriseDB Corporation. All rights reserved. 17
David Thomas [email protected]
Let me know if I can help…
© 2013 EnterpriseDB. Privileged and Confidential. All rights reserved.
© 2014 EnterpriseDB Corporation. All rights reserved. 18