pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew T. O'Connor <matthew@zeut.net>
To: Aaron Turner <synfinatic@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: 10+hrs vs 15min because of just one index
Date: Fri, 10 Feb 2006 12:13:35 -0500
Message-ID: <43ECC9BF.2030107@zeut.net> (raw)
In-Reply-To: <1ca1c1410602100016p2b5fdcc4wbf45612d7efc5fdf@mail.gmail.com>
References: <1ca1c1410602100016p2b5fdcc4wbf45612d7efc5fdf@mail.gmail.com>

Aaron Turner wrote:
> So I'm trying to figure out how to optimize my PG install (8.0.3) to
> get better performance without dropping one of my indexes.

What about something like this:

begin;
drop slow_index_name;
update;
create index slow_index_name;
commit;
vacuum;

Matt



view thread (14+ messages)  latest in thread

Message-ID: <43ECC9BF.2030107@zeut.net>
Permalink:  ../43ECC9BF.2030107@zeut.net/
Also on:    postgresql.org/message-id/43ECC9BF.2030107@zeut.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: matthew@zeut.net, synfinatic@gmail.com
  Subject: Re: 10+hrs vs 15min because of just one index
  In-Reply-To: <43ECC9BF.2030107@zeut.net>

* 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