pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Medora Schauer <mschauer@fairfield.com>
To: postgresql <pgsql-performance@postgresql.org>
Subject: Re: slow select
Date: Wed, 22 Oct 2003 14:03:12 -0700
Message-ID: <200310221403.12570.josh@agliodbs.com> (raw)
In-Reply-To: <906E2C446A276048A1BE283F17BCB12CDB422A@encounter.fairind.fairfield.com>
References: <906E2C446A276048A1BE283F17BCB12CDB422A@encounter.fairind.fairfield.com>

Medora,

> So why did were the indices not used before when they yield a better plan?

Your .conf settings, most likely.  I'd lower your random_page_cost and raise 
your effective_cache_size.

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco




view thread (11+ messages)  latest in thread

Message-ID: <200310221403.12570.josh@agliodbs.com>
Permalink:  ../200310221403.12570.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200310221403.12570.josh@agliodbs.com

 · 

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: josh@agliodbs.com, mschauer@fairfield.com
  Subject: Re: slow select
  In-Reply-To: <200310221403.12570.josh@agliodbs.com>

* 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