Re: [PERFORM] renice on an I/O bound box

2010-01-19 Thread Craig Ringer
On 20/01/2010 4:16 AM, Arjen van der Meijden wrote: Another command to look at, if you're I/O-bound, is the 'ionice' command, which is similar to nice, but obviously intended for I/O. For some I/O-bound background job, one of the 'idle' classes can be a nice level. But for a (single) postgres-pr

Re: [PERFORM] renice on an I/O bound box

2010-01-19 Thread Arjen van der Meijden
On 19-1-2010 13:59 Willy-Bas Loos wrote: Hi, I have a query that runs for about 16 hours, it should run at least weekly. There are also clients connecting via a website, we don't want to keep them waiting because of long DSS queries. We use Debian Lenny. I've noticed that renicing the process r

Re: [PERFORM] renice on an I/O bound box

2010-01-19 Thread Willy-Bas Loos
On Tue, Jan 19, 2010 at 3:09 PM, Jean-David Beyer wrote: > Willy-Bas Loos wrote: > > >> >> On Tue, Jan 19, 2010 at 2:28 PM, Jean-David Beyer >> > jeandav...@verizon.net>> wrote: >> >>It could make sense. >> >>I once had a job populating a database. It was I/O bound and ran for a >>cou

Re: [PERFORM] renice on an I/O bound box

2010-01-19 Thread Ing. Marcos L. Ortiz Valmaseda
El 19/01/2010 13:59, Willy-Bas Loos escribió: Hi, I have a query that runs for about 16 hours, it should run at least weekly. There are also clients connecting via a website, we don't want to keep them waiting because of long DSS queries. We use Debian Lenny. I've noticed that renicing the p