Re: PostgreSQL users on webhosting - Mailing list pgsql-general

From Jeff
Subject Re: PostgreSQL users on webhosting
Date
Msg-id 052AD5CC-5F4B-11D9-9B47-000D9366F0C4@torgo.978.org
Whole thread Raw
In response to Re: PostgreSQL users on webhosting  (Alan Garrison <alang@cronosys.com>)
Responses Re: PostgreSQL users on webhosting  (Jeff Davis <jdavis-pgsql@empires.org>)
List pgsql-general
On Jan 5, 2005, at 9:49 AM, Alan Garrison wrote:
> Out of curiosity, what kind of performance hit (whether CPU, memory,
> disk activity) is incurred with having a lot of postmasters running in
> this kind of a setup versus one postmaster with lots of databases?  We
> typically run one postmaster for a lot of

You'd have to have separate shared buffers for each which would eat
away from the filesystem cache.   Not to mention overhead of having
many more PG's running (in terms of just processes htat need to be
managed and memory used by each). You'd also have to have the users
connect to PG on an alternate port and that may irritate some.

In a web hosting (multi-user) environment it may make more sense. but
you could also just give each user his own db and only allow sameuser
access to each db via pg_hba.conf.

--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/


pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: warning: pg_query(): Query failed
Next
From: "Joost Kraaijeveld"
Date:
Subject: Index on a view??