pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jon Anderson <jonanderson.mn@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Seqscan rather than Index
Date: Thu, 16 Dec 2004 12:31:53 -0500
Message-ID: <26003.1103218313@sss.pgh.pa.us> (raw)
In-Reply-To: <9c7da1c904121609081705d8cc@mail.gmail.com>
References: <9c7da1c904121609081705d8cc@mail.gmail.com>

Jon Anderson <jonanderson.mn@gmail.com> writes:
> Any hints on what to do to make PostgreSQL use the index?

You might want to reduce random_page_cost a little.

Keep in mind that your test case is small enough to fit in RAM and is
probably not reflective of what will happen with larger tables.

			regards, tom lane



view thread (16+ messages)  latest in thread

Message-ID: <26003.1103218313@sss.pgh.pa.us>
Permalink:  ../26003.1103218313@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26003.1103218313@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, jonanderson.mn@gmail.com
  Subject: Re: Seqscan rather than Index
  In-Reply-To: <26003.1103218313@sss.pgh.pa.us>

* 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