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 1ukWnx-003ZQa-2N for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Aug 2025 23:47: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 1ukWnv-0003jz-G6 for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Aug 2025 23:47: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 1ukWnu-0003jr-DV for pgsql-hackers@lists.postgresql.org; Fri, 08 Aug 2025 23:47:19 +0000 Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1ukWnr-001TSh-1D for pgsql-hackers@lists.postgresql.org; Fri, 08 Aug 2025 23:47:17 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 0794514000C9; Fri, 8 Aug 2025 19:47:15 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Fri, 08 Aug 2025 19:47:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc: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=fm3; t=1754696835; x=1754783235; bh=5U5YQ0j+cX F3PSKPc7/rZcs0esKIAlkczYIzI6nY4zo=; b=JjjAL3Z2nZjAIuMljL5CUqcziG IJGkegzz0dVA75aRIR+G8WgJFRxcLpaIjHSmIO3eZ5rtx7YkjEa1vu1t0xA/O7Ww va5AVXeaFBS8kPKqW3oueT+2eA315hyX5jesrW7qrV/o3wHuj3sCDOQeg3AF6T29 riKjkcg5vbulrMK7RTM1Coq0tqaepmJ1zmw50FOvaI2pbE7iu0SSby6iY6DAvYeh B+GFATcLsVpbnx/vWK/duQWqzlntm0v4BD5Ddhs/Ntx2SA56UC5E7ASYeQKpvQZF /9f1XJnV51HfKKkVmThbD4U+0IT34gurvXOkrXq8ot4PGZg4/OhFpdmwnCDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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= 1754696835; x=1754783235; bh=5U5YQ0j+cXF3PSKPc7/rZcs0esKIAlkczYI zI6nY4zo=; b=X/aEFWLPskrPY3r+PHuwobsFz9bIQQiX45qz/uIA2c6mHCDkAkm Ubl8n1Y1aachdVZX37/91AuRx1ARjWbKrvkwVHqX6vjpnMeccbsL5kGykKQGDc2C 1ZChySFhVYdPZMAkEufH92QIbDG7h++rXP9nfpbgu2Y+Xk8dIGkR6iOkvkZdJ903 sAjNL4PHmuxTzw4fws5GWyfTN5WwpoDXmj4wZKjhRM3t1VksrwTMi/eO8Z+BrNII aGzoBgNhwHoTRqcv7AcxK2uhYsxs/yy90atkKVWsz8SZVn9c8pSuIez559NERKdy 2V4I6G9G6L+3vjy3W89vNezS1eL0dpt8JzQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduvdehudejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkfhggtggujgesthdtsfdttddtvdenucfhrhhomheptehnughrvghs ucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrfgrth htvghrnhepfeffgfelvdffgedtveelgfdtgefghfdvkefggeetieevjeekteduleevjefh ueegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hnughrvghssegrnhgrrhgriigvlhdruggvpdhnsggprhgtphhtthhopedutddpmhhouggv pehsmhhtphhouhhtpdhrtghpthhtohepphhgsegsohifthdrihgvpdhrtghpthhtohepkh hnihiihhhnihhksehgrghrrhgvthdrrhhupdhrtghpthhtohepsgihrghvuhiikedusehg mhgrihhlrdgtohhmpdhrtghpthhtohepughilhhiphgsrghlrghuthesghhmrghilhdrtg homhdprhgtphhtthhopehmvghlrghnihgvphhlrghgvghmrghnsehgmhgrihhlrdgtohhm pdhrtghpthhtoheprhhosggvrhhtmhhhrggrshesghhmrghilhdrtghomhdprhgtphhtth hopehthhhomhgrshdrmhhunhhrohesghhmrghilhdrtghomhdprhgtphhtthhopehpghhs qhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrghdprhgtph htthhopehgkhhokhholhgrthhoshesphhrohhtohhnmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 8 Aug 2025 19:47:13 -0400 (EDT) Date: Fri, 8 Aug 2025 19:47:13 -0400 From: Andres Freund To: Tomas Vondra Cc: Peter Geoghegan , Nazir Bilal Yavuz , Thomas Munro , Robert Haas , Melanie Plageman , PostgreSQL Hackers , Georgios , Konstantin Knizhnik , Dilip Kumar Subject: Re: index prefetching Message-ID: References: <8ed1d326-5c6e-476e-b3fd-30d3da210546@vondra.me> <38b865bd-2ae9-4a94-a788-6e3dc99ccd70@vondra.me> <306fc8c0-c882-4602-86f5-a106b9ace603@vondra.me> <152ea782-5bd4-4435-b021-0ab2da61e63d@vondra.me> <7c2f6350-6fca-4e39-b0a8-8ac735f5d58a@vondra.me> <2e63cadd-2a03-46b1-866e-7ea5d3ffd37f@vondra.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2e63cadd-2a03-46b1-866e-7ea5d3ffd37f@vondra.me> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2025-08-06 16:12:53 +0200, Tomas Vondra wrote: > That's quite possible. What concerns me about using tables like pgbench > accounts table is reproducibility - initially it's correlated, and then > it gets "randomized" by the workload. But maybe the exact pattern > depends on the workload - how many clients, how long, how it correlates > with vacuum, etc. Reproducing the dataset might be quite tricky. > > That's why I prefer using "reproducible" data sets. I think the data > sets with "fuzz" seem like a pretty good model. I plan to experiment > with adding some duplicate values / runs, possibly with two "levels" of > randomness (global for all runs, and smaller local perturbations). > [...] > Yeah, cases like that are interesting. I plan to do some randomized > testing, exploring "strange" combinations of parameters, looking for > weird behaviors like that. I'm just catching up: Isn't it a bit early to focus this much on testing? ISMT that the patchsets for both approaches currently have some known architectural issues and that addressing them seems likely to change their performance characteristics. Greetings, Andres Freund