From: | Mahesh Shetty <maheshetty20(at)gmail(dot)com> |
---|---|
To: | Don Seiler <don(at)seiler(dot)us> |
Cc: | pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Reporting from Standby |
Date: | 2022-12-01 20:00:13 |
Message-ID: | CAJPiW+hqw847AZH4KHF6kip1FU-y1rGficU7oQFuZxMW3h5ZyQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support pgsql-admin |
Based on the output conflicts are mainly caused by Autovacuum & Hot
Updates.
Are these Cancellation for specific sql ?
Regards,
Mahesh Shetty
DbaUniversity.com
On Fri, Dec 2, 2022, 1:10 AM Don Seiler <don(at)seiler(dot)us> wrote:
> 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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Akshay Joshi | 2022-12-02 10:47:28 | pgAdmin 4 v6.17 Released |
Previous Message | Don Seiler | 2022-12-01 19:40:42 | Re: Reporting from Standby |
From | Date | Subject | |
---|---|---|---|
Next Message | jagjit singh | 2022-12-01 20:43:36 | LDP over Postgres |
Previous Message | Don Seiler | 2022-12-01 19:40:42 | Re: Reporting from Standby |