Re: Backup/Restore of single table in multi TB database
От
Joshua D. Drake
Тема
Re: Backup/Restore of single table in multi TB database
Дата
Msg-id
20080507131125.1dadb799@jd-laptop
Ответ на
Backup/Restore of single table in multi TB database (John Smith)
Список
Дерево обсуждения
Backup/Restore of single table in multi TB database "John Smith" <sodgodofall@gmail.com>
Re: Backup/Restore of single table in multi TB database Simon Riggs <simon@2ndquadrant.com>
Re: Backup/Restore of single table in multi TB database Francisco Reyes <lists@stringsutils.com>
Re: Backup/Restore of single table in multi TB database Simon Riggs <simon@2ndquadrant.com>
Re: Backup/Restore of single table in multi TB database Tom Lane <tgl@sss.pgh.pa.us>
Re: Backup/Restore of single table in multi TB database "John Smith" <sodgodofall@gmail.com>
Re: Backup/Restore of single table in multi TB database Simon Riggs <simon@2ndquadrant.com>
Ubuntu question Q Master <theqmaster@gmail.com>
Re: Ubuntu question Martijn van Oosterhout <kleptog@svana.org>
Re: Ubuntu question Justin <justin@emproshunts.com>
Re: Backup/Restore of single table in multi TB database "Joshua D. Drake" <jd@commandprompt.com>
Re: Backup/Restore of single table in multi TB database "David Wilson" <david.t.wilson@gmail.com>
Re: Backup/Restore of single table in multi TB database "Joshua D. Drake" <jd@commandprompt.com>
On Wed, 7 May 2008 13:02:57 -0700 "John Smith" wrote: > Hi, > > 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 -- The PostgreSQL Company since 1997: http://www.commandprompt.com/ 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
В списке pgsql-general по дате отправления
От: Joshua D. Drake
Дата: