Search Postgresql Archives

Re: Questions about horizontal partitioning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Sales <spelunker334@xxxxxxxxx> 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 the six 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux