Re: Backup failure Postgres

Поиск
Список
Период
Сортировка
От Torsten Förtsch
Тема Re: Backup failure Postgres
Дата
Msg-id CAKkG4_=V2UN62_CjRohbpZ_uxP56ai465ohNp1bt-+r41wCxig@mail.gmail.com
обсуждение исходный текст
Ответ на Backup failure Postgres  (Jethish Jethish <jethish777@gmail.com>)
Ответы Re: Backup failure Postgres
Список pgsql-general
As the error message says, your query was aborted due to it conflicting with recovery. There are many ways to deal with that. You could enable hot_standby_feedback on the replica. You could disconnect the replica from the master for the time the COPY takes (reset primary_conninfo). You could increase max_standby_streaming_delay. Perhaps you could also wrap the COPY operation in pg_wal_replay_pause() / pg_wal_replay_resume().

On Thu, May 23, 2024 at 11:59 AM Jethish Jethish <jethish777@gmail.com> wrote:
I'm frequently facing the below error while performing backup. Someone please tell how solve this issues.


Failed : pg_dump: error: Dumping the contents of table "botsession" failed: PQgetResult() failed. pg_dump: error: Error message from server: ERROR: canceling statement due to conflict with recovery DETAIL: User query might have needed to see row versions that must be removed. pg_dump: error: The command was: COPY public.botsession (id, userid, data, iscompressed) TO stdout;

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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Long running query causing XID limit breach
Следующее
От: Jethish Jethish
Дата:
Сообщение: Re: Backup failure Postgres