Re: Preventing query from hogging server

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Preventing query from hogging server
Дата
Msg-id 20050328210559.GC51784@decibel.org
обсуждение исходный текст
Ответ на Preventing query from hogging server  ("Matthew Nuzum" <matt.followers@gmail.com>)
Список pgsql-performance
On Thu, Mar 24, 2005 at 01:07:39PM -0600, Matthew Nuzum wrote:
> I've tried `nice psql` in the past and I don't think that had much impact,
> but I haven't tried it on this query.

On linux, nice will only help if the query is CPU-bound. On FreeBSD,
nice affects I/O scheduling, as well as CPU, so it's a more effective
means of limiting the impact of large queries. I don't know how other
OS's handle this.
--
Jim C. Nasby, Database Consultant               decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

В списке pgsql-performance по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: which dual-CPU hardware/OS is fastest for PostgreSQL?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Delete query takes exorbitant amount of time