Re: [PERFORM] [GENERAL] how to get accurate values in pg_statistic (continued)

2003-09-11 Thread Tom Lane
Christopher Browne <[EMAIL PROTECTED]> writes: > The "right answer" for most use seems likely to involve: > a) Getting an appropriate number of bins (I suspect 10 is a bit > small, but I can't justify that mathematically), and I suspect that also, but I don't have real evidence for it either.

Re: [PERFORM] [GENERAL] how to get accurate values in pg_statistic (continued)

2003-09-11 Thread Christopher Browne
[EMAIL PROTECTED] (Bruce Momjian) writes: > Tom Lane wrote: >> Mary Edie Meredith <[EMAIL PROTECTED]> writes: >> > Stephan Szabo kindly responded to our earlier queries suggesting >> > we look at default_statistics_target and ALTER TABLE ALTER COLUMN >> > SET STATISTICS. >> >> > These determine th

Re: [PERFORM] [GENERAL] how to get accurate values in pg_statistic (continued)

2003-09-10 Thread Bruce Momjian
Tom Lane wrote: > Mary Edie Meredith <[EMAIL PROTECTED]> writes: > > Stephan Szabo kindly responded to our earlier queries suggesting we look > > at default_statistics_target and ALTER TABLE ALTER COLUMN SET > > STATISTICS. > > > These determine the number of bins in the histogram for a given co

Re: [PERFORM] [GENERAL] how to get accurate values in pg_statistic (continued)

2003-09-05 Thread Tom Lane
Mary Edie Meredith <[EMAIL PROTECTED]> writes: > For our testing purposes, however, consistent results are extremely > important. We have observed that small difference in one plan for one of > 22 queries can cause a difference in the DBT-3 results. If this > happens, a small change in performance

Re: [PERFORM] [GENERAL] how to get accurate values in pg_statistic (continued)

2003-09-04 Thread Tom Lane
Mary Edie Meredith <[EMAIL PROTECTED]> writes: > Stephan Szabo kindly responded to our earlier queries suggesting we look > at default_statistics_target and ALTER TABLE ALTER COLUMN SET > STATISTICS. > These determine the number of bins in the histogram for a given column. > But for a large num

[PERFORM] [GENERAL] how to get accurate values in pg_statistic (continued)

2003-09-04 Thread Mary Edie Meredith
Our port of OSDL DBT3 test suite to PostgreSQL (see Background information below) is nearing completion. We would also like to confirm our understanding of an outstanding consistency issue. We have not been able to do meaningful kernel testing since the runs (all parameters/kernels being equal) a