Re: Sync production DB with development?

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: Sync production DB with development?
Дата
Msg-id 01183b23a41fff5baa912f7568ff0249@biglumber.com
обсуждение исходный текст
Ответ на Sync production DB with development?  (Israel Brewster <israel@ravnalaska.net>)
Список pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> so I could easily be over a minute of sync time in another two years.
> I would really rather not have to wait several minutes every time I
> want to update my development data.

A minute is really not that long of a wait, especially given the tradeoff
in complexity. Still, if the majority of the time is spent moving old
data from one or more tables, you could exclude those from the pg_dump
with -T, then copy over some small subset of the table with a pair of
COPY commands from prod to dev.

- --
Greg Sabino Mullane greg@turnstep.com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201410081635
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAlQ1oBIACgkQvJuQZxSWSsjSxgCgjhcAvjgoBgpYA2FEKiKovSos
l/QAn1tdZk69ku8Z1LArrFzESopr1/OB
=l59M
-----END PGP SIGNATURE-----



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

Предыдущее
От: Israel Brewster
Дата:
Сообщение: Re: Sync production DB with development?
Следующее
От: Emanuel Calvo
Дата:
Сообщение: Re: Sync production DB with development?