Skip site navigation (1) Skip section navigation (2)

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

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: PFC <lists(at)peufeu(dot)com>
Cc: Jesper Krogh <jesper(at)krogh(dot)cc>, pgsql-performance(at)postgresql(dot)org
Subject: Re: "Slow" query or just "Bad hardware"?
Date: 2008-03-27 17:54:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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                      
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

pgsql-performance by date

Next:From: Dave CramerDate: 2008-03-27 19:14:49
Subject: using like in a prepare doesnt' use the right index
Previous:From: Luke LonerganDate: 2008-03-27 17:36:55
Subject: Re: "Slow" query or just "Bad hardware"?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group