Re: Are unreferenced TOASTed values retrieved?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Are unreferenced TOASTed values retrieved?
Дата
Msg-id 2495.1256152355@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Are unreferenced TOASTed values retrieved?  (William Blunn <bill+postgresql@blunn.org>)
Список pgsql-performance
William Blunn <bill+postgresql@blunn.org> writes:
> Will the query engine retrieve the entire row (including 10 megabytes of
> out-of-line TOASTed data) for every row, and then pick out column
> "name", and take an age to do so,

No.  That's pretty much the whole point of the TOAST mechanism;
out-of-line values are not fetched unless actually needed.  See
http://developer.postgresql.org/pgdocs/postgres/storage-toast.html

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Random penalties on GIN index updates?
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: There is a statistic table?