On 8/18/21 12:43 PM, Tomas Vondra wrote:
> Hi Mark,
>
> This thread inspired me to do something fairly similar - a generator
> that generates queries of varying complexity, executes them on table
> with and without extended statistics. I've been thinking about that
> before, but this finally pushed me to do that, and some of the results
> are fairly interesting ...
>
> I've pushed everything (generator and results) to this github repo:
>
> https://github.com/tvondra/stats-test
>
> with a summary of all results here:
>
> https://github.com/tvondra/stats-test/blob/master/results.md
>
FWIW I've pushed slightly reworked scripts and results - there are
results from two machines - xeon and i5. Xeon is mostly the same as
before, with some minor fixes, while i5 is does not allow clauses
referencing the same column twice (per discussion in this thread).
I think there was a bug in the original plot script, combining incorrect
data series in some cases, causing (at least) some of the strange
patterns mentioned.
I've also made the charts easier to read by splitting the cases into
separate plots and using transparency. I've also added png version back,
because plotting the .svg is quite slow.
regards
--
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company