Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mYrnj-0005aP-VY for pgsql-performance@arkaria.postgresql.org; Fri, 08 Oct 2021 15:28:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mYrni-0008Sl-KC for pgsql-performance@arkaria.postgresql.org; Fri, 08 Oct 2021 15:28:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mYrni-0008Sd-AX for pgsql-performance@lists.postgresql.org; Fri, 08 Oct 2021 15:28:46 +0000 Received: from mout.gmx.net ([212.227.17.20]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mYrne-000878-HT for pgsql-performance@lists.postgresql.org; Fri, 08 Oct 2021 15:28:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1633706920; bh=3yLF7pxbch0MNm1xj7Kra2Xt6SDKAoC0JisHhr+CSe0=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=Sp9WSUipIbKkX20h4fT13tWrG5vcaz2dFU49Hru4gSGkX4areQiYdXNej3gUPL3BT GqpVXT9tmrAlD1yTfRYhTpLavQFhqZ5eU6O/M9dBMyd88s6kp+udpIFIIbWNDpceWD IUFthjYJz+7VduIrujq1q+VEQg5MyCaPaCDBhU3g= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.178.20] ([83.171.168.77]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MbzyJ-1nCKsp2L9T-00dVwq for ; Fri, 08 Oct 2021 17:28:40 +0200 Subject: Re: Better, consistent instrumentation for postgreSQL using a similar API as Oracle To: pgsql-performance@lists.postgresql.org References: <4d9e6ac5-5b13-84fe-74b5-07421501318e@gmail.com> <20211008152132.GB31533@momjian.us> From: Thomas Kellerer Message-ID: <738e0157-da3f-01aa-4e43-2b6e3c08ecca@gmx.net> Date: Fri, 8 Oct 2021 17:28:37 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <20211008152132.GB31533@momjian.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:E+viFt01qTNqWajGg+rnKoarGDUk0y+EUFLpJyiOWh7R/4ZfT1N eA4CLTifC5GUGkUQvPftT14fIMZVSrigGKO0j61NZPpmRfbSyGwoENQxXbKfd4S0uRZ0ECp EXf8xOOW/cdrslqgMGPAX71nSohvhaS4keVXML+kr/p+eSF4G4uadB4Mgbjt3em2Y2sN3M5 8LP79jhDGmShoVGYcVP4g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:FwHv3UeMURM=:o/dBv1p2GnllLSIDC7oydE 46va6P1YdMidJrg5awCGCX3BQnpp8+S1QLsGZKZMUGwLysZu4psX9+Gnq3f6LEFLp7isEPZXA IictxmhL3TxUhWLGOVhY10k0boIn9S8T8dCngybLEFOK4bI7DbuOgq3/UI3o5BR4ujEd8irDm W5brPea4PNrVrYthaPDWkoRy1171DE83jeNnlRTbuld9XQdFrk+BDMtuAjFIRTzvTzx/nJPJv T48b0PfJ72BE9xaze2AXtt7xizqsdPL0SARxLzHjfehuauPwfCHrkEz1Hq2zebUysS/HiyVLR Yu5Ycz1WmGtg8a/m7HR8/4I0e6hHD2CFyskq8f2afihNZG4/wEXPBrAtbfHHcppTgBCVKusDT 5QwwCNZ9Qs90PGc5eJ8bTP60ItD07WJMLmWd4ISo384y8QklyoC8mInSFHklUduejneFhcvw+ aahrrgFyJTlDp29hhYZYCWtw/Xef4oDMezUv+6LgjBivuFCrBinWZK748hFLseE2jsbyWW5v8 XNwPvhhK6KnguiSTLjuZBdwsGjE3dPbo4MuKLlk9v59+kPxMlgMo8Eeu14t5hymMNaF2NK1Dh onW+bdnWfxlo3BLm8Tm1h0LRA2xJVEHaSTQONoUbPjDDcupn63ivb8z3HJ1v01a0YciqKQVBs mkyJZVAcHhfNFoQBbOAOi4LZSEvN6enqHMegXKvtt1JEr1dcDnDqPQWcoyIeoNjLLm+c5UBJ/ UPZi4Luc/K74F1/O814/zUf7Bme+g9QxwGVEn+xIL3m5VGB9bZE5w5S/41cL7soNSDfy2zW8i tJ2lw33uoSEryZ6ziwNQrz2ppJq/Q4f0+EHT4LtAkOYuPQ1EWUKLAA2iF2xU+PZ2BOgOCaHzJ GeZrOpqTsfT8mHO3R0OKWiQQqRAJj++etm5ZsH4F7K8Ma9i8t3om/FPAW03ua9AVvqBZmPXra nOwSMxGoxCjrbZ4xCSkGa6NQz9R5PO6EBJNEeT5p7owzsN/GXqeD6iaMMiJYaShphlK34WyhR 5XvDK8z6nzlL78bQO2M4iDhVWhMwtJPrIRSRR2sRNIBLi3g3d32Kv8OoObXOq2y1VwHW1ABV/ DsEEv6/311EG+0= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Bruce Momjian schrieb am 08.10.2021 um 17:21: > However, I also need to ask how the wait event information, whether > tracing or sampling, can be useful for Postgres because that will drive > the solution. I guess everyone will use that information in a different way. We typically use the AWR reports as a post-mortem analysis tool if something goes wrong in our application (=customer specific projects) E.g. if there was a slowdown "last monday" or "saving something took minutes yesterday morning", then we usually request an AWR report from the time span in question. Quite frequently this already reveals the culprit. If not, we ask them to poke in more detail into v$session_history. So in our case it's not really used for active monitoring, but for finding the root cause after the fact. I don't know how representative this usage is though. Thomas