Re: what is the best way to access cold data on another server?

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: what is the best way to access cold data on another server?
Дата
Msg-id 4871eb5b1c5127c3c0113cc0da889b93c29afc9b.camel@cybertec.at
обсуждение исходный текст
Ответ на what is the best way to access cold data on another server?  (Amine Tengilimoglu <aminetengilimoglu@gmail.com>)
Список pgsql-general
On Wed, 2020-05-13 at 10:12 +0300, Amine Tengilimoglu wrote:
> In addition to the actively used data, there are other data that are very little accessed.
> I want to separate the less used data to save space and reduce maintenance operations.
> I want to use a separate postgres instance for this. Now the question is; How do I link
> these two instances? postgres_fdw or dblink? or what other solution? Which one would be better?

Foreign Data Wrapper is a good option, and yes, it is secure.

Another option would be to store these data as CSV files and use file_fdw
to define them as "external tables".

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Ellis
Дата:
Сообщение: Why is it that “aggregate functions are not allowed in FROM clause of their own query level”?
Следующее
От: Support
Дата:
Сообщение: Re: Reuse an existing slot with a new initdb