pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Boes <jboes@nexcerpt.com>
To: pgsql-admin@postgresql.org
Subject: Re: Timestamp indexes aren't used for ">="
Date: Mon, 12 Nov 2001 08:53:58 -0500
Message-ID: <9sok6l$ek7$1@news.tht.net> (raw)
References: <20011109145054.H59285-100000@megazone23.bigpanda.com>

In article <20011109145054.H59285-100000@megazone23.bigpanda.com>,
"Stephan Szabo" <sszabo@megazone23.bigpanda.com> wrote:

> How many rows are in the table?  Have you run vacuum analyze?

Sorry, that information was in the original post, but perhaps you missed
it:

In article <9shhnf$23ks$1@news.tht.net>, "Jeff Boes" <jboes@nexcerpt.com>
wrote:

> We have a table which has approximately 400,000 rows. It has 17 columns,
> and 4 indexes.  The primary key is a int4 (filled by a sequence),
> additionally we have two more int4 indexes and a timestamp index.

Yes, VACUUM ANALYZE gets run every 24 hours, and currently the table
grows by some 25K-40K rows per day.  Could a factor be the time elapsed
between the VACUUM and the query?



-- 
Jeff Boes                                             vox 616.226.9550
Database Engineer                                     fax 616.349.9076
Nexcerpt, Inc.                                      jboes@nexcerpt.com



view thread (5+ messages)  latest in thread

Message-ID: <9sok6l$ek7$1@news.tht.net>
Permalink:  ../9sok6l$ek7$1@news.tht.net/
Also on:    postgresql.org/message-id/9sok6l$ek7$1@news.tht.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: jboes@nexcerpt.com
  Subject: Re: Timestamp indexes aren't used for ">="
  In-Reply-To: <9sok6l$ek7$1@news.tht.net>
  References: <20011109145054.H59285-100000@megazone23.bigpanda.com> <9sok6l$ek7$1@news.tht.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