0% found this document useful (0 votes)
107 views9 pages

Automatic Tools For High Availability in Postgresql: Camilo Andrés Echeverri

This document discusses tools for achieving high availability in PostgreSQL databases. It defines high availability as systems that are durable and able to operate continuously without failure for long periods of time through redundant components. The document outlines that PostgreSQL has options for high availability within its own configuration, through application backends like pg-pool, and cloud database services. It provides advantages like continuous uptime but also disadvantages like high costs. Finally, it includes a diagram of how pg-pool can balance loads across multiple PostgreSQL servers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views9 pages

Automatic Tools For High Availability in Postgresql: Camilo Andrés Echeverri

This document discusses tools for achieving high availability in PostgreSQL databases. It defines high availability as systems that are durable and able to operate continuously without failure for long periods of time through redundant components. The document outlines that PostgreSQL has options for high availability within its own configuration, through application backends like pg-pool, and cloud database services. It provides advantages like continuous uptime but also disadvantages like high costs. Finally, it includes a diagram of how pg-pool can balance loads across multiple PostgreSQL servers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Automatic tools

for high
availability in
PostgreSQL
Camilo Andrés Echeverri
Knowlegde table

1. Introduction
2. What’s PostgreSQL?
3. What’s high availability?
4. Advantages and disadvantages
5. What tools are there for PostgreSQL HA?
6. Prototype
Introduction

Get from: https://www.kdnuggets.com/2016/07/database-key-terms-explained.html


Get from: https://www.postgresql.org

What’s it?

PostgreSQL:
• It’s an open source database
• Uses and extends SQL
• Safe and scalable
• Created at 1986, POSTGRES Project
university of California.
• Runs in Linux, windows and mac.
High availability
What’s it?

“High availability refers to systems that are


durable and likely to operate continuously
without failure for a long time. The term implies
that parts of a system have been fully tested and,
in many cases, that there are accommodations
for failure in the form of redundant components.”
Get from: https://www.techopedia.com/definition/1021/high-availability-ha

Get from: https://blog.whmcs.com/133514/demystifying-


high-availability-for-whmcs
Advantages Disadvantages
High availability allows companies to continue Some no that good things for using
with their main system every moment, every time, HA:
here are scenarios where it could be helpful: • High money cost for
• Planned stops implementation (you must need
• Unforeseen stops two clusters, at least)
• Sinister Restoration • High computer cost.
• Backup window reduction • With active/passive there is a time
• Balanced load distribution lost lapse to switch to passive
Get from: https://www.ibm.com/support/knowledgecenter/es/ssw_ibm_i_72/rzarj/rzarjbenefitsha.htm
server.
• With active/active energy and
physic resources cost are high.
Get from: https://www.ecured.cu/Cluster_de_alta_disponibilidad
Tools for
PostgreSQL Pg-pool diagram

PostgreSQL has three different option to


get HA. The first one its by itself, with
some configuration in the database you
can get replication from one db server to
one another. The second option you have
its from you application backend, in the
case of Nodejs you can use pg-pool or
PgPool-II. And last, but not least, cloud db
services like Google or amazon ofert. Get from: https://hackernoon.com/postgresql-connection-pooling-and-load-balancing-with-
pgpool-ii-cluster-edbbb7959ef1
Prototype

Get from: https://www.freepik.com/premium-vector/website-prototype_3897919.htm

You might also like