"Just Someone" <just.some@xxxxxxxxx> writes: > Any ideas how to start finding the culprit? EXPLAIN ANALYZE? What would be particularly interesting is to compare the results for fast and slow cases of the "same" query. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general