> Hi!
>
> About analyze.c:
> If taken out vacuum, couldn't it be completly taken out of pg? Say,
> to an external program? What's the big reason not to do that? I know that
> there is some code in analyze.c (like comparing) that uses other parts of
> pg, but that seems to be easily fixed.
>
> I'm leaning toward the implementation of end-biased histograms. There is
> an introductory reference in the IEEE Data Engineering Bulletin, september
> 1995 (available on microsoft research site).
Why take it out of the backend? Seems like a real pain, especially when
you realize what functions it would have to call.
Also, keep in mind that the current analyze generates perfect estimates for
columns containing only two unique values, and columns containing only
unique values. All other cases generate imperfect statistics.
--
Bruce Momjian | http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026