Re: Vacuuming technique doubt - Mailing list pgsql-performance

From David Rees
Subject Re: Vacuuming technique doubt
Date
Msg-id 72dbd3150906010545p42bfb46bhc35a121357d97b0a@mail.gmail.com
Whole thread Raw
In response to Vacuuming technique doubt  (S Arvind <arvindwill@gmail.com>)
List pgsql-performance
On Sun, May 31, 2009 at 10:26 PM, S Arvind <arvindwill@gmail.com> wrote:
> Having a doubt, we want to vacuum and reindex some 50 most used tables daily
> on specific time. Is it best to have a function in postgres and call it in
> cron or is there any other good way to do the two process for specified
> tables at specified time?

Just write a SQL script with the appropriate commands and run it using
psql from cron.  Set up your .pgpass and/or pg_hba.conf as
appropriate.

-Dave

pgsql-performance by date:

Previous
From: Shaul Dar
Date:
Subject: Postgresql cache (memory) performance + how to warm up the cache
Next
From: Greg Smith
Date:
Subject: Re: Postgresql cache (memory) performance + how to warm up the cache