Re: Limit I/O bandwidth of a certain backend - Mailing list pgsql-performance

From Greg Smith
Subject Re: Limit I/O bandwidth of a certain backend
Date
Msg-id alpine.GSO.2.01.0905060101120.7946@westnet.com
Whole thread Raw
In response to Limit I/O bandwidth of a certain backend  (Vlad Arkhipov <arhipov@dc.baikal.ru>)
List pgsql-performance
On Tue, 5 May 2009, Vlad Arkhipov wrote:

> Is there a way to limit I/O bandwidth/CPU usage of a certain backend? It
> seems that ionice/renice makes no sense because of bgwriter/WAL writer
> processes are not a part of a backend.

The background writer and WAL writer are pretty low users of CPU and I/O
relative to how much an expensive query uses in most cases.  You should
try out one of the nice approaches and see if it works for you rather than
presuming the background processes will thwart you here.  There isn't
anything better available in the database yet, so it's the closest things
to a good solution available right now anyway.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD

pgsql-performance by date:

Previous
From: Bryan Murphy
Date:
Subject: Re: Limit I/O bandwidth of a certain backend
Next
From: Dimitri
Date:
Subject: Any better plan for this query?..