Re: Running some query in low priority

Поиск
Список
Период
Сортировка
От Grzegorz Jaśkiewicz
Тема Re: Running some query in low priority
Дата
Msg-id 2f4958ff0911050525w678925uc8f63fe966951ef5@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Running some query in low priority  (S Arvind <arvindwill@gmail.com>)
Ответы Re: Running some query in low priority  (Matthew Wakeling <matthew@flymine.org>)
Список pgsql-performance


On Thu, Nov 5, 2009 at 1:20 PM, S Arvind <arvindwill@gmail.com> wrote:
Thank Greg and Grzegorz,
       As told i have large batch load to the postgres which i need to be run in low priority. Is it really throttling the data will help to lower the postgres workload for some queries?
depends on what you are actually trying to achieve.

If it is an insert of some sort, than divide it up. If it is a query that runs over data, use limits, and do it in small batches. Overall, divide in conquer approach works in these scenarios.



--
GJ

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

Предыдущее
От: S Arvind
Дата:
Сообщение: Re: Running some query in low priority
Следующее
От: Matthew Wakeling
Дата:
Сообщение: Re: Running some query in low priority