Re: test / live environment, major performance difference - Mailing list pgsql-performance

From Steinar H. Gunderson
Subject Re: test / live environment, major performance difference
Date
Msg-id 20070612143033.GA8541@uio.no
Whole thread Raw
In response to Re: test / live environment, major performance difference  (Christo Du Preez <christo@mecola.com>)
List pgsql-performance
On Tue, Jun 12, 2007 at 03:32:40PM +0200, Christo Du Preez wrote:
> As an example I took a table with about 650 rows, having a parentid
> field with an index on parentid.

Try a bigger table. Using an index for only 650 rows is almost always
suboptimal, so it's no wonder the planner doesn't use the index.

/* Steinar */
--
Homepage: http://www.sesse.net/

pgsql-performance by date:

Previous
From: "Dave Dutcher"
Date:
Subject: Re: test / live environment, major performance difference
Next
From: Bill Moran
Date:
Subject: Re: How much memory PostgreSQL is going to use?