| От | 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
Re: Questions about horizontal partitioning |
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера