Re: [GENERAL] Backup Large Tables

2006-09-22 Thread Vivek Khera
On Sep 21, 2006, at 10:54 PM, Charles Ambrose wrote:I have a fairly large database tables (say an average of  3Million to 4Million records).  Using the pg_dump utility takes forever to dump the Sounds like your either woefully mis-configured or woefully underpowered or have a short definition of "f

Re: [GENERAL] Backup Large Tables

2006-09-21 Thread Casey Duncan
Are you dumping the whole database or just a single table? If it's the former, try the latter and see if you still get errors. If pg_dump is not working, maybe some system table is hosed. What errors are you getting? If you can get in via psql, log in as a superuser and execute: COPY mytab

Re: [GENERAL] Backup Large Tables

2006-09-21 Thread Charles Ambrose
Hi!I encounter errors in dumping the database using pg_dump. The database i think is corrupt. It was looking for triggers and stored procedures that are now longer in the database. This is also the reason why I opted to create a program to dump the database. On 9/22/06, Michael Nolan <[EMAIL PROTE

Re: [GENERAL] Backup Large Tables

2006-09-21 Thread Michael Nolan
I have a table with over 6 million rows in it that I do a dump on every night.  It takes less than 2 minutes to create a file that is around 650 MB.Are you maybe dumping this file in 'insert' mode?--Mike Nolan On 9/21/06, Charles Ambrose <[EMAIL PROTECTED]> wrote: Hi! I have a fairly large databas

[GENERAL] Backup Large Tables

2006-09-21 Thread Charles Ambrose
Hi! I have a fairly large database tables (say an average of  3Million to 4Million records).  Using the pg_dump utility takes forever to dump the database tables. As an alternative, I have created a program that gets all the data from the table and then put it into a text file. I was also unsucces