Re: [GENERAL] Query Using Massive Temp Space

Поиск
Список
Период
Сортировка
От legrand legrand
Тема Re: [GENERAL] Query Using Massive Temp Space
Дата
Msg-id 1511176582453-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Query Using Massive Temp Space  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-general
Hi, 
there are many Hash and Merge joins that may generate a lot of temp space,
it could also be a problem of forgotten column in the join.

Could you also provide indexes definitions (pk, uk and others)
with the EXPLAIN (ANALYZE BUFFERS)

(you can limit the scope of the query to help it to finish by limiting the
number of lines from candidates  by
...  
*FROM match_candidate_address WHERE account_id NOT IN (:exclude_ids)
limit 100
*
)

Regards
PAscal




--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

В списке pgsql-general по дате отправления:

Предыдущее
От: Ronen Nofar
Дата:
Сообщение: [GENERAL] Registering Event Log on Windows
Следующее
От: Stephen Frost
Дата:
Сообщение: [GENERAL] Migration to pglister - Before