controlling process priority

From: "Peter T(dot) Brown" <peter(at)memeticsystems(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>, <pgsql-sql(at)postgresql(dot)org>
Subject: controlling process priority
Date: 2001-12-20 02:58:37
Message-ID: 007301c18902$39df9b20$7d00000a@PETER
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc 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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Robert B. Easter 2001-12-20 13:24:41 Re: controlling process priority
Previous Message Nick Fankhauser 2001-12-19 15:07:51 Re: pg_hba.conf configuration

Browse pgsql-sql by date

  From Date Subject
Next Message Kovacs Zoltan 2001-12-20 08:44:41 Re: Constructing a backup routine
Previous Message Andrew G. Hammond 2001-12-19 19:28:49 Re: return a text agreggate from a subselect