Re: Running some query in low priority

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: S Arvind <arvindwill(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Running some query in low priority
Date: 2009-11-05 13:25:20
Message-ID: 2f4958ff0911050525w678925uc8f63fe966951ef5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Thu, Nov 5, 2009 at 1:20 PM, S Arvind <arvindwill(at)gmail(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Matthew Wakeling 2009-11-05 13:39:35 Re: Running some query in low priority
Previous Message S Arvind 2009-11-05 13:20:19 Re: Running some query in low priority