Re: Parallel Index Scans

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Parallel Index Scans
Дата
Msg-id CAA4eK1+fW0Krn=sRpCJ_DbV-JScKPyvcAOxkqHpDZbt1MLYHUA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Parallel Index Scans  (Rahila Syed <rahilasyed90@gmail.com>)
Список pgsql-hackers
On Tue, Oct 18, 2016 at 4:08 PM, Rahila Syed <rahilasyed90@gmail.com> wrote:
>>Another point which needs some thoughts is whether it is good idea to
>>use index relation size to calculate parallel workers for index scan.
>>I think ideally for index scans it should be based on number of pages
>>to be fetched/scanned from index.
> IIUC, its not possible to know the exact number of pages scanned from an
> index
> in advance.

We can't find the exact numbers of index pages to be scanned, but I
think we can find estimated number of pages to be fetched (refer
cost_index).

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com



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

Предыдущее
От: Rushabh Lathia
Дата:
Сообщение: Re: Gather Merge
Следующее
От: Gilles Darold
Дата:
Сообщение: Re: Patch to implement pg_current_logfile() function