Answer the question
In order to leave comments, you need to log in
How to manage query priority in postgresql?
There is a server on debian with postgresql. There are two bases. In one, there are always a lot of requests for writing, updating, and selects. In the second, a batch of samples periodically falls down, a little recording. The problem is that those who are in second base carry the money. And they haven't brought it to a separate server yet. Is it possible to do something so that requests to the second base are processed with high priority, and for the first time they are even suspended when they break into the second one? Or all the same it is necessary to resolve at the level of applications?
Answer the question
In order to leave comments, you need to log in
Unfortunately, this is not provided in the database itself https://wiki.postgresql.org/wiki/Priorities
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question