Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpb7B-0004yx-GN for pgsql-performance@arkaria.postgresql.org; Thu, 29 Sep 2016 13:11:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bpb7A-0006Tj-RJ for pgsql-performance@arkaria.postgresql.org; Thu, 29 Sep 2016 13:11:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bpb5U-0002eO-Ic for pgsql-performance@postgresql.org; Thu, 29 Sep 2016 13:09:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bpb5S-00030f-9p for pgsql-performance@postgresql.org; Thu, 29 Sep 2016 13:09:19 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u8TD9GN2005267; Thu, 29 Sep 2016 09:09:16 -0400 From: Tom Lane To: Cea Stapleton cc: pgsql-performance@postgresql.org, eli@healthfinch.com Subject: Re: Failing Multi-Job Restores, Missing Indexes on Restore In-reply-to: <8FBA7790-5E54-4046-B466-C030E4369580@healthfinch.com> References: <70774A06-3FD9-42D2-BCCB-0CCC8E8D777F@healthfinch.com> <4402.1475153551@sss.pgh.pa.us> <8FBA7790-5E54-4046-B466-C030E4369580@healthfinch.com> Comments: In-reply-to Cea Stapleton message dated "Thu, 29 Sep 2016 07:56:43 -0500" Date: Thu, 29 Sep 2016 09:09:16 -0400 Message-ID: <5266.1475154556@sss.pgh.pa.us> X-Pg-Spam-Score: -4.9 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Cea Stapleton 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 seeing the 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 -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance