pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Cea Stapleton <cea@healthfinch.com>
Cc: pgsql-performance@postgresql.org
Cc: eli@healthfinch.com
Subject: Re: Failing Multi-Job Restores, Missing Indexes on Restore
Date: Thu, 29 Sep 2016 09:09:16 -0400
Message-ID: <5266.1475154556@sss.pgh.pa.us> (raw)
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>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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 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



view thread (4+ messages)

Message-ID: <5266.1475154556@sss.pgh.pa.us>
Permalink:  ../5266.1475154556@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5266.1475154556@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, cea@healthfinch.com, eli@healthfinch.com
  Subject: Re: Failing Multi-Job Restores, Missing Indexes on Restore
  In-Reply-To: <5266.1475154556@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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