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 83a2b0ef-1376-1873-3524-a824cb69f7f2@a-kretschmer.de
обсуждение исходный текст
Ответ на 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 10:13 schrieb Stefan Knecht:
> Seq Scan on snap_20200225 s  (cost=0.00..1.19 rows=1 width=12) 

the partition is very small, so it's cheaper to scan only the table (one 
block) than index + table (1 + 1 block).


Regards, Andreas

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




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

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