Re: [PERFORM] BUG #4919: CREATE USER command slows down system performance

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, toruvinn <toruvinn(at)lain(dot)pl>, pgsql-bugs(at)postgresql(dot)org, pgsql-performance(at)postgresql(dot)org
Subject: Re: [PERFORM] BUG #4919: CREATE USER command slows down system performance
Date: 2009-08-08 18:15:39
Message-ID: 26718.1249755339@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-performance

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Tom Lane wrote:
>> ... I don't remember exactly what we do with the
>> flat-file contents.

> Maybe what we need is not to get rid of the flat files, but to speed
> them up. If we're worried about speed in the pg_authid flatfile, and
> come up with a solution to that problem, what will we do with the
> pg_database flatfile when it grows too large? We can't just get rid of
> it, because autovacuum needs to access it.

Well, one of the components of the TODO would have to be to figure out a
way to fix autovacuum to avoid that.

Or we could consider getting rid of the pg_auth flatfile while keeping
the pg_database one, which would fix the issue for role names anyway...
but it's certainly an ugly compromise.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-08-08 18:49:01 Re: [PERFORM] BUG #4919: CREATE USER command slows down system performance
Previous Message Alvaro Herrera 2009-08-08 17:57:05 Re: [PERFORM] BUG #4919: CREATE USER command slows down system performance

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2009-08-08 18:49:01 Re: [PERFORM] BUG #4919: CREATE USER command slows down system performance
Previous Message Alvaro Herrera 2009-08-08 17:57:05 Re: [PERFORM] BUG #4919: CREATE USER command slows down system performance