Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: Backup/Rest...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 12 Topic 15485 of 16301
Post > Topic >>

Re: Backup/Restore of single table in multi TB database

by jd@[EMAIL PROTECTED] ("Joshua D. Drake") May 7, 2008 at 01:11 PM

--Sig_/Sgdqttng4r5.W2PyB=vEsGz
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Wed, 7 May 2008 13:02:57 -0700
"John Smith" <sodgodofall@[EMAIL PROTECTED]
> wrote:

> Hi,
>=20
> I have a large database (multiple TBs) where I'd like to be able to do
> a backup/restore of just a particular table (call it foo).  Because
> the database is large, the time for a full backup would be
> prohibitive.  Also, whatever backup mechanism we do use needs to keep
> the system online (i.e., users must still be allowed to update table
> foo while we're taking the backup).

> Does anyone see a problem with this approach (e.g., correctness,
> performance, etc.)?  Or is there perhaps an alternative approach using
> some other postgresql mechanism that I'm not aware of?

Why are you not just using pg_dump -t ? Are you saying the backup of
the single table pg_dump takes to long? Perhaps you could use slony
with table sets?

Joshua D. Drake



--=20
The PostgreSQL Company since 1997: http://www.commandprompt.com/=20
PostgreSQL Community Conference: http://www.postgresqlconference.org/
United States PostgreSQL Association: http://www.postgresql.us/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate



--Sig_/Sgdqttng4r5.W2PyB=vEsGz
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIIgzwATb/zqfZUUQRAqMJAKCocYx5pOA5osUql73ari2URXM0cACeOfJP
f7QnfE7qEkYTgExGbSIiDdA=
=+V0C
-----END PGP SIGNATURE-----

--Sig_/Sgdqttng4r5.W2PyB=vEsGz--
 




 12 Posts in Topic:
Backup/Restore of single table in multi TB database
sodgodofall@[EMAIL PROTEC  2008-05-07 13:02:57 
Re: Backup/Restore of single table in multi TB database
david.t.wilson@[EMAIL PRO  2008-05-07 16:09:45 
Re: Backup/Restore of single table in multi TB database
jd@[EMAIL PROTECTED] (&q  2008-05-07 13:11:25 
Re: Backup/Restore of single table in multi TB database
jd@[EMAIL PROTECTED] (&q  2008-05-07 13:16:35 
Re: Backup/Restore of single table in multi TB database
simon@[EMAIL PROTECTED]   2008-05-07 22:28:44 
Re: Backup/Restore of single table in multi TB database
tgl@[EMAIL PROTECTED] (T  2008-05-07 17:41:01 
Re: Backup/Restore of single table in multi TB database
sodgodofall@[EMAIL PROTEC  2008-05-07 15:24:22 
Re: Backup/Restore of single table in multi TB database
simon@[EMAIL PROTECTED]   2008-05-08 07:25:16 
Ubuntu question
theqmaster@[EMAIL PROTECT  2008-05-08 01:52:17 
Re: Ubuntu question
kleptog@[EMAIL PROTECTED]  2008-05-08 09:01:02 
Re: Ubuntu question
justin@[EMAIL PROTECTED]   2008-05-08 03:48:43 
Re: Backup/Restore of single table in multi TB database
simon@[EMAIL PROTECTED]   2008-07-19 10:02:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Aug 20 8:21:29 CDT 2008.