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.92) (envelope-from ) id 1jBIm1-0001jN-IU for pgsql-general@arkaria.postgresql.org; Mon, 09 Mar 2020 13:48:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jBIlz-0003Fc-CX for pgsql-general@arkaria.postgresql.org; Mon, 09 Mar 2020 13:48:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jBIly-0003D3-V5 for pgsql-general@lists.postgresql.org; Mon, 09 Mar 2020 13:48:47 +0000 Received: from mail.i-mark.de ([188.138.104.222]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jBIlw-0001pC-64 for pgsql-general@lists.postgresql.org; Mon, 09 Mar 2020 13:48:45 +0000 Received: from [192.168.178.20] (unknown [185.38.49.17]) by mail.i-mark.de (Postfix) with ESMTPSA id 19933158397F for ; Mon, 9 Mar 2020 14:48:37 +0100 (CET) Authentication-Results: loft7616.startdedicated.de; spf=pass (sender IP is 185.38.49.17) smtp.mailfrom=andreas@a-kretschmer.de smtp.helo=[192.168.178.20] Received-SPF: pass (loft7616.startdedicated.de: connection is authenticated) Subject: Re: Who mades the inserts? To: pgsql-general@lists.postgresql.org References: From: Andreas Kretschmer Message-ID: Date: Mon, 9 Mar 2020 14:48:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Am 09.03.20 um 13:52 schrieb Durumdara: > Do you know any query which can show me the inserts per databases? > > And I don't know it works as TPS query? So I need to make differents > between measured values in two time point? yes, you can use tup_inserted from pg_stat_database. Regards, Andreas -- 2ndQuadrant - The PostgreSQL Support Company. www.2ndQuadrant.com