Re: Bad plan on a view

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bad plan on a view
Дата
Msg-id 10652.1141226168@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bad plan on a view  (PFC <lists@peufeu.com>)
Ответы Re: Bad plan on a view  (PFC <lists@peufeu.com>)
Re: Bad plan on a view  (Greg Stark <gsstark@mit.edu>)
Список pgsql-performance
PFC <lists@peufeu.com> 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

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

Предыдущее
От: PFC
Дата:
Сообщение: Bad plan on a view
Следующее
От: PFC
Дата:
Сообщение: Re: Bad plan on a view