pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Limiting database size ...
3+ messages / 2 participants
[nested] [flat]

* Limiting database size ...
@ 2003-02-26 11:49 Daniel Rubio <drubior@tinet.org>
  2003-02-26 18:21 ` Re: Limiting database size ... Robert Treat <xzilla@users.sourceforge.net>
  0 siblings, 1 reply; 3+ messages in thread

From: Daniel Rubio @ 2003-02-26 11:49 UTC (permalink / raw)
  To: pgsql-admin

Hi!

I'm working on an ISP, and we're testing Postgres to offer Database 
Services to our clients.

We like to limit the maximum database size for each client (1 database 
for client), but as far as I know postgres hasn't this functionality.

I've also tried to limit this size using system quotas but it doesn't 
work because to control this space I need that the files of the database 
(those under the data/base/xxx) owns to the user ant then postgres 
doesn't recognise them (I'm also afraid because i don't know what could 
happen to the database consistence if the operating system doesn't 
permit to complete an operation in course).

Someone has the same problem?
How can I make that?
What would happen to the consistence if the quota is full while postgres 
is writing?

Thank you, and sorry for my english :(
-- 
********************************************************
Daniel Rubio Rodríguez
OASI (Organisme Autònom Per la Societat de la Informació)
c/ Assalt, 12
43003 - Tarragona
Tef.: 977.244.007 - Fax: 977.224.517
e-mail: drubio@oasi.org
********************************************************




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Limiting database size ...
  2003-02-26 11:49 Limiting database size ... Daniel Rubio <drubior@tinet.org>
@ 2003-02-26 18:21 ` Robert Treat <xzilla@users.sourceforge.net>
  2003-02-27 07:27   ` Re: Limiting database size ... Daniel Rubio <drubior@tinet.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Robert Treat @ 2003-02-26 18:21 UTC (permalink / raw)
  To: Daniel Rubio <drubior@tinet.org>; +Cc: pgsql-admin



On Wed, 2003-02-26 at 06:49, Daniel Rubio wrote:
> Hi!
> 
> I'm working on an ISP, and we're testing Postgres to offer Database 
> Services to our clients.
> 
> We like to limit the maximum database size for each client (1 database 
> for client), but as far as I know postgres hasn't this functionality.
> 
> I've also tried to limit this size using system quotas but it doesn't 
> work because to control this space I need that the files of the database 
> (those under the data/base/xxx) owns to the user ant then postgres 
> doesn't recognise them (I'm also afraid because i don't know what could 
> happen to the database consistence if the operating system doesn't 
> permit to complete an operation in course).
> 
> Someone has the same problem?
> How can I make that?
> What would happen to the consistence if the quota is full while postgres 
> is writing?
> 

Would it be feasible for you to install a copy of postgresql for each
user, as that user? This might allow you to set up a quota per user.
Should they run out of space, postgresql will just start throwing errors
with references to no space left on the device (the specific errors will
be dependent on what your trying to do).

Robert Treat





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Limiting database size ...
  2003-02-26 11:49 Limiting database size ... Daniel Rubio <drubior@tinet.org>
  2003-02-26 18:21 ` Re: Limiting database size ... Robert Treat <xzilla@users.sourceforge.net>
@ 2003-02-27 07:27   ` Daniel Rubio <drubior@tinet.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Daniel Rubio @ 2003-02-27 07:27 UTC (permalink / raw)
  To: pgsql-admin


> Would it be feasible for you to install a copy of postgresql for each
> user, as that user? This might allow you to set up a quota per user.
> Should they run out of space, postgresql will just start throwing errors
> with references to no space left on the device (the specific errors will
> be dependent on what your trying to do).
> 

200 Postgresql running? No, thanks :)

-- 
********************************************************
Daniel Rubio Rodríguez
OASI (Organisme Autònom Per la Societat de la Informació)
c/ Assalt, 12
43003 - Tarragona
Tef.: 977.244.007 - Fax: 977.224.517
e-mail: drubio@oasi.org
********************************************************




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-02-27 07:27 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-02-26 11:49 Limiting database size ... Daniel Rubio <drubior@tinet.org>
2003-02-26 18:21 ` Robert Treat <xzilla@users.sourceforge.net>
2003-02-27 07:27   ` Daniel Rubio <drubior@tinet.org>

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