Re: Sync production DB with development? - Mailing list pgsql-general

From Greg Sabino Mullane
Subject Re: Sync production DB with development?
Date
Msg-id 01183b23a41fff5baa912f7568ff0249@biglumber.com
Whole thread Raw
In response to Sync production DB with development?  (Israel Brewster <israel@ravnalaska.net>)
List 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 by date:

Previous
From: Israel Brewster
Date:
Subject: Re: Sync production DB with development?
Next
From: Emanuel Calvo
Date:
Subject: Re: Sync production DB with development?