Re: best way to run maintenance script

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-performance(at)postgresql(dot)org
Cc: Vinubalaji Gopal <vgopal(at)abaca(dot)com>
Subject: Re: best way to run maintenance script
Date: 2008-03-16 18:11:48
Message-ID: 200803161911.49571.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Vinubalaji Gopal wrote:
> I tried using the nice command (Linux system) on the maintenance script
> - it did not have any effect - guess it does not change the niceness of
> the postgresql vacuum process.

You are probably looking for the command ionice. nice only affects the CPU
priority, and that is usually not the primary problem for vacuum. (And yes,
you need to nice the server process, not the client script.)

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Craig James 2008-03-16 19:04:44 Re: Benchmark: Dell/Perc 6, 8 disk RAID 10
Previous Message Dave Cramer 2008-03-16 11:25:41 Re: Benchmark: Dell/Perc 6, 8 disk RAID 10