Re: SOC & user quotas - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: SOC & user quotas
Date
Msg-id 45E5C2DC.9030109@commandprompt.com
Whole thread Raw
In response to Re: SOC & user quotas  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: SOC & user quotas  (Martijn van Oosterhout <kleptog@svana.org>)
Re: SOC & user quotas  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
Tom Lane wrote:
> "Sergey E. Koposov" <math@sai.msu.ru> writes:
>> Per user AND per database (as Tom noted).  But I dont see what's odd in 
>> it... It exists in Oracle, and I need quotas in the project on which I'm 
>> working. And I remember user requests for quotas in the mailing lists ...
> 
> It hasn't ever made it onto the TODO list, which means there's not a
> consensus that we need it.  If it were a simple, small, low-impact patch
> then you probably wouldn't need to do much convincing that it's an
> important feature to have, but I'm afraid the patch will be none of
> those things.

Tom what about at just the DB level?

E.g; if user foo then pg_database_size may not be > than X?

I guess the big question would be when do we check though? At each
transaction seems like it would add significant overhead, especially if
we had to rollback the transaction because it was going to go over their
quota.

Egad.

Joshua D. Drake



> 
>             regards, tom lane
> 


-- 
     === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997            http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES]
Next
From: "Sergey E. Koposov"
Date:
Subject: Re: SOC & user quotas