Re: pg_xlogdump --stats

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Marti Raudsepp <marti(at)juffo(dot)org>, Abhijit Menon-Sen <ams(at)2ndquadrant(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_xlogdump --stats
Date: 2014-07-02 05:21:46
Message-ID: 53B396EA.2000708@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 07/02/2014 09:20 AM, Marti Raudsepp wrote:

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

What 'du' does, or a subset of, may be worthwhile.

-k: kB
-b: blocks
-m: MB
-h: human-readable auto-scaling

though I think just the "-h" flag would be useful here, meaning "wrap in
pg_size_pretty".

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2014-07-02 05:22:35 Re: WAL replay bugs
Previous Message Craig Ringer 2014-07-02 05:18:48 Re: buildfarm and "rolling release" distros