Re: Caching query plan costs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Caching query plan costs
Date: 2018-09-03 17:30:33
Message-ID: 3083.1535995833@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> What if we globally or locally cache the _cost_ of plans, so we can
> consult that cache before planning and enable certain optimizations?

But what would you use as cache key? And how's this help if we haven't
seen a similar query before in the session?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2018-09-03 18:09:33 Re: A strange GiST error message or fillfactor of GiST build
Previous Message Fabien COELHO 2018-09-03 17:14:41 Re: pg_verify_checksums -d option (was: Re: pg_verify_checksums -r option)