pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Anj Adu <fotographs@gmail.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: slow index lookup
Date: Tue, 22 Jun 2010 19:44:15 -0400
Message-ID: <1277250226-sup-6686@alvh.no-ip.org> (raw)
In-Reply-To: <AANLkTimoNh8cPlwR5oYE9jdmr4aR3ThAxpnAsmnujIYK@mail.gmail.com>
References: <AANLkTimoNh8cPlwR5oYE9jdmr4aR3ThAxpnAsmnujIYK@mail.gmail.com>

Excerpts from Anj Adu's message of mar jun 22 17:44:39 -0400 2010:
> This query seems unreasonable slow on a well-indexed table (13 million
> rows). Separate indexes are present on guardid_id , from_num and
> targetprt columns.

Maybe you need to vacuum or reindex?

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (9+ messages)  latest in thread

Message-ID: <1277250226-sup-6686@alvh.no-ip.org>
Permalink:  ../1277250226-sup-6686@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1277250226-sup-6686@alvh.no-ip.org

 · 

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: alvherre@commandprompt.com, fotographs@gmail.com
  Subject: Re: slow index lookup
  In-Reply-To: <1277250226-sup-6686@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