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 1slEL6-006A3B-HQ for pgsql-general@arkaria.postgresql.org; Mon, 02 Sep 2024 21:11:57 +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 1slEL4-002dkk-Dp for pgsql-general@arkaria.postgresql.org; Mon, 02 Sep 2024 21:11:54 +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 1slEL4-002dkV-2e for pgsql-general@lists.postgresql.org; Mon, 02 Sep 2024 21:11:54 +0000 Received: from meesny.iki.fi ([195.140.195.201]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1slEL1-000LSS-Ff for pgsql-general@lists.postgresql.org; Mon, 02 Sep 2024 21:11:53 +0000 Received: from [192.168.1.110] (dsl-hkibng22-54f8db-125.dhcp.inet.fi [84.248.219.125]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hlinnaka) by meesny.iki.fi (Postfix) with ESMTPSA id 4WyLzS4yRzzyQB; Tue, 3 Sep 2024 00:11:48 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1725311509; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4z9QKQPB3jfNDAnib5FhXMDF9xTMxNN0vR1L36/mNbc=; b=V8AKB6ehdAlGTZH8E102Bl41jJd5AY/QCgCAa6p/WwxMk/1wQJlhjwxPsF2O4WhKmpIawY SJZ2HXGErzBKUf0glqCgpHGHUDUrfDJzSTi3NKQQ7UNX3y4SxylC0OBNValmMCQu8n5O94 Jvj8+CDWbhIr3Y70X2x/O4dh/3LT19g= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1725311509; a=rsa-sha256; cv=none; b=FXSY9x1sde3Qx+/5QhGsngr8eHDLmkztlNwXsrGIWaY84dAYDURZwnBuBReKSXjflgXV30 zvccIwBeHs/MchjFbxMDW/mqaGkkGNl8zL3bONvuGHKjFpYpLe7EEkro4+za42DvDXeph6 2glnjlJv+/ssCi/phHJh29FQ6GWJXfE= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=hlinnaka smtp.mailfrom=hlinnaka@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1725311509; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4z9QKQPB3jfNDAnib5FhXMDF9xTMxNN0vR1L36/mNbc=; b=xXN7Vf3/ne10i6RzbABTZ46L8wMfY1flK/Cd3WxAn6TY6Jq15wN7JCTBsU2jZmia1NVpJH 7XYaYoxML8YdEyO0SHyuUmolWaX2JL9M2JU+9WC3i1nDniL6lDW22f63zpInepYEJDEXRM SConDKTufssLq+bVRMxu/7MyhYHfYvc= Message-ID: Date: Tue, 3 Sep 2024 00:11:48 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: PG17 optimizations to vacuum To: Peter Geoghegan , Pavel Luzanov Cc: Melanie Plageman , "pgsql-generallists.postgresql.org" References: <3bda0d10-0d60-42b7-9600-abe23d54bb16@postgrespro.ru> <7bc8da54-fe4f-4ff2-aa4e-b54fc91df586@postgrespro.ru> <7760d3e3-15cc-4abf-ab33-027008c17d53@iki.fi> Content-Language: en-US From: Heikki Linnakangas 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 03/09/2024 00:01, Peter Geoghegan wrote: > On Mon, Sep 2, 2024 at 4:58 PM Heikki Linnakangas wrote: >> Do you have any non-default settings? "select name, >> current_setting(name), source from pg_settings where setting <> >> boot_val;" would show that. > > What about page checksums? > > One simple explanation is that we're writing extra FPIs to set hint > bits. But that explanation only works if you assume that page-level > checksums are in use (or that wal_log_hints is turned on). Hmm, yeah, that might be it. With chceksums enabled, I see ~120k WAL records, vs ~90k without checksums. But there's no difference between v16 and master. Pavel, did you test v17 with checksums enabled and v16 with checksums disabled, by any chance? -- Heikki Linnakangas Neon (https://neon.tech)