Re: Measuring relation free space - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: Measuring relation free space
Date
Msg-id CAJKUy5iUXWeLqXMujZvPBbbK_UuVt329kC6dRwsN8oEcv_+4LQ@mail.gmail.com
Whole thread Raw
In response to Re: Measuring relation free space  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Measuring relation free space
List 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

Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pl/python custom datatype parsers
Next
From: "Kevin Grittner"
Date:
Subject: Materialized views