From: Alvaro Herrera <alvherre@commandprompt.com>
To: Craig James <craig_james@emolecules.com>
Cc: cyber-postgres@midnightfantasy.com
Cc: pgsql-performance@postgresql.org
Subject: Re: 121+ million record table perf problems
Date: Fri, 18 May 2007 19:20:52 -0400
Message-ID: <20070518232052.GG15691@alvh.no-ip.org> (raw)
In-Reply-To: <464E29A4.4050309@emolecules.com>
References: <Pine.LNX.4.64.0705181215160.23563@cerberus.midnightfantasy.com>
<464E29A4.4050309@emolecules.com>
Craig James wrote:
> Better yet, if you can stand a short down time, you can drop indexes on
> that column, truncate, then do 121 million inserts, and finally
> reindex. That will be MUCH faster.
Or you can do a CLUSTER, which does all the same things automatically.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: alvherre@commandprompt.com, craig_james@emolecules.com, cyber-postgres@midnightfantasy.com
Subject: Re: 121+ million record table perf problems
In-Reply-To: <20070518232052.GG15691@alvh.no-ip.org>
* 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