Re: pg11: Query using index, but only for half the partitions

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: pg11: Query using index, but only for half the partitions
Дата
Msg-id 6316e230-f315-4bc3-f74f-65e6d2fe3603@a-kretschmer.de
обсуждение исходный текст
Ответ на Re: pg11: Query using index, but only for half the partitions  (Stefan Knecht <knecht.stefan@gmail.com>)
Ответы Re: pg11: Query using index, but only for half the partitions
Список pgsql-general

Am 23.04.20 um 12:30 schrieb Stefan Knecht:
> There's no question that this is more expensive than just reading the 
> 95 rows from the index directly and returning them

not sure, you can play with

enable_seqscan = off

and compare the costs. What is the setting for random_page_cost ?


Regards, Andreas


-- 
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com




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

Предыдущее
От: Stefan Knecht
Дата:
Сообщение: Re: pg11: Query using index, but only for half the partitions
Следующее
От: Michael Lewis
Дата:
Сообщение: Re: pg11: Query using index, but only for half the partitions