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 1rpLuo-006IjW-HG for pgsql-general@arkaria.postgresql.org; Wed, 27 Mar 2024 05:33:34 +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 1rpLun-00AExf-I4 for pgsql-general@arkaria.postgresql.org; Wed, 27 Mar 2024 05:33:33 +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 1rpLun-00AExX-7Y for pgsql-general@lists.postgresql.org; Wed, 27 Mar 2024 05:33:33 +0000 Received: from smtp127.iad3a.emailsrvr.com ([173.203.187.127]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rpLuj-006eI7-He for pgsql-general@lists.postgresql.org; Wed, 27 Mar 2024 05:33:31 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp24.relay.iad3a.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id 187CE2318E; Wed, 27 Mar 2024 01:33:29 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: User roles for gathering performance metrics data From: Christophe Pettus In-Reply-To: Date: Tue, 26 Mar 2024 22:33:26 -0700 Cc: pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <3CA91D7E-0CD1-41BD-B710-3785D86645CE@thebuild.com> References: To: Siraj G X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Classification-ID: 3c5f16c7-a298-4daa-a326-372070d7d340-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Mar 26, 2024, at 22:30, Siraj G wrote: > I am from Oracle background. In Oracle, we grant select_catalog_role = or select any dictionary role to users who want to study performance = data. I am trying to get similar information on the roles or privileges = in PgSQL that we might want to request to investigate the performance = problems? You probably want pg_monitor: https://www.postgresql.org/docs/current/predefined-roles.html=