From: Bruce Momjian <bruce@momjian.us>
To: Anant ngo <anant.ietf@gmail.com>
Cc: anant.iet.f@gmail.com
Cc: pgsql-hackers@postgresql.org
Subject: Re: Data caching
Date: Thu, 18 Aug 2022 09:57:55 -0400
Message-ID: <Yv5FY9oe4qM4ub3F@momjian.us> (raw)
In-Reply-To: <CA+8+p7KjYRqUo3ngFucEspZN9nFydc5k=wJrbNskx8td=p6k9Q@mail.gmail.com>
References: <CA+8+p7KjYRqUo3ngFucEspZN9nFydc5k=wJrbNskx8td=p6k9Q@mail.gmail.com>
On Thu, Aug 18, 2022 at 04:12:45PM +0530, Anant ngo wrote:
> Hello
>
> Is there a postgres extension or project related to application-level/
> foreign-table data caching ? The postgres_fdw extension fetches data from
> foreign table for each command.
>
> I have seen previous messages in archive about caching in form of global temp
> tables, query cache etc. There are good discussions about whether support
> should be built-in but did not find any implementation.
>
> I have seen the 44 postgres extensions that come pre-installed with ubuntu
> 16.04 but none of them do this.
You can do foreign-table data caching via materialized views:
https://momjian.us/main/blogs/pgblog/2017.html#September_1_2017
Also, this is more of a question for pgsql-general@postgresql.org.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
Indecision is a decision. Inaction is an action. Mark Batterson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: bruce@momjian.us, anant.ietf@gmail.com, anant.iet.f@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: Data caching
In-Reply-To: <Yv5FY9oe4qM4ub3F@momjian.us>
References: <CA+8+p7KjYRqUo3ngFucEspZN9nFydc5k=wJrbNskx8td=p6k9Q@mail.gmail.com> <Yv5FY9oe4qM4ub3F@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox