pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Kendrick C. Wilson <kendrick_wilson@hotmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: postgresql meltdown on PlanetMath.org
Date: Tue, 18 Mar 2003 09:34:36 +0800
Message-ID: <07b501c2ecee$8917b8c0$6500a8c0@fhp.internal> (raw)
References: <BAY1-F104L3frQfGvB200019147@hotmail.com>



> What is the structure of you table?
> Is the data types in the table the same as in the SQL....
>
> Did you create the index after the loading the table?
> cluster the table around the most used index....

There is no point clustering a table around the most used index, unless
access to the index is non-random.  eg. you are picking up more than one
consecutive entry from the index at a time.  eg. Indexes on foreign keys are
excellent for clustering.

Chris




view thread (39+ messages)  latest in thread

Message-ID: <07b501c2ecee$8917b8c0$6500a8c0@fhp.internal>
Permalink:  ../07b501c2ecee$8917b8c0$6500a8c0@fhp.internal/
Also on:    postgresql.org/message-id/07b501c2ecee$8917b8c0$6500a8c0@fhp.internal

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: chriskl@familyhealth.com.au, kendrick_wilson@hotmail.com
  Subject: Re: postgresql meltdown on PlanetMath.org
  In-Reply-To: <07b501c2ecee$8917b8c0$6500a8c0@fhp.internal>
  References: <BAY1-F104L3frQfGvB200019147@hotmail.com> <07b501c2ecee$8917b8c0$6500a8c0@fhp.internal>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox