"Just Someone" <just(dot)some(at)gmail(dot)com> writes:> Any ideas how to start finding the culprit?
EXPLAIN ANALYZE?
What would be particularly interesting is to compare the results forfast and slow cases of the "same" query.
regards, tom lane