pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Arnaud L. <arnaud.listes@codata.eu>
To: Imre Samu <pella.samu@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Slow statement using parallelism after 9.6>11 upgrade
Date: Tue, 3 Sep 2019 17:09:29 +0200
Message-ID: <ffde859b-95f5-5ac9-7ceb-f24717b3b862@codata.eu> (raw)
In-Reply-To: <CAJnEWwmxf_VERpzPVYV=kZSAsad8K8pkoEQeftGbepc1S=Dy7Q@mail.gmail.com>
References: <872bffe7-82d0-86db-e3d6-2e20b1a72c4b@codata.eu>
	<CAJnEWwmxf_VERpzPVYV=kZSAsad8K8pkoEQeftGbepc1S=Dy7Q@mail.gmail.com>

Le 03/09/2019 à 17:02, Imre Samu a écrit :
>  > We have upgraded our database from 9.6 to 11
> 
> This is now the latest PG ?   PG11.5?

Yes, PostgreSQL 11.5, compiled by Visual C++ build 1914, 64-bit.


> - the osm2pgsql has an own parallelizations ...  ( osm2pgsql  
> --number-processes .. )
>     so be careful to add more parallelisation to the PG side with the 
> same osm2pgsql parameters !   ( check the memory usages! )
> - check the benchmarks and the tunnings: 
> https://wiki.openstreetmap.org/wiki/Osm2pgsql/benchmarks
> - you can ask help on the  : "osm dev mail list" (="dev OpenStreetMap 
> developer discusssion" https://lists.openstreetmap.org/listinfo/dev )


Yes, I know. It as been fine tuned over some time now to fit our 
server's capacity.
Disabling parallelisme has allowed the update to run in ~5000s, which is 
consistent with what we could witness before the upgrade.

I had started writing an issue on the osm2pgsql github before realizing 
it was probably a PG-only issue.


Cheers
--
Arnaud






view thread (10+ messages)  latest in thread

Message-ID: <ffde859b-95f5-5ac9-7ceb-f24717b3b862@codata.eu>
Permalink:  ../ffde859b-95f5-5ac9-7ceb-f24717b3b862@codata.eu/
Also on:    postgresql.org/message-id/ffde859b-95f5-5ac9-7ceb-f24717b3b862@codata.eu

 · 

reply

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: arnaud.listes@codata.eu, pella.samu@gmail.com
  Subject: Re: Slow statement using parallelism after 9.6>11 upgrade
  In-Reply-To: <ffde859b-95f5-5ac9-7ceb-f24717b3b862@codata.eu>
  References: <872bffe7-82d0-86db-e3d6-2e20b1a72c4b@codata.eu> <CAJnEWwmxf_VERpzPVYV=kZSAsad8K8pkoEQeftGbepc1S=Dy7Q@mail.gmail.com> <ffde859b-95f5-5ac9-7ceb-f24717b3b862@codata.eu>

* 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