Re: table move across databases - Mailing list pgsql-novice

From Duncan Sargeant
Subject Re: table move across databases
Date
Msg-id 20020725035741.GD22945@circe.rcpt.to
Whole thread Raw
In response to Re: table move across databases  (Andrew McMillan <andrew@catalyst.net.nz>)
List pgsql-novice
Andrew McMillan wrote on Tue July 23, at 20:49 +1200:
> What I do myself for a similar situation, is to:
>
> This gives me a separate table with the old records.  I can then use
> pg_dump ... -t archive_YYMMDD to dump that table out, and finally drop
> it.
>
> I do this before the table gets too much in it, so that vacuuming it out
> is less of an issue, although that will be much less problematic when I
> upgrade to 7.2 in the next month or so.
>
> I hope this gives you some ideas,

Thanks Andrew, it does.   Although it does frustrate me not being able
to keep the archived data online without copying all the data twice.  At
least I get a backup out of one of them.

,dunc

pgsql-novice by date:

Previous
From: Ron Johnson
Date:
Subject: Re: extract text and store in postgres
Next
From: denis@coralindia.com
Date:
Subject: Trigger question