Re: Limit on number of users in postgresql?

From: "Willy-Bas Loos" <willybas(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Limit on number of users in postgresql?
Date: 2007-01-29 08:44:10
Message-ID: 1dd6057e0701290044i1bccc720r38f738e8a058f1ee@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
>I think that the
>main bottleneck would be the "flat file" that's used to tell the
>postmaster about the set of valid users --- every time a user is
>added/dropped/changed, that file gets rewritten and then re-parsed
>by the postmaster. So you could eat a lot of overhead if you change
>users every few seconds or something like that.

I'm developing the same kind of application right now. We've been successful
in programming per-user row-level security, we're quite happy with it. Even
if someone should crack our web-server he still could not do anything much
with the database, which holds what really matters to us.
I've heard about the performance drawbacks, but never the exact reason for
it.
What you describe Tom (flat file), sounds a bit strange to me. Aren't users
stored in a table? (pg_catalog.pg_authid)
I guess maybe those (system) tables are stored differently than normal ones?

Willy-Bas

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2007-01-29 09:16:26 Re: Loop plpgsql recordset
Previous Message Sim Zacks 2007-01-29 08:37:35 PG Email Client