pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Mark Halliwell <mark@transportservices.com.au>
Cc: pgsql-performance@postgresql.org
Subject: Re: Query not using the index
Date: Tue, 25 Feb 2003 07:56:29 -0600
Message-ID: <20030225135629.GA30236@wolff.to> (raw)
In-Reply-To: <200302251903.40364.mark@transportservices.com.au>
References: <200302251903.40364.mark@transportservices.com.au>

On Tue, Feb 25, 2003 at 19:03:40 +1100,
  Mark Halliwell <mark@transportservices.com.au> wrote:
> 
> The majority of records (about 6.8 million) have computer = 8 with sequence 
> starting at 2200000 and incrementing by 1.
> There are about 497000 records with computer = 3 with the sequence starting at 
> 1 and also incrementing by 1.
> There are only a few records with other computer numbers.

You might get some benefit using a partial index that just covers the
rows where computer = 3.



view thread (4+ messages)  latest in thread

Message-ID: <20030225135629.GA30236@wolff.to>
Permalink:  ../20030225135629.GA30236@wolff.to/
Also on:    postgresql.org/message-id/20030225135629.GA30236@wolff.to

 · 

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: bruno@wolff.to, mark@transportservices.com.au
  Subject: Re: Query not using the index
  In-Reply-To: <20030225135629.GA30236@wolff.to>
  References: <200302251903.40364.mark@transportservices.com.au> <20030225135629.GA30236@wolff.to>

* 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