Re: pg_xlogdump --stats

From: Abhijit Menon-Sen <ams(at)2ndQuadrant(dot)com>
To: Marti Raudsepp <marti(at)juffo(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_xlogdump --stats
Date: 2014-07-02 03:07:09
Message-ID: 20140702030709.GA22813@toroid.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 2014-07-02 04:20:31 +0300, marti(at)juffo(dot)org wrote:
>
> As far as functionality goes, it does exactly what I needed it to do;
> the output is very clear.

Good to hear.

> You might also add units (kB/MB) to the table like pg_size_pretty,
> although that would make the magnitudes harder to gauge.

I think df-style -k/m/g switches might be useful to scale all printed
values. If we did that, we could also shrink the columns accordingly.
But that would also complicate the code a bit. I think it's better to
start with the simplest thing, and add more tweaks later.

-- Abhijit

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2014-07-02 03:10:16 Re: TODO item: immutable date_trunc with timezone arg
Previous Message Noah Misch 2014-07-02 02:58:20 Re: buildfarm and "rolling release" distros