pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Finneid <tfinneid@fcon.no>
To: pgsql-jdbc@postgresql.org
Subject: query priorities?
Date: Tue, 23 Jun 2009 08:28:42 +0200
Message-ID: <4A40761A.90604@fcon.no> (raw)

Hi

Is it possible to give queries different priorities?

If I start a bigger query that is not part of the primary work of the 
app, it can lead to it eating up the resources in the db so the primary 
work does not complete in a reasonable time. Hence, I was wondering if I 
can give queries priorities, so that the primary work always has higher 
priority. While the secondary work, such as ad hoc queries, do not 
obstruct resource access etc for the the primary work.

reagrds

thomas



Message-ID: <4A40761A.90604@fcon.no>
Permalink:  ../4A40761A.90604@fcon.no/
Also on:    postgresql.org/message-id/4A40761A.90604@fcon.no

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tfinneid@fcon.no
  Subject: Re: query priorities?
  In-Reply-To: <4A40761A.90604@fcon.no>
  References: <4A40761A.90604@fcon.no>

* 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