From: Vincent Veyron <vv.lists@wanadoo.fr>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Speed differences between two servers
Date: Tue, 9 May 2017 14:02:42 +0200
Message-ID: <20170509140242.b7d0fbe8f426aa5ea1f3fd8b@wanadoo.fr> (raw)
In-Reply-To: <CAOR=d=3dA7kzeptLJw_dTaAyV4OKKNoVujUcnSOkZLby21eD6g@mail.gmail.com>
References: <20170508194922.b049d1b73c8b681e982cadd9@wanadoo.fr>
<CAOR=d=2pkqevObyW8ZGFjeAF0WoLEmAEYmehwZSZK5f2qxZMSQ@mail.gmail.com>
<20170509002441.994488df4bd1a216ec15f8e3@wanadoo.fr>
<CAOR=d=3h25QxOe9uz_RooJeux4Ok29c-ndF2GnC6_9uZ5qDGGw@mail.gmail.com>
<CAOR=d=3dA7kzeptLJw_dTaAyV4OKKNoVujUcnSOkZLby21eD6g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
On Mon, 8 May 2017 17:35:38 -0600
Scott Marlowe <scott.marlowe@gmail.com> wrote:
> Without seeing what your test sql file does I have no idea what the
> big difference in the other direction.
It truncates 59 tables, copies data back from a set of text files, inserts a few single records and does a few select setval('') to reset the serial columns.
here it is :
https://pastebin.com/LVsvFzkj>You'll have to pull out and run
> the individual queries, or turn on auto explain or something to see
> the plans and compare.
I used log_duration; it shows that the truncate and all the \copy are much slower, while all insert/select statements are twice as fast
>A lot of time it's just some simple tuning in
> postgresql.conf or maybe a database got an alter database on it to
> change something?
Server setups are identical : same software, same configurations, same databases.
I've put in a ticket at the Online provider with the data to see if they have an answer (now 14H00 in Paris, so they may take a while to respond)
--
Bien à vous, Vincent Veyron
https://compta.libremen.com
Logiciel libre de comptabilité générale en partie double
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: vv.lists@wanadoo.fr, scott.marlowe@gmail.com
Subject: Re: Speed differences between two servers
In-Reply-To: <20170509140242.b7d0fbe8f426aa5ea1f3fd8b@wanadoo.fr>
* 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