Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 9BC00632D4B for ; Tue, 23 Jun 2009 03:28:45 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 82641-09 for ; Tue, 23 Jun 2009 03:28:44 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from kerberos.fcon.no (165.84-49-232.nextgentel.com [84.49.232.165]) by mail.postgresql.org (Postfix) with ESMTP id 5E96862D46D for ; Tue, 23 Jun 2009 03:28:44 -0300 (ADT) Received: from [10.0.0.77] (unknown [10.0.0.77]) by kerberos.fcon.no (Postfix) with ESMTP id BC33D370A6 for ; Tue, 23 Jun 2009 08:28:41 +0200 (CEST) Message-ID: <4A40761A.90604@fcon.no> Date: Tue, 23 Jun 2009 08:28:42 +0200 From: Thomas Finneid User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: query priorities? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.1 tagged_above=0 required=5 tests=RDNS_DYNAMIC=0.1 X-Spam-Level: X-Archive-Number: 200906/85 X-Sequence-Number: 19749 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