Skip site navigation (1) Skip section navigation (2)

ANALYZE and indexes (was Re: Sort time)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Josh Berkus" <josh(at)agliodbs(dot)com>
Cc: pginfo <pginfo(at)t1(dot)unisoftbg(dot)com>,"scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>,"pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: ANALYZE and indexes (was Re: Sort time)
Date: 2002-11-15 23:02:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
"Josh Berkus" <josh(at)agliodbs(dot)com> writes:
> ... don't forget to VACUUM ANALYZE after you index ...

People keep saying that, but it's a myth.  ANALYZE doesn't care what
indexes are present; adding or deleting an index doesn't invalidate
previous ANALYZE results.

			regards, tom lane

In response to

pgsql-performance by date

Next:From: Tom LaneDate: 2002-11-15 23:32:53
Subject: Re: Sort time
Previous:From: Rod TaylorDate: 2002-11-15 22:40:19
Subject: Re: Sort time

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group