Re: Maximum realistic number of database user accounts? - Mailing list pgsql-general

From Tom Lane
Subject Re: Maximum realistic number of database user accounts?
Date
Msg-id 17063.1203015811@sss.pgh.pa.us
Whole thread Raw
In response to Maximum realistic number of database user accounts?  ("Greg Fausak" <lgfausak@gmail.com>)
Responses Re: Maximum realistic number of database user accounts?
List pgsql-general
"Greg Fausak" <lgfausak@gmail.com> writes:
> Can I create a database with 1 million login roles and expect performance to
> be good? 10 million?

Probably not, as (to my knowledge) no one has ever done any performance
testing in that domain.  I doubt anyone's worked with more than a few
thousand roles.  I can definitely say that granting permissions on the
same object to many thousands of roles separately would be a Bad Idea.

Feel free to try it, but I'd *strongly* advise doing some performance
testing before you commit to such a design.  And think about how you can
use groups to reduce redundancy in the permissions data.

            regards, tom lane

pgsql-general by date:

Previous
From: "Christopher Browne"
Date:
Subject: Re: Maximum realistic number of database user accounts?
Next
From: "Dan Armbrust"
Date:
Subject: Re: performance issues on windows with 8.3.0?