Using the Administration utility, you can set up a crontab entry that runs a vacuum on your entire database at a specified time of day at daily or weekly intervals. The PostgreSQL server must be running for the vacuum to be performed.

Although the vacuum can run in parallel with normal database operations (that is, select, insert, update, and delete), HP recommends that you schedule your database to be vacuumed during a low-usage period.

To schedule the database vacuum, follow these steps:

Setting up a Crontab Entry for Vacuuming Databases 253

Page 253
Image 253
HP UX Internet Express Software manual Setting up a Crontab Entry for Vacuuming Databases