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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [BUGS] BUG #4919: CREATE USER command slows down system performance
Дата
Msg-id 20090715144735.GG4551@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #4919: CREATE USER command slows down system performance  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: [BUGS] BUG #4919: CREATE USER command slows down system performance  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
toruvinn wrote:
> On Wed, 15 Jul 2009 16:02:09 +0200, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
>> My bet is on the pg_auth flat file.  I doubt we have ever tested the
>> behavior of that code with 1 billion users ...

> I was always wondering, though, why PostgreSQL uses this approach and not
> its catalogs.

It does use the catalog for most things.  THe flatfile is used for the
situations where the catalogs are not yet ready to be read.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

В списке pgsql-performance по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Poor overall performance unless regular VACUUM FULL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #4919: CREATE USER command slows down system performance