Mary Edie Meredith <[EMAIL PROTECTED]> writes: > We ran additional tests with default_statistics_target set to 1000 (the > max I believe). The plans are the same over the different runs, but the > pg_statistics table has different cost values. The performance results > of the runs are consistent (we would expect this with the same plans). > The resulting performance metrics are similar to the best plans we see > using the default histogram size (good news).
Hm, would it be possible to do a binary search and find the target at which you start getting consistent plans? Perhaps the default of 10 is simply way too small and should be raised? Obviously this would depend on the data model, but I suspect if your aim is for the benchmark data to be representative of typical data models, which scares me into thinking perhaps users are seeing similarly unpredictably variable performance. -- greg ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org