Re: SV: pgaudit and create postgis extension logs a lot inserts

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Svensson Peter <peter(dot)svensson(at)smhi(dot)se>
Cc: Joe Conway <mail(at)joeconway(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: SV: pgaudit and create postgis extension logs a lot inserts
Date: 2018-01-30 15:26:29
Message-ID: 20180130152629.GE31052@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)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 +

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Claudio Freire 2018-01-30 16:13:40 Re: 8.2 Autovacuum BUG ?
Previous Message pavan95 2018-01-30 13:55:57 Re: 8.2 Autovacuum BUG ?