Re: Optimizing Query

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Justin Long <justinlong(at)strategicnetwork(dot)org>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Optimizing Query
Date: 2001-03-06 15:31:48
Message-ID: 5525.983892708@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Justin Long <justinlong(at)strategicnetwork(dot)org> writes:
> Wow. I can't believe the difference. It didn't take too long. I'll set up a
> script in my etc/cron.weekly to run it... would there be any benefit to
> doing a vacuum analyze nightly?

Depends. A nightly vacuum is probably good practice, but you could skip
the analyze part if your data statistics (such as column min and max
values) don't change much.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Karel Zak 2001-03-06 15:37:32 Re: Re: MySQLs Describe emulator!
Previous Message Alfred Perlstein 2001-03-06 15:29:45 Re: Re: MySQLs Describe emulator!