pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Derek Hamilton <derek@capweb.com>
To: Marc Mitchell <marcm@eisolution.com>
To: pgsql-admin@postgresql.org
Subject: Re: Performance Expectations
Date: Fri, 18 Apr 2003 12:55:35 -0700
Message-ID: <000401c305e4$7aaa2840$1b01a8c0@jcaves.net> (raw)
References: <000501c305d7$b001a070$1b01a8c0@jcaves.net>
	<006c01c305db$28050460$6701050a@eisolution.com>

Hey Marc,

I've run the EXPLAIN statement on the query and it does use the index.

I also use an "order by" on the table that does not include the indexed
field.  Would adding an index for the fields I'm ordering by help at all?

Thanks,
Derek

> I would suggest simply doing an EXPLAIN on your query and examining the
> output.  It will tell you whether your index is being used or not.  That's
> a big first step in determining what your optimal performance expectations
> should be.
>




view thread (5+ messages)  latest in thread

Message-ID: <000401c305e4$7aaa2840$1b01a8c0@jcaves.net>
Permalink:  ../000401c305e4$7aaa2840$1b01a8c0@jcaves.net/
Also on:    postgresql.org/message-id/000401c305e4$7aaa2840$1b01a8c0@jcaves.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 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-admin@postgresql.org
  Cc: derek@capweb.com, marcm@eisolution.com
  Subject: Re: Performance Expectations
  In-Reply-To: <000401c305e4$7aaa2840$1b01a8c0@jcaves.net>
  References: <000501c305d7$b001a070$1b01a8c0@jcaves.net> <006c01c305db$28050460$6701050a@eisolution.com> <000401c305e4$7aaa2840$1b01a8c0@jcaves.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