Re: Too many serialization errors in production

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: pavan95 <pavan(dot)postgresdba(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Too many serialization errors in production
Date: 2019-04-25 19:23:19
Message-ID: 20190425192319.GA8081@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 2019-Apr-25, Alvaro Herrera wrote:

> Hello
>
> On 2019-Apr-22, pavan95 wrote:
>
> > Do you mean this to be a bug?
>
> A bug fixed two years ago, yeah.

Let me correct myself. What I fixed two years ago was some spurious
occurrences of the reported message. However, the same error message
can be returned in other circumstances, and I suspect many of them would
not be spurious. Therefore, my suggestion is:

1. if you're on a release older than the bugfix, then upgrade and try
again.

2. if you're already on a release with that problem fixed, then
investigate and to determine whether (some of?) the occassions on which
the error is raised are spurious.

3. if you find some occassions on which they are spurious, see if you
can do something to fix that (say, increment # of predicate locks in
postgresql.conf; maybe fix some other bug).

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Yuri Niyazov 2019-04-25 20:43:25 Re: Upgrading from Postgresql 9.3.8 to 9.6.10
Previous Message Alvaro Herrera 2019-04-25 17:47:38 Re: Too many serialization errors in production