From: Benjamin Arai <benjamin@araisoft.com>
To: Edwin Eyan Moragas <haaktu@gmail.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: Priorities for users or queries?
Date: Sun, 11 Feb 2007 00:34:51 -0800
Message-ID: <45CED52B.3070107@araisoft.com> (raw)
In-Reply-To: <376dd1950702110031i40d41133n85c6010d3f81d903@mail.gmail.com>
References: <45CE69B5.40204@araisoft.com>
<376dd1950702110031i40d41133n85c6010d3f81d903@mail.gmail.com>
Hi Edwin,
Which connection parameters effect system resources?
Benjamin
Edwin Eyan Moragas wrote:
> On 2/11/07, Benjamin Arai <benjamin@araisoft.com> wrote:
>> Hi,
>>
>> Is there a way to give priorities to queries or users? Something
>> similar to NICE in Linux. My goal is to give the updating (backend)
>> application a very low priority and give the web application a high
>> priority to avoid disturbing the user experience.
>>
>> Thanks in advance!
>
> with all due respect to Josh who has replied to this question already.
>
> i have been thinking about this and would like to make sure i am on
> the right track.
>
> yes, there is no way to give priorities to queries or users in the db.
> however, please correct me if i'm wrong, if i want something to run
> with lower priority, i can use different connection parameters
> which would use lower system resources. thus, this connection
> would run "slower" that the other "normal" connections to the db.
>
> would that be right?
>
>>
>> Benjamin
>>
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 7: You can help support the PostgreSQL project by donating at
>>
>> http://www.postgresql.org/about/donate
>>
>
>
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-admin@postgresql.org
Cc: benjamin@araisoft.com, haaktu@gmail.com, pgsql-general@postgresql.org
Subject: Re: Priorities for users or queries?
In-Reply-To: <45CED52B.3070107@araisoft.com>
* 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