public inbox for [email protected]
help / color / mirror / Atom feedFrom: Erik Serrano <[email protected]>
To: PABLO ANDRES IBARRA DUPRAT <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: PostgreSQL - A method to control Resource Consumptions of Users or process
Date: Fri, 9 Aug 2024 13:38:00 -0400
Message-ID: <CA+dvXXtJd3JnkioKQmAw=X_GrqJBjovzLZ0eske-+S=txJJ0-w@mail.gmail.com> (raw)
In-Reply-To: <CPWP152MB4029C88F031664A6823E2A8187BA2@CPWP152MB4029.LAMP152.PROD.OUTLOOK.COM>
References: <CPWP152MB4029C88F031664A6823E2A8187BA2@CPWP152MB4029.LAMP152.PROD.OUTLOOK.COM>
Hi Pablo,
One of the ways I use to avoid resource depredations is to cluster the
databases,
replicating a master and giving the "predator user" access only to the
reading node. With this I relieve
the load of that user or other users who occupy them with very heavy
queries.
Also when making a replication node, you can implement PGPOOL2 which can be
configured so that
"select" queries are automatically redirected to this reading node, with
this new configuration
you can derive all the weight of the queries to other nodes and leave the
master free.
I hope my advice helps you,
My regards
*Erik R. Serrano Saavedra*
*Ingeniero de Sistemas Informáticos*
* Data Base Administrator*
* [email protected] <[email protected]>*
* 998596691*
El vie, 9 ago 2024 a las 10:26, PABLO ANDRES IBARRA DUPRAT (<
[email protected]>) escribió:
> Hi dear PostgreSQL admins.
>
>
>
> I need your advices about
> previous experiences for a method to control the resource usage on
> PostgreSQL for a user(s), application(s), query(s).
>
> Like a other databases that implement for example: Resource
> Governor or Workload manager to avoid depredation of resources at
> PostgreSQL cluster instance.
>
>
>
> Awaiting for your advices.
>
> Thanks in advance
>
>
>
>
> Para asegurar la adecuada lectura en todo tipo de correos electronicos, se
> han omitido intencionalmente los signos y acentos diacriticos del idioma
> castellano. La informacion contenida en este mensaje y cualquier archivo
> adjunto es confidencial y no puede ser usada por mas personas que sus
> destinatarios. El uso no autorizado de esta informacion puede ser
> sancionado de conformidad con el Codigo Penal chileno. Si ha recibido este
> correo por error, por favor notifique al remitente respondiendo este mismo
> mensaje y elimine el mensaje y todos los archivos adjuntos. Internet no
> puede garantizar la integridad de este mensaje, por lo que el Banco no se
> hace responsable si el contenido del mismo ha sido alterado.
>
Attachments:
[image/png] image001.png (29.7K, 3-image001.png)
download | view image
view thread (3+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: PostgreSQL - A method to control Resource Consumptions of Users or process
In-Reply-To: <CA+dvXXtJd3JnkioKQmAw=X_GrqJBjovzLZ0eske-+S=txJJ0-w@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox