Re: Data caching

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Anant ngo <anant(dot)ietf(at)gmail(dot)com>
Cc: anant(dot)iet(dot)f(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Data caching
Date: 2022-08-18 13:57:55
Message-ID: Yv5FY9oe4qM4ub3F@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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(at)postgresql(dot)org(dot)

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Indecision is a decision. Inaction is an action. Mark Batterson

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2022-08-18 14:46:27 Re: Is it possible to keep indexes on different disk location?
Previous Message Ivan N. Ivanov 2022-08-18 12:35:10 Re: [(catch-ext)] Re: [(catch-ext)] Re: Setting up streaming replication on large database (20+ TB) for the first time

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2022-08-18 14:04:15 Re: pg15b3: crash in paralell vacuum
Previous Message Melih Mutlu 2022-08-18 13:57:16 Summary function for pg_buffercache