pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Foster <martin@ethereal-realms.org>
To: PostgreSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: Efficiency of timestamps
Date: Wed, 09 Jul 2003 00:51:42 -0600
Message-ID: <3F0BBB7E.6080008@ethereal-realms.org> (raw)
In-Reply-To: <20030708215908.U8273-100000@megazone23.bigpanda.com>
References: <20030708215908.U8273-100000@megazone23.bigpanda.com>

Stephan Szabo wrote:
> 
> Well, the reason I asked is to see both whether the estimates for the
> various columns were somewhere near reality (if not, then you may need to
> raise the statistics target for the column) which might affect whether
> it'd consider using a multi-column index for the conditions and sort
> rather than the index scan it was using.
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

I'm going to have to pull out the 'Practical PostgreSQL' book and brush 
up on optimizing.   This level of optimization is not something I have 
had to deal with in the past.

Also to make this interesting.  The sub-query method is faster at times 
and slower in others.   But doing two separate queries and working on 
the PostIDNumber field exclusively is always blazingly fast...

     Martin Foster
     Creator/Designer Ethereal Realms
     martin@ethereal-realms.org






view thread (7+ messages)

Message-ID: <3F0BBB7E.6080008@ethereal-realms.org>
Permalink:  ../3F0BBB7E.6080008@ethereal-realms.org/
Also on:    postgresql.org/message-id/3F0BBB7E.6080008@ethereal-realms.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 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-performance@postgresql.org
  Cc: martin@ethereal-realms.org
  Subject: Re: Efficiency of timestamps
  In-Reply-To: <3F0BBB7E.6080008@ethereal-realms.org>
  References: <20030708215908.U8273-100000@megazone23.bigpanda.com> <3F0BBB7E.6080008@ethereal-realms.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