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.94.2) (envelope-from ) id 1taJMY-000h19-GW for pgsql-general@arkaria.postgresql.org; Tue, 21 Jan 2025 18:52:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1taJMW-003y4J-QD for pgsql-general@arkaria.postgresql.org; Tue, 21 Jan 2025 18:52:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1taJMV-003y4B-VO for pgsql-general@lists.postgresql.org; Tue, 21 Jan 2025 18:52:32 +0000 Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1taJMS-000leE-1t for pgsql-general@lists.postgresql.org; Tue, 21 Jan 2025 18:52:31 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id 67C9C25401A2; Tue, 21 Jan 2025 13:52:26 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Tue, 21 Jan 2025 13:52:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1737485546; x=1737571946; bh=p9BPN9P6qzfiuMpq1NC9XfP3KnISrXbL4yJAp1EJniA=; b= MpmunDkXyXqPYsD/jQq9FYtpDMamdBUDxcyEMUdjow/Et4A/BvU+wPqbyherBYyM fmcVcDdL+jhN5OsuCAM99fphx7kcaK+GcUin/Xb30acn3bcfdEclAyEmRMxDoX6r UHRcT92be0QlehybjxKhQsDA6vCxmQ8loo9D9f7AvTp1Yd7W1YdSbDQyNGdg2Vra wy7vgXzXc23gwNCYO5YqIClW0WqoQZPovnIZwQ2G46TTlzhxdy70VhMRV4U3qpDc PfcNEoMByZSqS0qvcSkOwtHRP87LIEk2cg+TtAkgRYRTMRep3vL2Pdu62qp2Bl04 wn1WcPoFe1aqVPLWI3Ygfw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1737485546; x= 1737571946; bh=p9BPN9P6qzfiuMpq1NC9XfP3KnISrXbL4yJAp1EJniA=; b=S QARFetWRmO7D9XlSTC02SiKiUOR+EDXYOyLKgONCZqxcH0thv4KARq7Pg4/FoLHA lMgVW6BtwFexf/+vAxcg3IVlFhqa2zjCnhdXVCwEVd4A8Rq/XQkNBawGztPx2F0q FIaOyBdQsJ4jcGnRhDehefLNrhXm7wztRYIGHiMimgTljRIfdyOwUj278O4M+pDd N4ue3/9nCQ64T5rdp8DHaGPHPEmaR+UtsuCoQj0+R9eBlgN3IocuGSqSJlWWJaI6 OerIDXoYNBQb/gP3M0hSpZJWSlgu69KcoXLlwkwZECyftT7H+Sv1j+UW1kU7TtoO 4o4eENAqZmiDobWl9E3Nw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudejvddgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfg fuvfevfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgv rhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrg htthgvrhhnpeefgeefieeutdfggfetgefgheekjeehteeileeigfetieekjedvieeviefg heevtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggprhgtphhtthho pedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehmrghhvghshhhpohhsthhgrh gvshelsehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgrlhes lhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 Jan 2025 13:52:25 -0500 (EST) Message-ID: <3691ad0c-189c-4290-a434-e03cb6301cac@aklaver.com> Date: Tue, 21 Jan 2025 10:52:21 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Records count mismatch with logical replication To: Durgamahesh Manne Cc: pgsql-general References: <79b7d5dc-3a1d-4ef0-9a3d-055268dc7d09@aklaver.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/21/25 10:06 AM, Durgamahesh Manne wrote: > > Hi Adrian Klaver > > 22,906,216 bytes/10,846 rows  works out to 2112 bytes per row. > > Is that a reasonable per row estimate? > > Yes  sometimes would be vary If I am following the lag went from 350GB behind to 22MB. Is the issue that the lag has stalled at 22MB? > > Regards, > Durga Mahesh > -- Adrian Klaver adrian.klaver@aklaver.com