Re: TODO item: adding VERBOSE option to CLUSTER [with patch]

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Joshua Drake <jd(at)commandprompt(dot)com>, "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>, "Gregory Stark" <stark(at)enterprisedb(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Heikki Linnakangas" <heikki(dot)linnakangas(at)enterprisedb(dot)com>, "Jim Cox" <shakahshakah(at)gmail(dot)com>
Subject: Re: TODO item: adding VERBOSE option to CLUSTER [with patch]
Date: 2008-10-14 21:36:59
Message-ID: 200810141736.59849.xzilla@users.sourceforge.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Monday 13 October 2008 16:45:35 Joshua Drake wrote:
> On Mon, 13 Oct 2008 15:34:04 -0500
>
> "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
> > ccdev=# select pg_total_relation_size('"DbTranImageStatus"');
> > pg_total_relation_size
> > ------------------------
> > 253952
> > (1 row)
> >
> > ccdev=# cluster "DbTranImageStatus";
> > CLUSTER
> > ccdev=# select pg_total_relation_size('"DbTranImageStatus"');
> > pg_total_relation_size
> > ------------------------
> > 32768
> > (1 row)
> >
> > -Kevin
>
> Although I think it is an interesting bit of information, I find that
> "if" I am going to be clustering, I have already done the above.
>
>

I agree with that, though I still wouldn't mind seeing some size specific
information, similar to what vacuum verbose emits.. eg.

INFO: "my_users_mods": removed 790 row versions in 4 pages
INFO: "my_users_mods": found 790 removable, 308 nonremovable row versions in
6 pages

--
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2008-10-14 21:39:33 Re: Version Number Function?
Previous Message Hannu Krosing 2008-10-14 21:32:57 Re: Version Number Function?