Re: Queries in replica are failing

Поиск
Список
Период
Сортировка
Искать
От
Laurenz Albe
Тема
Re: Queries in replica are failing
Дата
в 06:07:31
Msg-id
153a2fc559b7e931a5a04ee6546369b6a61b7631.camel@cybertec.at
Ответ на
Список
Дерево обсуждения
Queries in replica are failing Siraj G <tosiraj.g@gmail.com>
Re: Queries in replica are failing Matt Pearson <mpearson2@pythian.com>
Re: Queries in replica are failing Laurenz Albe <laurenz.albe@cybertec.at>
Re: Queries in replica are failing ROHIT SACHDEVA <sachdeva.rohit648@gmail.com>
Re: Queries in replica are failing Laurenz Albe <laurenz.albe@cybertec.at>
Re: Queries in replica are failing ROHIT SACHDEVA <sachdeva.rohit648@gmail.com>
Re: Queries in replica are failing Laurenz Albe <laurenz.albe@cybertec.at>
Re: Queries in replica are failing ROHIT SACHDEVA <sachdeva.rohit648@gmail.com>
Re: Queries in replica are failing Laurenz Albe <laurenz.albe@cybertec.at>
Re: Queries in replica are failing ROHIT SACHDEVA <sachdeva.rohit648@gmail.com>
Queries in replica are failing "Wetmore, Matthew (CTR)" <Matthew.Wetmore@evernorth.com>
Permisson Required ROHIT SACHDEVA <sachdeva.rohit648@gmail.com>
Re: Permisson Required "David G. Johnston" <david.g.johnston@gmail.com>
Re: Permisson Required ROHIT SACHDEVA <sachdeva.rohit648@gmail.com>
Re: Permisson Required Ron Johnson <ronljohnsonjr@gmail.com>
Re: Permisson Required ROHIT SACHDEVA <sachdeva.rohit648@gmail.com>
Re: Permisson Required Ron Johnson <ronljohnsonjr@gmail.com>
On Thu, 2024-05-30 at 06:59 +0530, ROHIT SACHDEVA wrote:
> On Thu, 30 May, 2024, 2:47 am Laurenz Albe,  wrote:
> > On Wed, 2024-05-29 at 22:34 +0530, ROHIT SACHDEVA wrote:
> > > I received this error when i set  max_standby_streaming_delay to -1 and max_standby_archive_delay to 30 seconds.
> > > 
> > > The following processes were terminated on your read replica because they were interfering with the replay of transaction logs: [18218].
> > 
> > Ah, then you are recovering from an archive.
> > 
> > In that case, set "max_standby_archive_delay" to -1 as well.
>
> If I set both to -1 storage space is increasing rapidly.
>
> Any way out as they are okay with 1 day delay but queries should run smoothly.
>
> Can I pause or schedule the replication process replication at 12 am in Postgres RDS.

Sure, WAL will pile up on the standby if it cannot be replayed right away.

You could stop replication, but then WAL would pile up on the primary server.

You have to keep the information somewhere.

Yours,
Laurenz Albe


В списке pgsql-admin по дате отправления
От: ROHIT SACHDEVA
Дата:
От: Edwin UY
Дата:
Сообщение: psql - prompt for password
FAQ