Re: Megabytes of stats saved after every connection

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Megabytes of stats saved after every connection
Дата
Msg-id 25889.1122575284@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Megabytes of stats saved after every connection  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: Megabytes of stats saved after every connection  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-general
Jan Wieck <JanWieck@Yahoo.com> writes:
> On 7/28/2005 2:03 PM, Tom Lane wrote:
>> Well, there's the problem --- the stats subsystem is designed in a way
>> that makes it rewrite its entire stats collection on every update.
>> That's clearly not going to scale well to a large number of tables.
>> Offhand I don't see an easy solution ... Jan, any ideas?

> PostgreSQL itself doesn't work too well with tens of thousands of
> tables.

Really?  AFAIK it should be pretty OK, assuming you are on a filesystem
that doesn't choke with tens of thousands of entries in a directory.
I think we should put down a TODO item to see if we can improve the
stats subsystem's performance in such cases.

            regards, tom lane

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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: Megabytes of stats saved after every connection
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: UNSUBSCRIBE