Skip site navigation (1) Skip section navigation (2)

Copying data from a table to another database

From: Pedro Doria Meunier <pdoria(at)netmadeira(dot)com>
To: Postgresql Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Copying data from a table to another database
Date: 2008-05-25 11:24:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
Hi all,

This is perhaps a very 'newbie' question but for the life of me, I can't
see a way to do it without resorting to programming... (blush)

The thing is:
I have a table that acts as a historic for some devices activity.
Now I've migrated the entire 'shebang' to another server and need to
update the history table on the new server with data from the old server
for every different record.
As the table on the new server grows exponentially (already nearing 1M
records) I need to do this asap unless I want the entire thing to take
forever... (sweat)

Could someone please lend me a hand here?

Already thankful for any insight,

Pedro Doria Meunier <pdoria(at)netmadeira(dot)com>


pgsql-general by date

Next:From: MarcDate: 2008-05-25 13:19:52
Subject: Performance Problem - pgsql on MD3000 DAS
Previous:From: Thomas KellererDate: 2008-05-25 07:58:31
Subject: Re: best er modeling tool for postgreSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group