pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Josué Maldonado <josue@lamundial.hn>
To: pgsql-performance@postgresql.org
Subject: Re: Join slow on "large" tables
Date: Mon, 7 Jun 2004 15:31:49 -0700
Message-ID: <200406071531.49207.josh@agliodbs.com> (raw)
In-Reply-To: <40C4E9EA.7000708@lamundial.hn>
References: <40C4E9EA.7000708@lamundial.hn>

Josue'

>     ->  Index Scan using pkd_pcode_idx on pkardex  (cost=0.00..11292.52 
> rows=5831 width=72) (actual time=18.152..39520.406 rows=5049 loops=1)

Looks to me like there's a problem with index bloat on pkd_pcode_idx.   Try 
REINDEXing it, and if that doesn't help, VACUUM FULL on pkardex.

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco




view thread (9+ messages)  latest in thread

Message-ID: <200406071531.49207.josh@agliodbs.com>
Permalink:  ../200406071531.49207.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200406071531.49207.josh@agliodbs.com

 · 

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: josh@agliodbs.com, josue@lamundial.hn
  Subject: Re: Join slow on "large" tables
  In-Reply-To: <200406071531.49207.josh@agliodbs.com>

* 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