Re: Caching query plan costs - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Caching query plan costs
Date
Msg-id 3083.1535995833@sss.pgh.pa.us
Whole thread Raw
In response to Caching query plan costs  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Caching query plan costs  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian <bruce@momjian.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


pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: pg_verify_checksums -d option (was: Re: pg_verify_checksums -roption)
Next
From: Andrey Borodin
Date:
Subject: Re: A strange GiST error message or fillfactor of GiST build