Load balancing lots of simultaneous clients or queries?

From: Dirk Lutzebaeck <lutzeb(at)aeccom(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Load balancing lots of simultaneous clients or queries?
Date: 2001-05-22 07:48:29
Message-ID: 15114.6605.706175.31003@cayambe.core.aeccom.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi,

suppose a lot of clients are using the database server with different
complex queries simultaneously. I understand that all clients are
equal so clients with large tasks would hamper clients with small
tasks.

It would be nice if a client could say: hey I know I have a large task
/ query please set me to a low priority. So the server would withdraw some
cpu and io cycles from this task.

On a per process basis one would do this with 'nice' but how could
that be applied to the postmaster/postgres mechanism?

Or in a more complex mod_perl scenario where httpd processes don't
open/close connections for new requests (by Apache::DBI).

Something like SET PRIORITY...

Any comments?

Dirk

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2001-05-22 08:49:46 Re: Select statement
Previous Message Denis A. Doroshenko 2001-05-22 07:04:53 Re: psql shell problem