Re: Much Ado About COUNT(*)

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Much Ado About COUNT(*)
Дата
Msg-id 20050112214346.GA29039@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: Much Ado About COUNT(*)  (Jeff Davis <jdavis-pgsql@empires.org>)
Ответы Re: Much Ado About COUNT(*)  (Jeff Davis <jdavis-pgsql@empires.org>)
Список pgsql-hackers
On Wed, Jan 12, 2005 at 12:41:38PM -0800, Jeff Davis wrote:

> Except then the two heaps would have to be joined somehow for every
> operation. It makes sense some times to (if you have a very wide table)
> split off the rarely-accessed attributes into a seperate table to be
> joined one-to-one when those attributes are needed. To have the system
> do that automatically would create problems if the attributes that are
> split off are frequently accessed, right?

That mechanism exists right now, and it's called TOAST, dubbed the best
thing since sliced bread.  We even have documentation for it, new as of
our latest RC:

http://developer.postgresql.org/docs/postgres/storage-toast.html

-- 
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"El día que dejes de cambiar dejarás de vivir"


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

Предыдущее
От: "Marek Mosiewicz"
Дата:
Сообщение: Re: Much Ado About COUNT(*)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PANIC: right sibling's left-link doesn't match