Re: maximum for database users? - Mailing list pgsql-novice

From Chris Browne
Subject Re: maximum for database users?
Date
Msg-id 60y80shtcm.fsf@dba2.int.libertyrms.com
Whole thread Raw
In response to function privileges  (Murat Tasan <murat.tasan@cwru.edu>)
Responses Re: maximum for database users?
List pgsql-novice
tjibbe@hotmail.com ("Tjibbe Rijpma") writes:
> Is there a maximun for database users in PostgreSQL?
>
> Is is sensible to create a database with 3000 or more database users? All
> divided different groups? And give those groups privileges?
>
> Or is it better to let PHP handle the user privileges?

User identities are stored in a table, pg_shadow, and PostgreSQL is
fairly good at managing data stored in tables :-).

But it is fairly common for applications to not expose database users
to the application users.

For instance, the SAP R/3 system (which doesn't use PostgreSQL; it
typically uses Oracle) generally runs as just one database user.

Likewise, it is common for a web application to have one or just a few
"database users;" think of Slashdot, where there is not really any
reason for each of the many thousands of users to be identifiable
inside the database.

The applications we hook to PostgreSQL generally have small numbers of
database users, however many "application users" there may be.

You'll likely find the same true for you...
--
let name="cbbrowne" and tld="acm.org" in String.concat "@" [name;tld];;
http://www.ntlug.org/~cbbrowne/wp.html
Rules  of  the Evil  Overlord  #97.  "My  dungeon  cells  will not  be
furnished with  objects that  contain reflective surfaces  or anything
that can be unravelled." <http://www.eviloverlord.com/>

pgsql-novice by date:

Previous
From: Gan Uesli Starling
Date:
Subject: Dropping sub-tables
Next
From: "James Dey"
Date:
Subject: Backing Up