Re: Failing Multi-Job Restores, Missing Indexes on Restore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cea Stapleton <cea@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux