From: Andreas Joseph Krogh <andreas@visena.com>
To: pgsql-general@lists.postgresql.org
Subject: Sv: RE: Transactions
Date: Tue, 9 Apr 2019 12:07:24 +0200 (CEST)
Message-ID: <VisenaEmail.7.5f9cc306e7db9b59.16a018e2ee0@tc7-visena> (raw)
In-Reply-To: <17522b70374445418d6e7143e9df3c7d@UKEXCHMBX003.TechMahindra.com>
På tirsdag 09. april 2019 kl. 11:56:28, skrev Karl Martin Skoldebrand <
KS0C77263@TechMahindra.com <mailto:KS0C77263@TechMahindra.com>>:
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).
Well, the answer here is of course "it depends"... If you have lots of
activity the logs will fill up quite quickly, but you can easily test this in
production and just turn off logging again by setting it to 'none' and reload
settings (no need to restart). You can also only log modifications by setting
log_statement = 'mod' Also watch out for triggers modifying stuff. -- Andreas
Joseph Krogh CTO / Partner - Visena AS Mobile: +47 909 56 963 andreas@visena.com
<mailto:andreas@visena.com> www.visena.com <https://www.visena.com;
<https://www.visena.com;
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: andreas@visena.com
Subject: Re: Transactions
In-Reply-To: <VisenaEmail.7.5f9cc306e7db9b59.16a018e2ee0@tc7-visena>
References: <17522b70374445418d6e7143e9df3c7d@UKEXCHMBX003.TechMahindra.com> <VisenaEmail.7.5f9cc306e7db9b59.16a018e2ee0@tc7-visena>
* 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