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 1tuTbV-008xR1-HI for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Mar 2025 09:51:21 +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 1tuTbT-00BOji-Se for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Mar 2025 09:51:19 +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.94.2) (envelope-from ) id 1tuTbT-00BOjW-It for pgsql-hackers@lists.postgresql.org; Tue, 18 Mar 2025 09:51:19 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tuTbR-003U4Y-2E for pgsql-hackers@lists.postgresql.org; Tue, 18 Mar 2025 09:51:18 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-43cfe63c592so34641355e9.2 for ; Tue, 18 Mar 2025 02:51:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742291476; x=1742896276; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=GmFH8d3n7aT5ilr3TeSRTRDqZd8vRjhPhmkQrRh7uIM=; b=Jh0rgnH1JlftDWUkBay/b+aWmd369b6E7nuBkiL7FKHLxMNZJF5PV2eyx/E/O/ItCO 9HFyXDQN2Wi0kt6VtuDSfPys8yE1qWUjoHRTMK2dqf775RvuTmLEZbwiY8ZRNkbGj9ce bgTxBKRva2QBj0PISvivjMBEwxULiQ5C3rqQFW4enybmubly7VsGwwfAnn4WfO52jnV2 126nE+RWSf+y04NKp982ZND7BNA93aGrWI0ex0heVRZhibrVFduntW+hIIN7/FjfEDxJ 4X8LuYfp4K5QwgVdsK+mjcvVSt7W/G6+ntFwy/d5TT/cYv1oIa6lLxWesoETQ1RLNptA euBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742291476; x=1742896276; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=GmFH8d3n7aT5ilr3TeSRTRDqZd8vRjhPhmkQrRh7uIM=; b=CE/qfpecEPe4sID6g9V1hK/PNckG8sBUceBhxqS6FSACu1mIcEqB/1ZKlYsy/20uIH f0CA4eHE6GZujxq0wuOLVojSuR9qr5ysWMFs/nGRf5vP1OW4TeiV+8zwR0RelBma0gTU ojWsNAd7I9AVMe011d7LNxyCEOfsyGvKOzYZ774fTp8grEnUvlniLQFON1oJHAlccGwW qKtAAwAkQRfJ9ZQxRUbPb9Q2sEMpVNAvnPzuwZ+xc1/ywH/Dt3U8Iai05mMHGVUpSKPX +eKC6YaiDaQpBXXbhZW6AoNfId0FP6cqcUkXfCPbnRul//0YDq/ZEuVrVT6kntaJq1uY /oxQ== X-Forwarded-Encrypted: i=1; AJvYcCWtDVCabv2TjUFjoUrS5yNJ8g9CE40d6Q6t1aoEtC6rep8QGYyG6LG56/3yG/9xsI+fMyKGsxYyF1PG0jbK@lists.postgresql.org X-Gm-Message-State: AOJu0YwU72SbJOpJpyc6ItjeHFaibYDa4KnGB0SBSEeb1TwivFIO3BR1 RiD+Ozkx6j12Oiiv5+JLgw+69RX16NzyI23fp1ZbdhAf2fefcN02 X-Gm-Gg: ASbGncscD+TLi6QC9kmJkeDbcKwNq6enPL+1pu8tnn6PppYWIlNyoHHaxqfRgm97+20 JVuxbM1wSu6dwEcKgNzbMtNldgxeBmCyBJXW6WjQrvMJrznu9f1UqHGkOvz7nZVYuH3b6jk1SY0 PIZ1OUvpvrjmbMHqm6kTMSUlWKVMVDQx16Xvn7SxmDqwK9OQmIPBvf27Qi+FBpTcXTNZopABjR/ c0U23CzYTijvACxRr1aPRbHAagPZ+HWVVevb3Ae+KyYEL3VWKlS3EAahfOz9ux5MlZkjS7F/4aJ IJv/mxbkb24QLfkhyw8ccA8We2dO2UfcMFRwbGN8kQ0dAgk0uciRL7IyRDyaNUO2WbJhes5ZcKb OlIAYWg+VgGgmphfV5grKwRRT+zAGXEM7aU/uq9Zd2O67B1bXuevSnmNEqrXrwn/WHSXyzgWwN+ Uc X-Google-Smtp-Source: AGHT+IFVqF2SVtgqWFRiU9VyxIMaZljoviMiCmB0VnPeTPBKclafu+ikqRRDJfBJGXj9aomQdl2Qnw== X-Received: by 2002:a05:600c:154a:b0:43c:f895:cb4e with SMTP id 5b1f17b1804b1-43d3b9b064fmr14006815e9.17.1742291476017; Tue, 18 Mar 2025 02:51:16 -0700 (PDT) Received: from ip-10-97-1-34.eu-west-3.compute.internal (ec2-15-237-181-182.eu-west-3.compute.amazonaws.com. [15.237.181.182]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d200fae4asm129955725e9.27.2025.03.18.02.51.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Mar 2025 02:51:15 -0700 (PDT) Date: Tue, 18 Mar 2025 09:51:14 +0000 From: Bertrand Drouvot To: Michael Paquier Cc: Xuneng Zhou , pgsql-hackers@lists.postgresql.org, Andres Freund Subject: Re: Fwd: [BUG]: the walsender does not update its IO statistics until it exits Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On Tue, Mar 18, 2025 at 05:11:02PM +0900, Michael Paquier wrote: > On Thu, Mar 13, 2025 at 01:18:45PM +0000, Bertrand Drouvot wrote: > > This particular sub-patch needs a rebase though, done in the attached. 0001 > > remains unchanged as compared to the v4 one just shared up-thread. If 0001 goes > > in, merging 0002 would be less beneficial (as compared to v3). > > PgStat_PendingIO is already quite large, could get larger, and the > backend stats would be a natural victim of that. What you are > proposing in v4-0002 is beneficial in any case outside of the specific > problem of this thread with WAL senders. Yeah, I also think it makes sense independently of what has been discussed in this thread. > Just to say that I am planning to apply this part on HEAD. Thanks! Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com