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

* Memory space
@ 2006-11-06 17:16 Nikola Radakovic <achillea@hi.t-com.hr>
  2006-11-08 06:21 ` Re: Memory space Jim C. Nasby <jim@nasby.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Nikola Radakovic @ 2006-11-06 17:16 UTC (permalink / raw)
  To: pgsql-admin

Dear community,

First of all, I am completely new on this mailing list.
I have read tons of tutorials, but I can't find how to set up
further thing.I know how to add database for each user, but how to
achieve  in Postgres 8.1 how big assigned database should be on server
machine?

For instance:
I want that database cash for user1 occupies 500Mb disk space.
database calendar for user2  occupies 100Mb
etc...

best regards,
Nikola





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

* Re: Memory space
  2006-11-06 17:16 Memory space Nikola Radakovic <achillea@hi.t-com.hr>
@ 2006-11-08 06:21 ` Jim C. Nasby <jim@nasby.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Jim C. Nasby @ 2006-11-08 06:21 UTC (permalink / raw)
  To: Nikola Radakovic <achillea@hi.t-com.hr>; +Cc: pgsql-admin

On Mon, Nov 06, 2006 at 11:16:46AM -0600, Nikola Radakovic wrote:
> Dear community,
> 
> First of all, I am completely new on this mailing list.
> I have read tons of tutorials, but I can't find how to set up
> further thing.I know how to add database for each user, but how to
> achieve  in Postgres 8.1 how big assigned database should be on server
> machine?
> 
> For instance:
> I want that database cash for user1 occupies 500Mb disk space.
> database calendar for user2  occupies 100Mb
> etc...

Unlike some other databases, PostgreSQL doesn't deal with size limits.
Unless you really want to limit the size of each database there's
nothing to worry about. If you do want to limit the size, your only
option is to create a cluster for each user and let the OS quota limit
size (though many versions of PostgreSQL don't react too kindly to
running out of space).

A third option is to use one cluster, but create each database with it's
own tablespace, and only give users access to their tablespaces. It's
not quite as fool-proof as multiple clusters, but it's a lot easier on
system resources.
-- 
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



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


end of thread, other threads:[~2006-11-08 06:21 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-11-06 17:16 Memory space Nikola Radakovic <achillea@hi.t-com.hr>
2006-11-08 06:21 ` Jim C. Nasby <jim@nasby.net>

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