Re: Failing Multi-Job Restores, Missing Indexes on Restore - Mailing list pgsql-performance

From Tom Lane
Subject Re: Failing Multi-Job Restores, Missing Indexes on Restore
Date
Msg-id 5266.1475154556@sss.pgh.pa.us
Whole thread Raw
In response to Re: Failing Multi-Job Restores, Missing Indexes on Restore  (Cea Stapleton <cea@healthfinch.com>)
List pgsql-performance
Cea Stapleton <cea@healthfinch.com> writes:
> We’re using pg_restore (PostgreSQL) 9.5.4 for the restores. We’ve used variations on the job number:
> /usr/bin/pg_restore -j 6 -Fc -O -c -d DBNAME RESTORE_FILE”

OK ... do you actually need the -c, and if so why?

> We’ll take a look at the memory overcommit - would that also explain the index issues we were seeing before we were
seeingthe crashes? 

Unlikely.  I'm guessing that there's some sort of race condition involved
in parallel restore with -c, but it's not very clear what.

            regards, tom lane


pgsql-performance by date:

Previous
From: Cea Stapleton
Date:
Subject: Re: Failing Multi-Job Restores, Missing Indexes on Restore
Next
From: Jeff Janes
Date:
Subject: Re: Multiple-Table-Spanning Joins with ORs in WHERE Clause