Re: Backend memory growing too much

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Backend memory growing too much
Дата
Msg-id 23541.1184685218@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Backend memory growing too much  (ohp@pyrenet.fr)
Список pgsql-hackers
ohp@pyrenet.fr writes:
> I don't know much about DBI/DBD but I know sqlgrey uses a lot of
> prepare/prepare_cached statements.

Well, those aren't exactly free.

Possibly you could learn something about it by attaching to one of
these backends with gdb and executing
call MemoryContextStats(TopMemoryContext)

This will dump a memory map to stderr.
        regards, tom lane


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

Предыдущее
От: "Brendan Jurd"
Дата:
Сообщение: Re: Invalid to_date patterns (was: [PATCHES] [GENERAL] ISO week dates)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Invalid to_date patterns (was: [PATCHES] [GENERAL] ISO week dates)