Re: query cache - Mailing list pgsql-hackers

From Tom Lane
Subject Re: query cache
Date
Msg-id 13973.1332517758@sss.pgh.pa.us
Whole thread Raw
In response to query cache  (Billy Earney <billy.earney@gmail.com>)
Responses Re: query cache  (Greg Stark <stark@mit.edu>)
List pgsql-hackers
Billy Earney <billy.earney@gmail.com> writes:
> I'm wondering if anyone would be interested in a query cache as a backend
> to postgresql?

I believe this has been suggested and rejected several times before.
Did you look through the pgsql-hackers archives?

> To invalidate cache entries, look at the transactions being committed (and
> written to WAL log, if my memory serves me) and send a message to the
> qcache process to invalidate any query which depends on the modfied
> relation (ie, table, etc)

The complication, opportunities for bugs, and general slowdown
associated with that would outweigh any possible gain, in the opinion
of most hackers who have thought about this.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Finer Extension dependencies
Next
From: Noah Misch
Date:
Subject: Re: [COMMITTERS] pgsql: Add notion of a "transform function" that can simplify function