Re: Query planner problem

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Crash Dummy <crash(dot)dummy(at)ntlworld(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Query planner problem
Date: 2002-03-13 18:28:15
Message-ID: 20020313102716.D84314-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, 9 Mar 2002, Crash Dummy wrote:

> Hi,
>
> I've moved a database onto a much faster machine but for some reason the
> query planner is opting to use seq scan methods rather than the indexes.
>
> This is a very large database without the indexes the performance is dire -
> the new machine is a 2Ghz P4 with 1GB RAM, the old machine is a 900Mhz P3
> with 512Mb Ram.
>
> Any idea why this is happening adn what I can do to solve the problem ? I've
> tried dropping & rebuilding the indexes, vacuum analyze etc but to no
> effect.

What do the schema and queries look like, and what does explain (explain
analyze if you've got 7.2) show for them?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2002-03-13 18:35:55 Re: FAQ -- 'cache lookup failed' still a puzzle
Previous Message Bruce Momjian 2002-03-13 18:23:27 Re: PG_XLOG