| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Gregory Stark <stark(at)enterprisedb(dot)com> |
| Cc: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Jim Cox <shakahshakah(at)gmail(dot)com>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: TODO item: adding VERBOSE option to CLUSTER [with patch] |
| Date: | 2008-10-13 20:06:14 |
| Message-ID: | 26362.1223928374@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Gregory Stark <stark(at)enterprisedb(dot)com> writes:
> Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> writes:
>> Until we have a better metric for "sortedness", my earlier suggestion to print
>> it was probably a bad idea. If anything, should probably print the same
>> correlation metric that ANALYZE calculates, so that it would at least match
>> what the planner uses for decision-making.
> I agree with that. I like the idea of printing a message though -- we should
> just have it print the correlation for now and when we improve the stats we'll
> print the new metric.
Short of actually running an ANALYZE, I'm not seeing a good way to
derive the same number it derives.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gregory Stark | 2008-10-13 20:11:43 | Re: TODO item: adding VERBOSE option to CLUSTER [with patch] |
| Previous Message | Tom Lane | 2008-10-13 20:03:39 | Re: There's some sort of race condition with the new FSM stuff |