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 1v9RLt-000X7I-QL for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Oct 2025 17:01: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 1v9RLr-00EIfA-FF for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Oct 2025 17:01:18 +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 1v9RLr-00EIf1-5k for pgsql-hackers@lists.postgresql.org; Thu, 16 Oct 2025 17:01:18 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1v9RLo-0028Ah-1t for pgsql-hackers@lists.postgresql.org; Thu, 16 Oct 2025 17:01:17 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 59GH1ABs1518976; Thu, 16 Oct 2025 13:01:11 -0400 From: Tom Lane To: Dimitrios Apostolou cc: Chao Li , Nathan Bossart , Thomas Munro , pgsql-hackers@lists.postgresql.org Subject: Re: [PING] [PATCH v2] parallel pg_restore: avoid disk seeks when jumping short distance forward In-reply-to: <1306492.1760556110@sss.pgh.pa.us> References: <2edb7a57-b225-3b23-a680-62ba90658fec@gmx.net> <1282067.1744651649@sss.pgh.pa.us> <5ed51587-5a24-4d79-e36e-927620d0e3a2@gmx.net> <72d2c81b-a0fe-3d99-9dd4-0d771e6e673e@gmx.net> <1po8os49-r63o-2923-p37n-12698o1qn7p0@tzk.arg> <3515357.1760128017@sss.pgh.pa.us> <3698234.1760149336@sss.pgh.pa.us> <3686.1760232320@sss.pgh.pa.us> <717335.1760389672@sss.pgh.pa.us> <1306492.1760556110@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Wed, 15 Oct 2025 15:21:50 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1518974.1760634070.1@sss.pgh.pa.us> Date: Thu, 16 Oct 2025 13:01:10 -0400 Message-ID: <1518975.1760634070@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I wrote: > I think this is more or less committable, and then we could get > back to the original question of whether it's worth tweaking > pg_restore's seek-vs-scan behavior. And done. Dimitrios, could you re-do your testing against current HEAD, and see if there's still a benefit to tweaking pg_restore's seek-vs-read decisions, and if so what's the best number? regards, tom lane