Re: Getting following error in using cursor to fetch the recordsfrom a large table in c language

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Getting following error in using cursor to fetch the recordsfrom a large table in c language
Дата
Msg-id 5bf3f04959a82a8733da61093720f929bba00947.camel@cybertec.at
обсуждение исходный текст
Ответ на RE: Getting following error in using cursor to fetch the records froma large table in c language  (M Tarkeshwar Rao <m.tarkeshwar.rao@ericsson.com>)
Ответы RE: Getting following error in using cursor to fetch the records froma large table in c language  (M Tarkeshwar Rao <m.tarkeshwar.rao@ericsson.com>)
Список pgsql-general
On Thu, 2019-10-31 at 05:18 +0000, M Tarkeshwar Rao wrote:
[queries get canceled on the standby]
> You are absolutely right. This is the issue with us.
> If we retry the query again. Will it be successful? 

Sometimes :^/

> Can you please suggest how to configure hot_standby_feedback?

You set it to "on", then you get no query cancellation because of
VACUUM (at the price of potential bloat on the primary server).

Your query can still get canceled by conflichts with ACCESS EXCLUSIVE
locks that are taken by TRUNCATE, ALTER/DROP TABLE and similar
as well as autovacuum truncation.

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




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

Предыдущее
От: rihad
Дата:
Сообщение: Re: Upgrade procedure
Следующее
От: M Tarkeshwar Rao
Дата:
Сообщение: RE: Getting following error in using cursor to fetch the records froma large table in c language