Re: Reporting from Standby

From: Don Seiler <don(at)seiler(dot)us>
To: Mahesh Shetty <maheshetty20(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Reporting from Standby
Date: 2022-12-01 19:40:42
Message-ID: CAHJZqBDAeQfwysnnBu07MoZWuSOUD4nZsWNvNb_vcE2Kh0h6hw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-admin

On Thu, Dec 1, 2022 at 1:31 PM Mahesh Shetty <maheshetty20(at)gmail(dot)com> wrote:

> What is the replication conflict you are facing - Can you share output
> from pg_stat_database_conflicts ?
>

The errors stopped a few hours ago so I'm not sure if this info is
meaningful or not, but here it is. The "foo" database (real name changed)
is obviously the app database where all the querying takes place.

postgres=# select * from pg_stat_database_conflicts;
datid | datname | confl_tablespace | confl_lock | confl_snapshot |
confl_bufferpin | confl_deadlock
-------+-----------+------------------+------------+----------------+-----------------+----------------
17156 | postgres | 0 | 0 | 0 |
0 | 0
13399 | template0 | 0 | 0 | 0 |
0 | 0
16400 | template1 | 0 | 0 | 0 |
0 | 0
16401 | foo | 0 | 0 | 6736 |
35 | 0
(4 rows)

--
Don Seiler
www.seiler.us

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Mahesh Shetty 2022-12-01 20:00:13 Re: Reporting from Standby
Previous Message Mahesh Shetty 2022-12-01 19:31:25 Re: Reporting from Standby

Browse pgsql-admin by date

  From Date Subject
Next Message Mahesh Shetty 2022-12-01 20:00:13 Re: Reporting from Standby
Previous Message Mahesh Shetty 2022-12-01 19:31:25 Re: Reporting from Standby