Answer the question
In order to leave comments, you need to log in
Occasionally a very long UPDATE transaction?
Good afternoon! With a heavy load on the server, some requests are executed for a very long time (up to 20s). View request:
UPDATE "table" SET
"views"="views"+1
WHERE "sid"=:sid AND "pid"=:pid
Answer the question
In order to leave comments, you need to log in
You most likely did not tune your database. This is not MySQL that works out of the box, it needs to be configured.
https://wiki.postgresql.org/wiki/Tuning_Your_Postg...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question