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 1gnici-0000JV-HX for pgsql-performance@arkaria.postgresql.org; Sun, 27 Jan 2019 11:29:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gnicg-0002Uo-L2 for pgsql-performance@arkaria.postgresql.org; Sun, 27 Jan 2019 11:29:10 +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 1gnicg-0002Q5-Db for pgsql-performance@lists.postgresql.org; Sun, 27 Jan 2019 11:29:10 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gnicX-0002DD-RM for pgsql-performance@postgresql.org; Sun, 27 Jan 2019 11:29:09 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id B443411A7DF21 for ; Sun, 27 Jan 2019 04:28:59 -0700 (MST) Date: Sun, 27 Jan 2019 04:28:59 -0700 (MST) From: legrand legrand To: pgsql-performance@postgresql.org Message-ID: <1548588539735-0.post@n3.nabble.com> In-Reply-To: References: Subject: Re: Q on SQL Performance tuning MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, There are many tools: - (core) extension pg_stat_statements will give you informations of SQL executions, - extension pgsentinel https://github.com/pgsentinel/pgsentinel gives the same results as Oracle ASH view - java front end PASH viewer https://github.com/dbacvetkov/PASH-Viewer gives a nice view of CPU IO per query - extension pg_stat_sql_plans (alpha) gives all of pg_stat_statements and much more (parsing time, planid, plan text, ...) Regards PAscal -- Sent from: http://www.postgresql-archive.org/PostgreSQL-performance-f2050081.html