Re: Who mades the inserts?

From: Andreas Kretschmer <andreas(at)a-kretschmer(dot)de>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Who mades the inserts?
Date: 2020-03-09 13:48:39
Message-ID: f0ce4a68-381a-4904-2de7-eb04117d090b@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Justin 2020-03-09 13:59:13 Re: Who mades the inserts?
Previous Message Sterpu Victor 2020-03-09 13:15:49 Query to retrieve the index columns when a function is used.