Re: pg_xlogdump --stats - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: pg_xlogdump --stats
Date
Msg-id 53B396EA.2000708@2ndquadrant.com
Whole thread Raw
In response to Re: pg_xlogdump --stats  (Marti Raudsepp <marti@juffo.org>)
List 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



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: buildfarm and "rolling release" distros
Next
From: Michael Paquier
Date:
Subject: Re: WAL replay bugs