From: | Craig Ringer <craig(at)postnewspapers(dot)com(dot)au> |
---|---|
To: | "Gauthier, Dave" <dave(dot)gauthier(at)intel(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: limiting resources to users |
Date: | 2009-11-26 02:38:56 |
Message-ID: | 4B0DEA40.2030808@postnewspapers.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Craig Ringer wrote:
> Gauthier, Dave wrote:
>
>> Is there a way in Postgres to limit how much cpu, memory, other
>> resources a certain DB gets? A MySQL DB that I'm now replacing with PG
>> has been having problems with run-away users that pound one DB with
>> intense processes running periodically in cron jobs. The effect is that
>> it takes up all the resources and the users of other DBs suffer because
>> the CPU is pegged servicing the first guy.
>
I've tidied up my previous explanation into a wiki page, since it'll
come up again. Your comments and suggestions would be appreciated:
http://wiki.postgresql.org/wiki/Prioritizing_databases_by_separating_into_multiple_clusters
I've also added a general explanation of the issues with prioritizing
users/queries/connections/databases:
http://wiki.postgresql.org/wiki/Priorities
Both pages are very much draft quality. Comments, edits, etc would be
most welcome.
--
Craig Ringer
From | Date | Subject | |
---|---|---|---|
Next Message | Bill Todd | 2009-11-26 03:05:02 | How use input parameter as path to COPY in function? |
Previous Message | Craig Ringer | 2009-11-26 01:51:50 | Re: Mysql migration to Postgresql |