Re: Measuring relation free space

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: Measuring relation free space
Дата
Msg-id CAJKUy5iUXWeLqXMujZvPBbbK_UuVt329kC6dRwsN8oEcv_+4LQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Measuring relation free space  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Measuring relation free space  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Sun, Nov 6, 2011 at 5:38 AM, Magnus Hagander <magnus@hagander.net> wrote:
>
> Looks pretty useful.
>

thanks for the review, attached is a new version of it

> One quick stylistic comment - we don't generally use "* 1.0" to turn
> an int into a double - just use a cast.
>

ok

>
> Hooking into a ring buffer seems like an almost requirement before you
> can run this on a larger production system, wouldn't it? I don't know
> how  hard that is code-wise, but it certainly seems worthwhile.
>

seems it wasn't too difficult... i just have to indicate the right
buffer access strategy so it's using a ring buffer now

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación

Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pl/python custom datatype parsers
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Materialized views