Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1faTqj-0000vd-E7 for pgsql-committers@arkaria.postgresql.org; Tue, 03 Jul 2018 22:32:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1faTqh-00014j-HM for pgsql-committers@arkaria.postgresql.org; Tue, 03 Jul 2018 22:32:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1faTqf-00014b-VL for pgsql-committers@lists.postgresql.org; Tue, 03 Jul 2018 22:32:39 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1faTqc-0004Vw-6P for pgsql-committers@lists.postgresql.org; Tue, 03 Jul 2018 22:32:36 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id EDE1F1B1; Tue, 3 Jul 2018 18:32:31 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 03 Jul 2018 18:32:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=ErdzCv/lHClBTwcI8U5t04ag3ZXJQkK69aZhlrdhLG0=; b=E37Ww7wo jNx5REe00+khxok2aUmOfaAAR84igXpxbMRAID+uLq4VHx5w4vgfSLUqEkz8yMdk l9JzKvgBKOGK3NWRhLeRo8YW1mswf3mHruNnVpIZByM6wjSEfyENHzMj2OZ41+Hb vReAb4SQITkM6OxqA3C8tnzluVViwih6KJSkWMkJ8QqjB0agkr7prmQ2a2IblHTW lP2G4Ueaj2iQ1VtRGgZeZxnz7bb92ApcZk9D/l3J6WBPLWW6eE2UHkF3R6qpYAyl 4MN5jbwi1IADoEdF3zdfk6pY/p0EmYtwEzRlug1jV9hiYDsa+46IcNoB+QZrO+tk j7Ysm0HdcouAeg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=ErdzCv/lHClBTwcI8U5t04ag3ZXJQ kK69aZhlrdhLG0=; b=jonGgsQofHECtW/5qeg0X86FA3peuUSScSAzWxKS4O5hP VsmR07zSHf0CLOWVGC1RQctU6YdQzS9T55XCbkG+9gefXF1+oi/DJE1rFH+0DaZ4 vGUSRDOEmZ1KhqbYGJUZh6PS5IEgbXt4lzue5MxcKS7ixw6Ucy2szqQr7jXOqjQo OBR3JIraruSplsH57paJXG0Fd1me6VRgPHHuBDI0gf1Vlj1Pmpvcg3tQJd1WpNOJ EtRY92/RsBlrJ9uQIRTIQFP6JkyHp50mw2YV/PT+aDgs3u5F5zmscyZBdvFVMKtf x09qKnYGlq3RQ2oVAqpsAi+0inGR/Roc7nRKNF2VA== X-ME-Proxy: X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 42AE51025D; Tue, 3 Jul 2018 18:32:29 -0400 (EDT) Date: Wed, 4 Jul 2018 07:32:20 +0900 From: Michael Paquier To: Alvaro Herrera Cc: Andres Freund , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Add wait event for fsync of WAL segments Message-ID: <20180703223220.GA1672@paquier.xyz> References: <20180703191845.6dcmu5ku56wsqgoe@alap3.anarazel.de> <20180703201223.2jgzfbihvh6q2g3w@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <20180703201223.2jgzfbihvh6q2g3w@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 03, 2018 at 04:12:23PM -0400, Alvaro Herrera wrote: > On 2018-Jul-03, Andres Freund wrote: >=20 > > On 2018-07-03 15:13:20 -0400, Alvaro Herrera wrote: > > > Are the numerical values actually exposed to the world? I thought the > > > only way to this info was through the system views, which surely expo= se > > > the names, not the numbers. > >=20 > > There's at least some work at high frequency sampling of these, and I > > assume that's not going through SQL, but rather C functions. >=20 > You're right. My take is a background worker which connects to shared memory and scans directly ProcArray entries. > Anyway, it's not a huge deal to me. If Michael doesn't want to > backpatch it, it's his call, and I don't have the cycles to do it myself > right now either. If some other committer cares about it, well ... New wait events on HEAD are adapted to HEAD in my opinion, so I would keep the code as it is now. If anybody wishes to back-patch the change, of course feel free to do so. -- Michael --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAls7+XQACgkQnvQgOdby QH2jyw/8DKhtyDGm0a6SxiXob2+R6Kv4Gfe9f/qTa+Y4kEldoJF4vv3CYxbgAutK cVkAQVy4Qv6bUIlyHE+V07AagO2QcZNPb9nf0sJfVho/gjww7XweSoSTUqYKvKvc WsLQNFqIiAbDfsAh+WvGtkqEmHxigCkgN4egpp0PShZ6FZCBwntx4P+7/HMciaRe w5VUpjsLNHOJ6ZRjEM8M0176hMvZOpzwkMH9FGuAYRSDVDKhUMNJgQzP1fGD4GD6 E5xy1aQ2bt4+K65pPsT08bRSZsirJhg0HejjwJonnYM4dsCH6VL2hx8BdDQSZMDq gRZ/xtt2nThVuOo4QvegjvJSvuTv2Xb8gI57+cx6Cahye9xb/I/OkLNDOrrMtCX1 R57pfr35/oj/IFDGJhi1UmybdSY1GvKdIzaT1v+CrQ6WXu48/zYxq/PL/o2HvLKG Jz/4aPMXywWxNBI+q5X8+tXkwFksCHkpzkTFcxDWSIwpq7HQlNo0QT6BPFaQSuUk g0hmaS1NtNEwpR0eqSxB+mQJLqKjq2MLuifFNTeL+cLEQoZ1sJ6bCnvoK5cMcV1L gbsPXegjJ42qZ4MwTSlqhFBFVNHBZSoLSFWgY/b0hCJBl3FnUBrQCfDHl6WLIUTH WUpoCXtvNkH7vY2JZH1PJZM7RMUPbOELEbLHXlMftQjbjErM/us= =FGNf -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--