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 1koozF-0006ra-H8 for pgsql-admin@arkaria.postgresql.org; Mon, 14 Dec 2020 14:38:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1koozE-0006j5-Gr for pgsql-admin@arkaria.postgresql.org; Mon, 14 Dec 2020 14:38:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koozD-0006fO-QK for pgsql-admin@lists.postgresql.org; Mon, 14 Dec 2020 14:38:04 +0000 Received: from smtp10.hushmail.com ([65.39.178.143]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koozA-0003hI-8N for pgsql-admin@postgresql.org; Mon, 14 Dec 2020 14:38:01 +0000 Received: from smtp10.hushmail.com (localhost [127.0.0.1]) by smtp10.hushmail.com (Postfix) with SMTP id 106F9C0303 for ; Mon, 14 Dec 2020 14:37:58 +0000 (UTC) X-hush-tls-connected: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=hushmail.com; h=date:to:subject:from; s=hush; bh=OArEFk7kvZXqJAR4MMCY9d0w525PB2ONhao+EM6qhaM=; b=Pm3IZT3qaRF9r6EXnt4zXHyVlxhRwdK1ZSo/pJGY6Q6x1cB98Kpt+uooMCtdDG7k2chNvQuU9bOLAAxwvhIkQUgp/a5DXC5uba8cQ4usimrGuw8WFkzyqubClnFPqOz5awFvCFivgPqAuGubKDPGF+19ldHEB8zD1uslbGKZHKWQdLLDzhQQsnnp7s0ziPOtTfG8FZt3SNyCUBW/2/a4L9h+KbypOnEPLaow/AKns4AfOvV13pwCJR83cCW4rpS3rd8hYjMX+QmUAucP57d/BryAy9TqR8qUZJHFV/E+T0lARPwJNh2w6Kwc4xS56SMpoBCwLPAwQtE8lEq4uLzT+A== Received: from smtp.hushmail.com (w8.hushmail.com [65.39.178.68]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp10.hushmail.com (Postfix) with ESMTPS; Mon, 14 Dec 2020 14:37:57 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 48) id 392A280E2C2; Mon, 14 Dec 2020 14:37:57 +0000 (UTC) MIME-Version: 1.0 Date: Mon, 14 Dec 2020 14:37:57 +0000 To: "Scott Ribe" , "Anton Dischner" Cc: pgsql-admin@postgresql.org Subject: Re: tools like innotop for PostgreSQL? From: zurich@nym.hush.com In-Reply-To: <520FD6A0-7360-4156-96E9-27839B312A23@elevated-dev.com> References: <65d64230583e41508a60c0392b56d03f@MITMB5.helios.med.uni-muenchen.de> <520FD6A0-7360-4156-96E9-27839B312A23@elevated-dev.com> X-hush-end-of-body-position: 29 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20201214143757.392A280E2C2@smtp.hushmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/14/2020 at 1:12 PM, "Scott Ribe" wrote: > >> On Dec 14, 2020, at 2:14 AM, Dischner, Anton > wrote: >> >> Hi all, >> >> we are using PostgreSQL in a docker container for a fhir server. >> >> Performance is not as desired/ as fast as other fhir servers >currently in testing. >> >> For MySQL there are monitoring tools like mytop, innotop which >show running SQL commands. >> >> Are there any equivalent tools for PostgreSQL to find SQL >commands which deserve tuning? >> ... > >We use pg_stat_statements Hi Anton for monitoring running SQL check out pg_activity at https://github.com/dalibo/pg_activity , from the OPM guys Dalibo. cheers Peter Goodwin