From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Josh Berkus <josh(at)agliodbs(dot)com> |
Cc: | Manfred Koizar <mkoi-pg(at)aon(dot)at>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Greg Stark <gsstark(at)mit(dot)edu>, Marko Ristola <marko(dot)ristola(at)kolumbus(dot)fi>, pgsql-perform <pgsql-performance(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Bad n_distinct estimation; hacks suggested? |
Date: | 2005-04-25 04:59:27 |
Message-ID: | 10257.1114405167@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-performance |
Josh Berkus <josh(at)agliodbs(dot)com> writes:
> Tom, how does our heuristic sampling work? Is it pure random sampling, or
> page sampling?
Manfred probably remembers better than I do, but I think the idea is
to approximate pure random sampling as best we can without actually
examining every page of the table.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-04-25 05:07:44 | Re: CVS regression test problem |
Previous Message | Christopher Kings-Lynne | 2005-04-25 02:47:14 | Re: Old-style OR indexscan slated for destruction |
From | Date | Subject | |
---|---|---|---|
Next Message | Steve Poe | 2005-04-25 06:58:16 | Re: pgbench Comparison of 7.4.7 to 8.0.2 |
Previous Message | Richard Plotkin | 2005-04-25 03:13:47 | Re: Disk filling, CPU filling, renegade inserts and deletes? |