>On Wed, Oct 2, 2019 at 8:41 AM Jason Ralph <jra...@affinitysolutions.com> 
>wrote:
> Since pg11 on both the target and source, the run time has decreased a lot, I 
> chalk it up to the parallel index creations in pg11 which was a very time 
> consuming >process on pg9.3.
> The process has finished almost 10 hours earlier than pg93.  So thank you for 
> your hard work and dedication to this awesome piece of software.

>How long did it take on 9.3?

>I am the author of the parallel CREATE INDEX feature. It's good to get 
>feedback like this.

>--
>Peter Geoghegan


Hello @Peter Geoghegan,
Thank you!
The end of month process that we run at my company was a pg_dump and pg_restore 
of 3 tables, these tables are around ~(400GB) each.  The entire process on pg93 
took 29 hours.

The index creation portion of the restore on the target pg9.3 database took:
5) time: -15 hours -4 minute ((-54264 % 60)) seconds

The index creation of the restore on the target db after pg11 upgrade on source 
and target took:
 5) time: -5 hours -7 minute ((-18434 % 60)) seconds

We saved 10 hours!!
Here is what we have on the target pg11 database., so 
max_parallel_workers_per_gather = 3 is what I think was what reduced the index 
creation time.

[13:20:04] [root@database ~] # cat /proc/cpuinfo | grep processor
processor: 0
processor: 1
processor: 2
processor: 3
processor: 4
processor: 5

max_worker_processes = 6                # (change requires restart)
max_parallel_workers_per_gather = 3     # taken from max_parallel_workers
max_parallel_workers = 6

Jason Ralph




-----Original Message-----
From: Peter Geoghegan <p...@bowt.ie>
Sent: Thursday, October 3, 2019 1:26 AM
To: Jason Ralph <jra...@affinitysolutions.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: PG11 Parallel Thanks!!

On Wed, Oct 2, 2019 at 8:41 AM Jason Ralph <jra...@affinitysolutions.com> wrote:
> Since pg11 on both the target and source, the run time has decreased a lot, I 
> chalk it up to the parallel index creations in pg11 which was a very time 
> consuming process on pg9.3.
> The process has finished almost 10 hours earlier than pg93.  So thank you for 
> your hard work and dedication to this awesome piece of software.

How long did it take on 9.3?

I am the author of the parallel CREATE INDEX feature. It's good to get feedback 
like this.

--
Peter Geoghegan
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. E-mail transmission cannot be guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender therefore 
does not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.

Reply via email to