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 1t95RG-007gvn-L4 for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Nov 2024 16:32:53 +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 1t95RD-00HDvE-Df for pgsql-hackers@arkaria.postgresql.org; Thu, 07 Nov 2024 16:32: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.94.2) (envelope-from ) id 1t95RD-00HDv5-13 for pgsql-hackers@lists.postgresql.org; Thu, 07 Nov 2024 16:32:51 +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.94.2) (envelope-from ) id 1t95RA-000f18-RZ for pgsql-hackers@lists.postgresql.org; Thu, 07 Nov 2024 16:32:50 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-4316e9f4a40so9747765e9.2 for ; Thu, 07 Nov 2024 08:32:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730997166; x=1731601966; 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=+plGok1dPuIOTmdHjUplUafKaq/Rd24MGaQhd6FfzhI=; b=MFSL+QqKpz5mLyTk9MpNpx7Kcx+gx2e4VskbQHBVzvA8SaUTMZAVWwSoVM8HLgwAM0 GFEDmnOd6UyV+RuUgNOduKHfdk9gCCdFbYbyERSBWydaH0ih4MsoxeLQQkRvw1NHw6kH KkG/t6t7TKt52QyCtCz2Q0R+PgvK/ZlxYW1FyRlQZVfuqtkVJC6Cep8+X+PaHQ79AW3h 5hFrRVgr1eqSX7ASEe6F95cfy4PV9sPzCWfnnPaH9jZ0qyCnj7mLBiaMvpCmMQEmrLBu hKCWjuzJe+AXpLNtvVizCQtGIPCC4yVnVfCrzwxI+elgyOmqhrLZuridtOhCsPZsGL3n Qshg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730997166; x=1731601966; 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=+plGok1dPuIOTmdHjUplUafKaq/Rd24MGaQhd6FfzhI=; b=ksENwZrfYwxtVHIdOUF848K1sosbORgagJepY3t18FgKRYSrcCBvKCr3BNVVFTI/e2 WxLP/uYnZU/Nsgph6vACCgc+RvoC9liObMpPmyR/zFDEO39FzgtTDC6xTqyCDt2aX+EH sW4zAvcD3OwPxeY2wZq23qM+dEaPArLXWVPqItDzMlKOTSXklQDQM7A9wXHNSXVwxQWQ G1NxN0ia8zhEP0KjbhLLJoPqxFEckOeTo6Cmqomdik4Gq9W8TzVaHH7BHHzjF7akgKEm E37bvLIwbFMKTu+AASju0jaXSYOGfNMfanFuc9XXPR+eHZgKnb+R+IHdplHym58Dpash DA5A== X-Forwarded-Encrypted: i=1; AJvYcCWfySuvXoDmvU3Gk6mmJh6py/PjWN2LuZ99iw+RNG4bpvMRYGjEksG6OAQNOWV1tH9zCHlOSR1zScflVPy6@lists.postgresql.org X-Gm-Message-State: AOJu0YwGi74jkZ6ukXZcpxwJKFRjzWkKl/NkE0cM5LyFJ9JfaN6M/nqj U4mV0lHcZHqgIodvpY65JxAOgbC84ZBF0DH+GeIatR2hqdtnwP7Y X-Google-Smtp-Source: AGHT+IFl/qU00btjVM8SVjhEy4nim7lXaq0pd7+YHjxSWEUZBBRHxGxFj8FadWreJK8Ga0Jl23OoMQ== X-Received: by 2002:a05:600c:5118:b0:42c:b995:2100 with SMTP id 5b1f17b1804b1-4319ac75a0amr362414095e9.6.1730997165990; Thu, 07 Nov 2024 08:32:45 -0800 (PST) Received: from ip-10-97-1-34.eu-west-3.compute.internal (ec2-15-236-134-5.eu-west-3.compute.amazonaws.com. [15.236.134.5]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432b05302e1sm29740805e9.9.2024.11.07.08.32.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2024 08:32:45 -0800 (PST) Date: Thu, 7 Nov 2024 16:32:44 +0000 From: Bertrand Drouvot To: Michael Paquier Cc: Nazir Bilal Yavuz , Alvaro Herrera , Kyotaro Horiguchi , pgsql-hackers@lists.postgresql.org Subject: Re: per backend I/O statistics 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 Thu, Nov 07, 2024 at 09:50:59AM +0900, Michael Paquier wrote: > On Wed, Nov 06, 2024 at 01:51:02PM +0000, Bertrand Drouvot wrote: > > That's not needed, the patch I'm working on stores the proc number in the > > objid field of the key. > > Relying on the procnumber for the object ID gets a +1 here. Thanks! > That > provides an automatic cap on the maximum number of entries that can > exist at once for this new stats kind. Yeah. POC patch is now working, will wear a reviewer hat now and will share in one or 2 days. Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com