I have a database which is 160GB in size, and has about 500,000 tables. I ran a pg_dump yesterday using:
pg_dump -U mps db_name -f db_name.sql
The process seems to be running for more than 24 hours now, and i dont know how much time it will take to complete. There are no errors, and the dump is running smoothly. Is there a way to approximate the time of dump? What would be the size of the resulting dump file?
Also, if dump took so much time, how much time would pg_restore take?
Edits:
pg_dump --version
pg_dump (PostgreSQL) 8.4.20
select version()
8.4.20 PostgreSQL 8.4.20 on x86_64-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.4.7 2 0120313 (Red Hat 4.4.7-4), 64-bit
Also, i noticed that the resulting backup file does not show any disk space