Re: Bad plan on a view

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

 



PFC <lists@xxxxxxxxxx> writes:
> So, in order to speed up requests which need a full table scan, I wanted  
> to put the text fields in another table, and use a view to make it look  
> like nothing happened. Also, the small table used for searching is a lot  
> more likely to fit in RAM than the big table with all the text which is  
> only used for display.

Aren't you going to a lot of work to reinvent something that TOAST
already does for you?  (At least, in the cases where the text fields
are wide enough that it really matters.)

			regards, tom lane


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux