Re: MusicBrainz postgres performance issues

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: MusicBrainz postgres performance issues
Date: 2015-03-16 13:38:16
Message-ID: 20150316133816.GA20821@tux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Robert Kaye <rob(at)musicbrainz(dot)org> wrote:

> However, I am glad to report that our problems are fixed and that our server is
> back to humming along nicely.
>
> What we changed:
>
> 1. As it was pointed out here, max_connections of 500 was in fact insanely
> high, especially in light of using PGbouncer. Before we used PGbouncer we
> needed a lot more connections and when we started using PGbouncer, we never
> reduced this number.
>
> 2. Our server_lifetime was set far too high (1 hour). Josh Berkus suggested
> lowering that to 5 minutes.
>
> 3. We reduced the number of PGbouncer active connections to the DB.
>

Many thanks for the feedback!

Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Robert Kaye 2015-03-16 14:32:51 Re: MusicBrainz postgres performance issues
Previous Message Thomas Kellerer 2015-03-16 13:22:48 Re: MusicBrainz postgres performance issues