Re: "Slow" query or just "Bad hardware"?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: "Slow" query or just "Bad hardware"?
Дата
Msg-id 20080327175409.GP8764@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: "Slow" query or just "Bad hardware"?  (PFC <lists@peufeu.com>)
Список pgsql-performance
PFC wrote:

> Also, sometimes offine TOASTing is evil :
> Say you have a forum, you want the posts table to be CLUSTER'ed on
> (topic_id, post_id) so displaying 1 page with 30 posts on it uses 1 seek,
> not 30 seeks. But CLUSTER doesn't touch the data that has been pushed
> offline in the toast table. So, in that case, it can pay (big time
> actually) to disable toasting, store the data inline, and benefit from
> cluster.

This claim is false -- CLUSTER does process the toast table along the
main heap.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Luke Lonergan
Дата:
Сообщение: Re: "Slow" query or just "Bad hardware"?
Следующее
От: Dave Cramer
Дата:
Сообщение: using like in a prepare doesnt' use the right index