Re: Adaptive query optimization

From: legrand legrand <legrand_legrand(at)hotmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Adaptive query optimization
Date: 2019-06-11 21:02:47
Message-ID: 1560286967385-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,
this seems very interesting and make me think about 2 other projets:
- https://github.com/trustly/pg_badplan
- https://github.com/ossc-db/pg_plan_advsr

As I understand all this, there are actually 3 steps:
- compare actual / estimated rows
- suggests some statistics gathering modification
- store optimised plans (or optimized stats) for reuse

I really like the "advisor Idea", permitting to identify where statistics
are wrong
and how to fix them with ANALYZE command.
Is there a chance that some futur Optimizer / statistics improvements
make thoses "statistics advices" enough to get good plans (without having to
store live stats
or optimized plan) ?

Thanks in advance
Regards
PAscal

--
Sent from: http://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-06-11 21:07:29 Re: openssl valgrind failures on skink are due to openssl issue
Previous Message Tom Lane 2019-06-11 20:55:28 Re: openssl valgrind failures on skink are due to openssl issue