Parallel Query

Поиск
Список
Период
Сортировка
От Luís Roberto Weck
Тема Parallel Query
Дата
Msg-id 732b7303-8b60-2f33-7f00-3b0cd70a7c5b@siscobra.com.br
обсуждение исходный текст
Ответы Re: Parallel Query  (Jeff Janes <jeff.janes@gmail.com>)
Re: Parallel Query  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-performance
Hi!

Is there a reason query 3 can't use parallel workers? Using q1 and q2 
they seem very similar but can use up to 4 workers to run faster:

q1: https://pastebin.com/ufkbSmfB
q2: https://pastebin.com/Yt32zRNX
q3: https://pastebin.com/dqh7yKPb

The sort node on q3 takes almost 12 seconds, making the query run on 68  
if I had set enough work_mem to make it all in memory.

Running version 10.10.



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

Предыдущее
От: Marco Colli
Дата:
Сообщение: Re: Slow "not in array" operation
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: Parallel Query