Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
PostgreSQL 12 High Availability Cookbook - Third Edition

You're reading from  PostgreSQL 12 High Availability Cookbook - Third Edition

Product type Book
Published in Feb 2020
Publisher Packt
ISBN-13 9781838984854
Pages 734 pages
Edition 3rd Edition
Languages
Concepts
Author (1):
Shaun Thomas Shaun Thomas
Profile icon Shaun Thomas
Toc

Table of Contents (17) Chapters close

Preface 1. Architectural Considerations 2. Hardware Planning 3. Minimizing Downtime 4. Proxy and Pooling Resources 5. Troubleshooting 6. Monitoring 7. PostgreSQL Replication 8. Backup Management 9. High Availability with repmgr 10. High Availability with Patroni 11. Low-Level Server Mirroring 12. High Availability via Pacemaker 13. High Availability with Multi-Master Replication 14. Data Distribution 15. Zero-downtime Upgrades 16. Other Books You May Enjoy

Getting started with the LVM

The LVM is something of an optional master control panel for Linux storage devices. It can combine several devices into one, allows arbitrary storage grouping, which is far more granular than simple partitions, and provides functionality such as data snapshots and reorganization. It's very powerful and, in the right hands, greatly improves potential server uptime.

It is also the first layer above the raw storage device in our stack. We start with LVM instead of DRBD, because DRBD at the device level is extremely messy. So, what do we gain by insulating DRBD from the raw storage device? Take a look at the following:

  • We can easily add storage to the LVM device group assigned to DRBD.
  • DRBD can be resized while in an online state.
  • We can perform storage migrations without taking PostgreSQL offline.

None of this is possible unless LVM is the first...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime