Re: Questions about horizontal partitioning

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Questions about horizontal partitioning
Дата
Msg-id 18573.1168310345@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Questions about horizontal partitioning  (John Sales <spelunker334@yahoo.com>)
Ответы Re: Questions about horizontal partitioning  (John Sales <spelunker334@yahoo.com>)
Re: Questions about horizontal partitioning  (Ron Johnson <ron.l.johnson@cox.net>)
Список pgsql-general
John Sales <spelunker334@yahoo.com> writes:
> By doing this, I'm hoping that the query optimizer is smart enough to see that if a query comes in and requests only
thesix columns (that are in the narrower table) that PostgreSQL won't have to load the wider table into the buffer
pool,and thereby actually have to only access about 10% the amount of disk that it presently does. 

> Is this a sound theory?

No.  It still has to touch the second table to confirm the existence of
rows to join to.

            regards, tom lane

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

Предыдущее
От: Matthew Terenzio
Дата:
Сообщение: Re: COPY FROM and sequences
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Autovacuum Improvements