agora inbox for pgsql-performance@postgresql.org  
help / color / mirror / Atom feed
From: Rod Taylor <pg@rbt.ca>
To: Bill <bill@math.uchicago.edu>
Cc: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: Query performance
Date: Wed, 30 Jun 2004 10:27:25 -0400
Message-ID: <1088605644.12340.10.camel@jester> (raw)
In-Reply-To: <200406301346.i5UDktfL013134@math.uchicago.edu>
References: <200406301346.i5UDktfL013134@math.uchicago.edu>

> Can I get any better performance?

You can try bumping your sort memory way up (for this query only).

Another method would be to cluster the table by the symbol column
(eliminates the expensive sort).

If you could run a very simple calculation against open & close numbers
to eliminate a majority of symbols early, that would be useful as well.





view thread (48+ messages)  latest in thread

Message-ID: <1088605644.12340.10.camel@jester>
Permalink:  ../1088605644.12340.10.camel@jester/
Also on:    postgresql.org/message-id/1088605644.12340.10.camel@jester

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: pg@rbt.ca, bill@math.uchicago.edu
  Subject: Re: Query performance
  In-Reply-To: <1088605644.12340.10.camel@jester>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox