controlling process priority

Поиск
Список
Период
Сортировка
От Peter T. Brown
Тема controlling process priority
Дата
Msg-id 007301c18902$39df9b20$7d00000a@PETER
обсуждение исходный текст
Ответы Re: controlling process priority  ("Robert B. Easter" <reaster@comptechnews.com>)
Список pgsql-sql
Hi--

I've got a complicated SQL select/insert which inserts up to 1 million
records when run and can take up to 20 minutes to complete. Is there a way
to control the priority of this select such that when Postgres is busy with
other (higher priority) tasks it gets delayed??

My problem is that when dealing with lots of traffic, if one of these
complex queries gets run, all the query traffic is slowed considerably thus
hurting the performance of my application.



Thanks,

Peter T. Brown


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

Предыдущее
От: "Andrew G. Hammond"
Дата:
Сообщение: Re: return a text agreggate from a subselect
Следующее
От: Archibald Zimonyi
Дата:
Сообщение: Connections?