pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter T. Brown <peter@memeticsystems.com>
To: pgsql-jdbc@postgresql.org
To: pgsql-sql@postgresql.org
Subject: controlling process priority
Date: Wed, 19 Dec 2001 18:58:37 -0800
Message-ID: <007301c18902$39df9b20$7d00000a@PETER> (raw)

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




view thread (4+ messages)  latest in thread

Message-ID: <007301c18902$39df9b20$7d00000a@PETER>
Permalink:  ../007301c18902$39df9b20$7d00000a@PETER/
Also on:    postgresql.org/message-id/007301c18902$39df9b20$7d00000a@PETER

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: peter@memeticsystems.com, pgsql-jdbc@postgresql.org
  Subject: Re: controlling process priority
  In-Reply-To: <007301c18902$39df9b20$7d00000a@PETER>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox