Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pywgF-00032O-3q for pgsql-admin@arkaria.postgresql.org; Tue, 16 May 2023 15:33:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pywgD-0006Fh-A8 for pgsql-admin@arkaria.postgresql.org; Tue, 16 May 2023 15:33:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pywgC-0006FQ-SF for pgsql-admin@lists.postgresql.org; Tue, 16 May 2023 15:33:36 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pywg6-00093S-9x for pgsql-admin@lists.postgresql.org; Tue, 16 May 2023 15:33:35 +0000 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-50bcb00a4c2so21836051a12.1 for ; Tue, 16 May 2023 08:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20221208.gappssmtp.com; s=20221208; t=1684251208; x=1686843208; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=YazgGYriONUccCDlTQVhjBi6/VR8Vt0Mt+rL4MRxnzw=; b=gU5CXHWgx+NYlAneYJOFORBMyCGrcrRvoqT6hNb5tVOsSS3IVO3Sf4pKFyOUix1/Wz 4BZTDQIT/AKKIyLjEtpdkIbxoA5HJRB2IY7xKaigHhOcVSP0Q18GthQEcGmgB42VNYxU pFX4nviy05TRFHDp62lOju+BsMmmCYgtoF2gFPaNXB/SFU2JUrhJ9P2XUCGn3aqIp+zC 7ODHc5mhMFMDvBdq+s/YXC9ek49Q5ZG42TX8yUrLQRVqlbas6LfpcsHuMyaus34AoA5n /ptEuFcMZukyKdluXlRnCsP4mzCmGpwcNz/iy/yS10GzhnQfwbyZoOwhfrdcE8b8fSVH mycw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684251208; x=1686843208; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=YazgGYriONUccCDlTQVhjBi6/VR8Vt0Mt+rL4MRxnzw=; b=GB7szV/U03fn3x+puSNZ6eNKTsxOLtouY4qImnjloFBfKnC9UALd+C4AY8ERVFV0To tEC9te5I9TvGpR6NZP2z7aUqnJoKbmyIsJPGfSDDInUBMYYdOb5Ea/sG59nQXvSHL39/ mOFa677j7B2Uh5wKSKABFNL2loYxmjq3/LZ2Wb0oMSAEuBCIEuychXMM9PB/9NrPHt+p nFxOBQk3UeystUfdBqMQw74KuVlhDoB/rBPrthoTKBuQLA3eVNr48GjxjS+Dn3FeajmA EhC2qxtnL65/CBoz0nrWzmK/F4Af2O7JRm4sT+OxozsXmwWhI8+Xu2AYo1gM2bgtZuCx IT+Q== X-Gm-Message-State: AC+VfDycR71NB/pa/gDp4A1aqZrqUjLikqFbt9NGSRpQFCtcsAAfg8R5 RuagxSOK4P2O0bUh/ZZAmTQ9Ng== X-Google-Smtp-Source: ACHHUZ6Ca95XkWZPF+rHEa3KFfZuQa59BIC7NkM10Okn0v4UQurF/fQBC86zgV4zRJhVSNb8OaxvVA== X-Received: by 2002:aa7:c3c6:0:b0:50b:df56:8d68 with SMTP id l6-20020aa7c3c6000000b0050bdf568d68mr26096231edr.9.1684251207669; Tue, 16 May 2023 08:33:27 -0700 (PDT) Received: from localhost.localdomain ([2001:871:5e:8128:c715:40ae:4e8c:8a84]) by smtp.gmail.com with ESMTPSA id by26-20020a0564021b1a00b00506a09795e6sm8160513edb.26.2023.05.16.08.33.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 08:33:27 -0700 (PDT) Message-ID: <580a59b7e6ef605000c5dde862300e4290d9445a.camel@cybertec.at> Subject: Re: ERROR: could not serialize access due to concurrent update From: Laurenz Albe To: ROHIT SACHDEVA , pgsql-admin@lists.postgresql.org Date: Tue, 16 May 2023 17:33:26 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, 2023-05-16 at 18:39 +0530, ROHIT SACHDEVA wrote: > > I am getting this error in the application logs, and this error is freq= uently coming. > > Could someone suggest what would be the best solution to overcome these= types of errors. > > Isolation of the database is read committed. Should I change the isolat= ion?=C2=A0=C2=A0 > > Also foreign table scan is there on query. We need more infrmation, like what foreign data wrapper you are using. Yours, Laurenz Albe