Re: "set nice" running a transaction in a lower priority?
В списке pgsql-general по дате отправления:
| От | Richard Huxton |
|---|---|
| Тема | Re: "set nice" running a transaction in a lower priority? |
| Дата | |
| Msg-id | 200206130957.52426.dev@archonet.com обсуждение исходный текст |
| Ответ на | "set nice" running a transaction in a lower priority? ("Clark C . Evans" <cce@clarkevans.com>) |
| Ответы |
Re: "set nice" running a transaction in a lower priority?
|
| Список | pgsql-general |
On Wednesday 12 Jun 2002 6:33 pm, Clark C . Evans wrote: > I was wondering if there is a way to set transaction > priority so that it takes its good sweet time and > handles other queries quickly? Not really - and it might be counter-productive to slow down the import. If another transaction can't complete until the import is finished then everything could end up delayed. I guess you could nice the pid of the relevant backend process, but I'd be inclined to batch the import into sections of 5000 records or so and sleep for a second between batches. - Richard Huxton
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера