Re: SV: pgaudit and create postgis extension logs a lot inserts - Mailing list pgsql-performance

From Bruce Momjian
Subject Re: SV: pgaudit and create postgis extension logs a lot inserts
Date
Msg-id 20180130152629.GE31052@momjian.us
Whole thread Raw
In response to SV: pgaudit and create postgis extension logs a lot inserts  (Svensson Peter <peter.svensson@smhi.se>)
List pgsql-performance
On Fri, Jan 19, 2018 at 11:03:42AM +0000, Svensson Peter wrote:
> 
> A test to create postgis extension made 4 rsyslog processes run for several minutes with high cpu util,
> and when you have only 8 cpu:s this take lot of resources. 
> The create command also have to wait until all the log are written so there are great impact.
> Log file got 16 GB big only for this.

Uh, that seems odd.  Is rsyslog fsync'ing each write?  You should check
the docs on that.  Here is an example report:

    http://kb.monitorware.com/simple-question-what-does-the-dash-t10237.html

I don't see the dash behavior mentioned in my Debian Jessie rsyslogd
manual page though.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +


pgsql-performance by date:

Previous
From: pavan95
Date:
Subject: Re: 8.2 Autovacuum BUG ?
Next
From: Claudio Freire
Date:
Subject: Re: 8.2 Autovacuum BUG ?