Re: Maximum realistic number of database user accounts?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: greg(at)thursday(dot)com
Cc: pgsql-general(at)postgresql(dot)org, lgfausak(at)gmail(dot)com
Subject: Re: Maximum realistic number of database user accounts?
Date: 2008-02-14 19:03:31
Message-ID: 17063.1203015811@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Greg Fausak" <lgfausak(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dan Armbrust 2008-02-14 19:10:11 Re: performance issues on windows with 8.3.0?
Previous Message Christopher Browne 2008-02-14 18:37:32 Re: Maximum realistic number of database user accounts?