[SQL] Measuring degredation of CLUSTER INDEX operation

2008-11-10 Thread Bryce Nesbitt
I've got a table for which "CLUSTER tablename USING index" makes an order of magnitude difference. Are there ways to determine how "unclustered" this table becomes over time, so I can schedule downtime to recluster? I could use the pg_stat tables, but this seems awkward. -Bry

Re: [SQL] Measuring degredation of CLUSTER INDEX operation

2008-11-10 Thread Scott Marlowe
On Mon, Nov 10, 2008 at 12:54 PM, Bryce Nesbitt <[EMAIL PROTECTED]> wrote: > I've got a table for which "CLUSTER tablename USING index" makes an order of > magnitude difference. > > Are there ways to determine how "unclustered" this table becomes over time, > so I can schedule downtime to recluster