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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: Jim Cox <shakahshakah(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: TODO item: adding VERBOSE option to CLUSTER [with patch]
Date: 2008-10-10 14:23:02
Message-ID: 48EF6546.4000208@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kevin Grittner wrote:
>>>> "Jim Cox" <shakahshakah(at)gmail(dot)com> wrote:
>> if present an INFO message is generated which displays
>> the schema.tblname just before actual clustering is kicked off (see
> example
>> below).
>
>> postgres=# CLUSTER VERBOSE ;
>> INFO: clustering "public.my_b"
>> INFO: clustering "public.my_c"
>> INFO: clustering "public.my_a"
>> CLUSTER
>
> Would it make sense to display the pg_total_relation_size before and
> after?

Assuming you run CLUSTER as a replacement for VACUUM FULL, yes. More
interesting would be a metric of "clusteredness", I think.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Mielke 2008-10-10 14:43:42 Re: patch: Allow the UUID type to accept non-standard formats
Previous Message Kevin Grittner 2008-10-10 14:05:11 Re: TODO item: adding VERBOSE option to CLUSTER [with patch]