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 Tom Lane <tgl@sss.pgh.pa.us>
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>
Re: [BUGS] BUG #4919: CREATE USER command slows down system performance Tom Lane <tgl@sss.pgh.pa.us>
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>
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>
Re: [BUGS] BUG #4919: CREATE USER command slows down system performance Bruce Momjian <bruce@momjian.us>
toruvinn wrote:
> On Wed, 15 Jul 2009 16:02:09 +0200, Alvaro Herrera  
>  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
Дата:
От: Tom Lane
Дата:
FAQ