jeff thank you very much for your time, I tell you, they are the same queries with the same parameters, I take 3 minutes for example, but I execute it and it takes me seconds, that's why I suspect it is the shared buffer The server had 16 GB and we increased it to 24, but I really do not know if it should continue to increase since they are not our own resources, we have to ask for them and justify them -- Sent from: http://www.postgresql-archive.org/PostgreSQL-performance-f2050081.html