Re: Optimizing Query - Mailing list pgsql-sql

From Tom Lane
Subject Re: Optimizing Query
Date
Msg-id 5525.983892708@sss.pgh.pa.us
Whole thread Raw
In response to Re: Optimizing Query  (Justin Long <justinlong@strategicnetwork.org>)
List pgsql-sql
Justin Long <justinlong@strategicnetwork.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


pgsql-sql by date:

Previous
From: Boulat Khakimov
Date:
Subject: Re: [GENERAL] Re: MySQLs Describe emulator!
Next
From: "xuyifeng"
Date:
Subject: Re: [HACKERS] why the DB file size does not reduce when 'delete'the data in DB?