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
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
998596691
El vie, 9 ago 2024 a las 10:26, PABLO ANDRES IBARRA DUPRAT (<Pablo.Ibarra@xxxxxxx>) escribió:
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.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