Re: phpPGAdmin Indexes, what does this do?

From: Manfred Koizar <mkoi-pg(at)aon(dot)at>
To: Sean <dcmkx10(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: phpPGAdmin Indexes, what does this do?
Date: 2003-11-08 15:23:20
Message-ID: p42qqv0c1iv1ci5bkkpaeal2ve81v2m73b@email.aon.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 7 Nov 2003 14:02:55 -0800 (PST), Sean <dcmkx10(at)yahoo(dot)com>
wrote:
>To further see what was going on, I removed the new index from
>the dev DB and testing the query again... amazingly, too me, it was
>still fast. Can anyone explain this to me?

CREATE INDEX updates reltuples and relpages in pg_class. This might
cause the planner to choose a different plan. May I guess that you
didn't VACUUM or ANALYSE your table for a long time?

Servus
Manfred

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alex 2003-11-08 15:59:00 Question on Replication
Previous Message Tom Lane 2003-11-08 14:48:27 Re: Problem creating ROWTYPE variable in plpgsql.