pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #13664: pg_restore fails with -j parameter when restoring 9.1 db onto 9.5 alpha db
3+ messages / 3 participants
[nested] [flat]

* BUG #13664: pg_restore fails with -j parameter when restoring 9.1 db onto 9.5 alpha db
@ 2015-10-06 18:56  slava@cloudflare.com
  0 siblings, 1 reply; 3+ messages in thread

From: slava@cloudflare.com @ 2015-10-06 18:56 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      13664
Logged by:          slava moudry
Email address:      slava@cloudflare.com
PostgreSQL version: 9.5alpha2
Operating system:   Linux ubuntu 3.8.0-33-generic #48~precise1-Ubuntu
Description:        

I am trying to restore 9.1 dump into new 9.5 database.
pg_restore seems to hang indefinitely (not doing anything) when I set number
of jobs: "-j 4".
works fine if skipping "-j" setting. On same machine, 9.1 restores fine on
same host.
pg_restore is done intoSQL_ASCII database.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #13664: pg_restore fails with -j parameter when restoring 9.1 db onto 9.5 alpha db
@ 2015-10-07 21:56  Tom Lane <tgl@sss.pgh.pa.us>
  parent: slava@cloudflare.com
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2015-10-07 21:56 UTC (permalink / raw)
  To: slava@cloudflare.com; +Cc: pgsql-bugs

slava@cloudflare.com writes:
> I am trying to restore 9.1 dump into new 9.5 database.
> pg_restore seems to hang indefinitely (not doing anything) when I set number
> of jobs: "-j 4".
> works fine if skipping "-j" setting. On same machine, 9.1 restores fine on
> same host.

Impossible to do anything with this report with that much detail.
Can you look into pg_stat_activity to see what the pg_restore jobs
are doing when activity ceases?  Can you show us the declarations
of the tables or other objects they're working on?

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #13664: pg_restore fails with -j parameter when restoring 9.1 db onto 9.5 alpha db
@ 2015-10-07 22:37  Slava Moudry <slava@cloudflare.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Slava Moudry @ 2015-10-07 22:37 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-bugs

can't reproduce.. was able to restore with "-j 4" from 9.1
probably weird connection issue that caused pg_dump to stuck. I was using
samsung usb3 ssd, so could be hardware related.
thank you.
-slava.


On Wed, Oct 7, 2015 at 2:56 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> slava@cloudflare.com writes:
> > I am trying to restore 9.1 dump into new 9.5 database.
> > pg_restore seems to hang indefinitely (not doing anything) when I set
> number
> > of jobs: "-j 4".
> > works fine if skipping "-j" setting. On same machine, 9.1 restores fine
> on
> > same host.
>
> Impossible to do anything with this report with that much detail.
> Can you look into pg_stat_activity to see what the pg_restore jobs
> are doing when activity ceases?  Can you show us the declarations
> of the tables or other objects they're working on?
>
>                         regards, tom lane
>



-- 
-Slava

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2015-10-07 22:37 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-10-06 18:56 BUG #13664: pg_restore fails with -j parameter when restoring 9.1 db onto 9.5 alpha db slava@cloudflare.com
2015-10-07 21:56 ` Tom Lane <tgl@sss.pgh.pa.us>
2015-10-07 22:37   ` Slava Moudry <slava@cloudflare.com>

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