Re: Using pg_upgrade on log-shipping standby servers

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Using pg_upgrade on log-shipping standby servers
Дата
Msg-id 20120720162535.GA22450@momjian.us
обсуждение исходный текст
Ответ на Re: Using pg_upgrade on log-shipping standby servers  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Using pg_upgrade on log-shipping standby servers  (Aidan Van Dyk <aidan@highrise.ca>)
Список pgsql-hackers
On Tue, Jul 17, 2012 at 06:02:40PM -0400, Bruce Momjian wrote:
> Second, the user files (large) are certainly identical, it is only the
> system tables (small) that _might_ be different, so rsync'ing just those
> would add the guarantee, but I know of no easy way to rsync just the
> system tables.

OK, new idea.  I said above I didn't know how to copy just the non-user
table files (which are not modified by pg_upgrade), but actually, if you
use link mode, the user files are the only files with a hard link count
of 2.  I could create a script that copied from the master to the slave
only those files with a link count of one.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Event Triggers reduced, v1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgbench -i order of vacuum