Received: from mail.memeticsystems.com (flywheel.memeticsystems.com [64.85.80.85]) by postgresql.org (8.11.3/8.11.4) with SMTP id g08KKMB57853 for ; Tue, 8 Jan 2002 15:20:22 -0500 (EST) (envelope-from peter@memeticsystems.com) Received: (qmail 7659 invoked from network); 8 Jan 2002 20:20:23 -0000 Received: from unknown (HELO PETER) (63.249.24.21) by flywheel.memeticsystems.com with SMTP; 8 Jan 2002 20:20:23 -0000 From: "Peter T. Brown" To: Subject: query priority Date: Tue, 8 Jan 2002 12:20:22 -0800 Message-ID: <002d01c19881$e6add680$7d00000a@PETER> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Archive-Number: 200201/33 X-Sequence-Number: 2922 Is there a way to reduce the priority of any psql queries depending on the user connecting to the database? I basically want to be able to run lower priority queries for some types of queries (for exporting and analysis) while other queries run at higher priorities (for mission critical website serving etc.). I have seem some C functions that will nice a SELECT at the time its run, but I am using JDBC from a servlet engine cluster.... Any ideas? THANK YOU