Re: postgres_fdw insert extremely slow

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgres_fdw insert extremely slow
Дата
Msg-id 494596.1606324345@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: postgres_fdw insert extremely slow  (Mats Julian Olsen <mats@duneanalytics.com>)
Ответы Re: postgres_fdw insert extremely slow  (Mats Julian Olsen <mats@duneanalytics.com>)
Список pgsql-general
Mats Julian Olsen <mats@duneanalytics.com> writes:
> On 25.11.2020 17:58, Tom Lane wrote:
>> ... Have you tried looking into pg_locks on the
>> remote server while this query is running?

> Thanks Tom, I'll try to spin up a regular Postgres instance on both rds 
> and ec2 and see if that helps. As for the locks, I can not see any 
> blocked activity on the remote server while the query runs.

Another place to check is pg_stat_activity, specifically wait_event_type
and wait_event.

            regards, tom lane



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Performance hit if I create multiple DBs on same instance
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: INSERT Trigger to check for existing records : Does this do what I hope it is doing?