Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gU54I-00062Z-5v for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Dec 2018 07:24:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gU54G-000313-Lt for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Dec 2018 07:24:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gU54F-00030w-Jy for pgsql-hackers@lists.postgresql.org; Tue, 04 Dec 2018 07:24:28 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gU549-00026a-Sb for pgsql-hackers@postgresql.org; Tue, 04 Dec 2018 07:24:26 +0000 Received: from epcas4p1.samsung.com (unknown [182.195.41.31]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20181204072414epoutp0140b52f425446fc283a0cc8b125d5097a~tEGCfuOEC0488004880epoutp01T for ; Tue, 4 Dec 2018 07:24:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20181204072414epoutp0140b52f425446fc283a0cc8b125d5097a~tEGCfuOEC0488004880epoutp01T DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1543908254; bh=yO5HS66Qws2s6nkA7Rd6dax9XpzQ4pP63FGGZb3goP4=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=S5SFuBmytAI+AJha3m4jg2jPKoewYPZJ80wdFEoA4zIv3xUfbcjctiPDJA6L1vSwR xZ4nFZ0lYc8yWK3eyg2EEsMaSkOFL6uxGBvyykymqZULQKBmR0GRyShJ+cfNbEPJwg ROu7CSq9C1h3BFu6CPzBTzIe7mzNoAUBRacVodMI= Received: from epsmges4p3.samsung.com (unknown [182.195.42.35]) by epcas4p1.samsung.com (KnoxPortal) with ESMTP id 20181204072414epcas4p1c4457104f6171f7d43dba67226ee3461~tEGCPT0di0363203632epcas4p1X; Tue, 4 Dec 2018 07:24:14 +0000 (GMT) Received: from epcas4p2.samsung.com ( [182.195.41.32]) by epsmges4p3.samsung.com (EPCPMTA) with SMTP id 4F.01.03695.E9B260C5; Tue, 4 Dec 2018 16:24:14 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas4p3.samsung.com (KnoxPortal) with ESMTPA id 20181204072413epcas4p33f1b3ad76692b978af395bcf8a3640da~tEGB7nmV81689216892epcas4p3S; Tue, 4 Dec 2018 07:24:13 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20181204072413epsmtrp2f029eb21f5d33830d111b572ba44d5c8~tEGB6nlgg1604616046epsmtrp2I; Tue, 4 Dec 2018 07:24:13 +0000 (GMT) X-AuditID: b6c32a23-d17ff70000000e6f-0c-5c062b9ed037 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id EE.27.03694.D9B260C5; Tue, 4 Dec 2018 16:24:13 +0900 (KST) Received: from lmkPC (ip-70-2-253-71.ftwttx.spcsdns.net [70.2.253.71]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20181204072413epsmtip14df3ac46b50fe76a4c721dc3f41789c8~tEGBtSKyv0612706127epsmtip1X; Tue, 4 Dec 2018 07:24:13 +0000 (GMT) From: "myungkyu.lim" To: "'Michael Paquier'" Cc: "'Masahiko Sawada'" , "'PostgreSQL-development'" , , In-Reply-To: <20181204060657.GA6859@paquier.xyz> Subject: RE: [Todo item] Add entry creation timestamp column to pg_stat_replication Date: Tue, 4 Dec 2018 16:24:25 +0900 Message-ID: <03f901d48ba2$6398d430$2aca7c90$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Content-Language: ko Thread-Index: AQIpMBNL80D/Q2LtcJyS7faIicNbPAKP2N8XAoJHiIwBm4dm+QKYOMbOAppU+B0CvT7q+gEzrjqxAXcp7vkBIu4ocQIJYlbbpCE6liA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFKsWRmVeSWpSXmKPExsWy7bCmgu48bbYYg8677BY/355hsji06Byb xd19bcwWd3ZMZ7No37WQ2YHVY+esu+we96b3s3tc2DeN3aNvyyrGAJYoLpuU1JzMstQifbsE royDneeZCuZzVGy7fY25gfEUWxcjJ4eEgInEo6WL2bsYuTiEBJYySvy984MRJCEk8IlR4t2W bIjEN0aJ1VfvMsN0zO5+wgaR2MsoceXbTFYI5zejxLFz/WDtbAL6Etd3HGEFsUUEdCW+3Wph ASliFljEKPHy0H+wBKeAgcTtFd+YQGxhgVCJ3vXLwJpZBFQkFnTdZgexeQUsJe4t/8sEYQtK nJz5hAXEZhaQl9j+dg7USQoSO86+ZoSIi0jM7mxjhlhcJrHo5newUyUE7rNJPLj9D2gxB5Dj IvFyXxhEr7DEq+Nb2CFsKYnP7/ZCA6Zc4m7HXUYIu0KiobMPqkZfYvaCNrAxzAKaEut36UOs 5ZOY032QCWI6r0RHmxCEqSbx4Dw3RKOMxMpfW6CGe0j8a3/LNoFRcRaSv2Yh+WsWkl9mIexa wMiyilEstaA4Nz212KTAWK84Mbe4NC9dLzk/dxMjOMVoKe9gfLfA+xCjAAejEg+vgwNrjBBr YllxZe4hRgkOZiUR3jtqbDFCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeSsk50YLCaQnlqRmp6YW pBbBZJk4OKUaGGevLfp/r9AkOMlscnoky2nD2oyQRO0THEJHN5yfbft26o2NKjN7N9yen+JQ K3h+x8ye/x2hAXmuensCTuVct8uu9u9U+XZHyt3J/oTS1rJra0KyDNfXv72uueijcd+GzZs7 DF7M06+f98571dVlsxn/HTc8fM3q49qkWSrX2tlVl3rsN9JlbVBiKc5INNRiLipOBACpGY9Y LQMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpkkeLIzCtJLcpLzFFi42LZdlhJTneuNluMwZ11uhY/355hsji06Byb xd19bcwWd3ZMZ7No37WQ2YHVY+esu+we96b3s3tc2DeN3aNvyyrGAJYoLpuU1JzMstQifbsE royDneeZCuZzVGy7fY25gfEUWxcjJ4eEgInE7O4nQDYXh5DAbkaJa1dfsUAkZCR67t1g7mLk ALKFJWbekoCo+cko8W/9PrBmNgF9ies7jrCC2CICuhLfbrWwgBQxCyxhlOhrPMAI0dHCInFk 5SqwKk4BA4nbK74xgdjCAsESO283MYLYLAIqEgu6brOD2LwClhL3lv9lgrAFJU7OfMICcgWz gJ5E20awcmYBeYntb+cwQxyqILHj7GuouIjE7M42ZoiDyiQW3fzONoFReBaSSbMQJs1CMmkW ku4FjCyrGCVTC4pz03OLDQuM8lLL9YoTc4tL89L1kvNzNzGCI0ZLawfjiRPxhxgFOBiVeHgd HFhjhFgTy4orcw8xSnAwK4nw3lFjixHiTUmsrEotyo8vKs1JLT7EKM3BoiTOK59/LFJIID2x JDU7NbUgtQgmy8TBKdXAmHZz30zRV3+/7ePcGnZ9+3Otyfdk7v5cbJbN9G1vVctl5q3Pb57Z Hnehz9b8qsOkLfd8fVLnqzkE8tdlTF2baa3LMeGe9xQxoUlu3/8eTbs+37TwP5f2H65kk6zF nbLnY3v3fEu6fSFA/lhCXcxy7Reir+enf0x5ML3y+/lj1wqDy2Quri6bP1mJpTgj0VCLuag4 EQCaNpIhlAIAAA== X-CMS-MailID: 20181204072413epcas4p33f1b3ad76692b978af395bcf8a3640da X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 104P X-CMS-RootMailID: 20181115080226epcas4p1f81c51691d9f12f7fa94c198e84edb3a References: <007701d47cb9$8f414380$adc3ca80$@samsung.com> <20181115082748.GG1374@paquier.xyz> <20181122075321.GJ3369@paquier.xyz> <010201d4854b$ae87e510$0b97af30$@samsung.com> <20181129070020.GD2356@paquier.xyz> <00d401d487bf$98727c10$c9577430$@samsung.com> <20181130085415.GI2267@paquier.xyz> <20181204035625.GQ3423@paquier.xyz> <20181204060657.GA6859@paquier.xyz> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >> I have been looking at this patch more in-depth, and you missed one >> critical thing: hot standby feedback messages also include the >> timestamp the client used when sending the message, so if we want to >> track the latest time when a message has been sent we should track it >> as much as the timestamp from status update messages. >> >> Fixing that and updating a couple of comments and variables, I am >> finishing with the attached. Thoughts? Thanks! I missed it..:( >Another thing which is crossing my mind is if it would make sense to report >the timestamp of the last HS feedback message and the timestamp of the last >status update message into two separate columns. As the point of this >field is to help with the debugging of mostly idle systems it seems to me >that merging both is fine, but I'd like to hear extra opinions about that. I think purpose of this field, that react interval check and debugging on idle system. So, merging both is better. (Is 'Reply' and 'HSFeedback' worth measuring separately?)