Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xIVrM-00000003jfv-1Au2 for pgsql-general@arkaria.postgresql.org; Sun, 18 Oct 2026 18:43:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xIVrL-00000003jE9-1B7b for pgsql-general@arkaria.postgresql.org; Sun, 18 Oct 2026 18:43:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xIVrK-00000003jE1-42Rl for pgsql-general@lists.postgresql.org; Sun, 18 Oct 2026 18:43:50 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1xIVrJ-00000002gLi-1IfX for pgsql-general@postgresql.org; Sun, 18 Oct 2026 18:43:50 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-4a01933b584so9982575e9.0 for ; Sun, 18 Oct 2026 11:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1792349028; x=1792953828; darn=postgresql.org; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:cc:to:from:subject:message-id:from:to :cc:subject:date:message-id:reply-to:content-type; bh=OBGQY76u+HxjikHzu0eSzB6usp92zKmVbms2yGsvLl8=; b=AilPjMBwBmQom1sr77qaK6j4lWvhE+vleBzayAKPpo9dnQ/NvTzugZSd13wEcj2edN BHpg1evW8ipCSEb1rL8j+wDfVv1aFUOw9ZeuUsCA8f4SOHSiwo6a6bN3XfOt3aYTmzqa DBOzxL+zysLSow/zN+/V9L+rFdQOWFgVWZ/XLVmEVqn6hMyXGoUfpU0eVYOb9y3guv/e zK4zYj4jdjFOC+Wg3jy4et5Rzafgfqc5BsU/04fUnvUoWteRFEavDkKJkNgigqxCh3uL kFBPDLvr3h+kMmblN2e6rWKvyg/RF3HZqUfCnhg+bPVLwNvtsO2H2anQ4g6TluBbf9Nk wdvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792349028; x=1792953828; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=OBGQY76u+HxjikHzu0eSzB6usp92zKmVbms2yGsvLl8=; b=VGfKEH+qxQrcDEs8fY3v30/FE9DjTej4M5r448SdQcjaz/dyZ2fT3NOlBhcGoQgsMZ 7h7fyJfjKooy8/F+gxpO6vIS1o7ylRl3caA6IO/Yecr49Z9c9jiFGlvCCj261xxcCJ3m C5zjWr60uXrqw5Mgt6eeASGj59ie7GpEUwcAIyJnvUx1iG7bmejWtgREaX0SB3UnHymS ZPJcvtTi1KxRM7AK3JXRIO+3+8O0ON2SLyTYKKSNeGMejUfDgZbBnNM8lgLtglVxHEin 0jEVrr1f2WM36I4MpBVxEXithVxM37h3nJs8AgrlpjNKRmX39bpsW5Z12CLsLqSOVBUg l30g== X-Forwarded-Encrypted: i=1; AKwUvBwhzt6ShkCF4GsRJ/OaFg6yNnUiEO6wdquRFfmJp4aL5JhVP5++lkGLoaQDw/jJ1hU/tSbsML2nS8srafXR@postgresql.org X-Gm-Message-State: AFq9FYJGjyzJb/Y9hGUJTokwcqB1yaVJvnW6ymnbS1YYCo+WscBiZFQp 9z9Z8gKNtgCfYQfeGbkNoDcmWBdOe+yFm/6VT47oPYX7kBISViL+pyW3fgMXkWVEAMg= X-Gm-Gg: AYBFou1xIHNzZR4V1ZWCIMdhkI2q9SviH2QfVW3QstzoJkTBvPjG8u299IJsh1Tk8yF 1xJ3YIUyTSVqyaT06S4wHXFXECoSzhcbfJcVgHCx5iZ7KvBi+OIde4bqT06Zjnhp3oSI0VnX1SL NNiRMEKE6HLvCJCcqpFPq0TbVMcdoLNBuUFm3FDjDxtwd9Q4ril0iR4E2S0WemoxRwJsII0U/0o zHqKYkb6kUGpVw9Zz1JRxe6AT+cXVagfNeTiEcz6o5Ay1KQQdDT4jgxKOkzqN7ShPkTVAUmFNxu F+P9+DU/WFTi3tY+l3fjWQpIX9+PdNhBOZ43huJdxpKtRDROHsD1XI+dfl2SvhgwXSBm5ljZGP4 cWgQoUN9mQLJywWyFn1d5xEzzGJpjJenFL95ZAG/8ZHPp6CHIROy3fdMaoz4MiblU9NgvFAH6Y6 wYtYMR5J3ebZhZ7AY6Av0xMDA6N4IjetE5T+I6iR1uAo8fGrFrKOPMec7nq912d8gD5TWx0IfHM tN+jadDfOI7YLVlJBeSuhUvkwlIKdk= X-Received: by 2002:a05:600c:4f95:b0:4a1:a7f8:c11f with SMTP id 5b1f17b1804b1-4a1d75e6e09mr128231275e9.9.1792349027875; Sun, 18 Oct 2026 11:43:47 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:270:b677:677f:591c:a18a:2956]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a1e3ebb3aasm108462005e9.0.2026.10.18.11.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Oct 2026 11:43:47 -0700 (PDT) Message-ID: <93db43ba32753c2197a8e8a9253924342f633a48.camel@cybertec.at> Subject: Re: Regarding huge logical slot lag between source and target From: Laurenz Albe To: Durgamahesh Manne Cc: pgsql-general , PostgreSQL mailing lists Date: Sun, 18 Oct 2026 20:43:46 +0200 In-Reply-To: References: <28a109ddf0ecc56465676a878565acb29d225709.camel@cybertec.at> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.60.2 (3.60.2-2.fc44) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, 2026-10-18 at 23:11 +0530, Durgamahesh Manne wrote: > On Sun, 18 Oct, 2026, 22:52 Laurenz Albe, wrot= e: > > On Sun, 2026-10-18 at 19:49 +0530, Durgamahesh Manne wrote: > > > Logical slot lag 330GB on source grows faster during the huge modific= ations but it should be minimized which is not happened when load goes down= . > > >=20 > > > What is the action need to take for minimizing the lag to normal stat= e. > > > Source version 16 > > > Target version 16=C2=A0 > > > Sufficient resources allocated and tuned replication related paramete= rs > >=20 > > [I suggested "streaming =3D parallel" and increasing some parameters} > > I already set those params with required values to make server running sm= oothly=C2=A0 >=20 > Alter subscription also done with binary and streaming options=C2=A0 >=20 > Finally I could not find root cause what has caused to increase of that m= uch lag. >=20 > No long running queries at source > No blocking at target=C2=A0 > Generally what might be reason to huge lag in terms of hundreds which can= 't go down. Perhaps DDL statements on the publisher. Yours, Laurenz Albe