Re: Faster way of upgrading postgresql to 10 from 9.5 - Mailing list pgsql-admin

From Debraj Manna
Subject Re: Faster way of upgrading postgresql to 10 from 9.5
Date
Msg-id CAF6DVKPFky-+MpBQH8h-FM7--fyhk6unL56FbuKezobaoAijLw@mail.gmail.com
Whole thread Raw
In response to Re: Faster way of upgrading postgresql to 10 from 9.5  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Faster way of upgrading postgresql to 10 from 9.5
List pgsql-admin
What profiling will help in this case? Sent from GMail on Android On Nov 25, 2017 8:49 PM, "Tom Lane" wrote: > Debraj Manna writes: > > Is this time expected? I mean 17 minutes for 490 GB. I could not find any > > benchmark for pg_upgrade. > > It seems awfully slow, if you're using -k. That switch should remove any > dependency on the data size, but what remains is the number of SQL objects > (databases, tables, functions, etc). If you've got tens or hundreds of > thousands of those, maybe this would be a reasonable time. > > As Alvaro said, it's possible that you're hitting some fixable bottleneck; > but to identify what that is we'd need some profiling information. > > regards, tom lane >

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Faster way of upgrading postgresql to 10 from 9.5
Next
From: Tom Lane
Date:
Subject: Re: Faster way of upgrading postgresql to 10 from 9.5