From: Karl Martin Skoldebrand <KS0C77263@TechMahindra.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: RE: Transactions
Date: Tue, 9 Apr 2019 09:56:28 +0000
Message-ID: <17522b70374445418d6e7143e9df3c7d@UKEXCHMBX003.TechMahindra.com> (raw)
In-Reply-To: <VisenaEmail.4.163e6ee42df1ee1f.16a017693c6@tc7-visena>
References: <4ba093e45ace4d9a8d4ad838952b530e@UKEXCHMBX003.TechMahindra.com>
<VisenaEmail.4.163e6ee42df1ee1f.16a017693c6@tc7-visena>
How much impact on performance and disk space would this or
set log_min_duration_statement=0
have?
I have no idea as to how common this is, or when it happens, so it would need to run until this reported again (or some reasonable time if it doesn’t happen).
/M.
From: Andreas Joseph Krogh <andreas@visena.com>
Sent: 09 April 2019 11:41
To: pgsql-general@lists.postgresql.org
Subject: Sv: Transactions
På tirsdag 09. april 2019 kl. 11:26:29, skrev Karl Martin Skoldebrand <KS0C77263@TechMahindra.com<mailto:KS0C77263@TechMahindra.com>>:
Hi,
Is there a way to track “transactions” by default (i.e. without anyone having set up anything specific). The problem I am facing is that users are claiming that settings are disappearing with them doing anything to affect them. It would be good to be able to see what postgresql thinks is going on.
*Subscriber adds Severity/BU/Service by ticking the corresponding box in subscriber configuration in WEBAPP. This works for some time.
*Subscriber stops receiving selected [tickets].
*Upon checking settings the selected Severity/BU/Service has been unselected.
Not "without anyone having set up anything specific", but you can change the setting in postgresql.conf to:
log_statement = 'all'
and reload the settings.
You can now see all SQL executed in the log and can debug what's going on.
============================================================================================================================
Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html <http://www.techmahindra.com/Disclaimer.html; externally http://tim.techmahindra.com/tim/disclaimer.html <http://tim.techmahindra.com/tim/disclaimer.html; internally within TechMahindra.
============================================================================================================================
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: KS0C77263@TechMahindra.com
Subject: Re: Transactions
In-Reply-To: <17522b70374445418d6e7143e9df3c7d@UKEXCHMBX003.TechMahindra.com>
References: <4ba093e45ace4d9a8d4ad838952b530e@UKEXCHMBX003.TechMahindra.com> <VisenaEmail.4.163e6ee42df1ee1f.16a017693c6@tc7-visena> <17522b70374445418d6e7143e9df3c7d@UKEXCHMBX003.TechMahindra.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox