pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-performance@lists.postgresql.org
Subject: Re: Considerable performance downgrade of v11 and 12 on Windows
Date: Fri, 29 Nov 2019 11:36:56 +0100
Message-ID: <1d19c0ec-a551-67ee-5f15-ff72bf7e7b40@gmx.net> (raw)
In-Reply-To: <CAEPw1JWqO+Fi5J+bKek+OTh81fyMZV=d5L22Dg9KNxBh7tH_UA@mail.gmail.com>
References: <CAEPw1JWqO+Fi5J+bKek+OTh81fyMZV=d5L22Dg9KNxBh7tH_UA@mail.gmail.com>

Eugene Podshivalov schrieb am 29.11.2019 um 11:04:
> Imported ways data from a file and added a primary key.
> 
> SET synchronous_commit TO OFF;
> COPY ways FROM 'E:\ways.txt';

> ...
> COPY ways FROM PROGRAM 'cmd /c "type E:\ways.txt"';

Those two commands are not doing the same thing - the piping through the TYPE command is most probably eating all the performance







view thread (8+ messages)  latest in thread

Message-ID: <1d19c0ec-a551-67ee-5f15-ff72bf7e7b40@gmx.net>
Permalink:  ../1d19c0ec-a551-67ee-5f15-ff72bf7e7b40@gmx.net/
Also on:    postgresql.org/message-id/1d19c0ec-a551-67ee-5f15-ff72bf7e7b40@gmx.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: spam_eater@gmx.net, pgsql-performance@lists.postgresql.org
  Subject: Re: Considerable performance downgrade of v11 and 12 on Windows
  In-Reply-To: <1d19c0ec-a551-67ee-5f15-ff72bf7e7b40@gmx.net>

* 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