Search Postgresql Archives

Upgrading postgresql-8.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a database that's about 600 GB.  I did a pg_dump (pg_dump --format plain --create --encoding UTF8 --oids --verbose --file "/var/tmp/145_backup.sql" "digi") and, after 442 GB, I got an error, "pg_dump: Error message from server: ERROR:  missing chunk number 0 for toast value 49209130 in pg_toast_17031".  This was using postgresql-8.4.3 on Ubuntu 10.04.  I upgraded our postgres to 8.4.16 using 'apt-get install postgresql-8.4'.

This went well and postgres restarted just fine.  However, now when I execute a pg_dump I get
a missing chunk 0 for pg_toast_2619 while querying pg_attribute.  I did a reindex on pg_toast_2619, then tried to VACUUM ANALYZE pg_attribute but again got the missing chunk 0 error.

Did I miss a step doing the upgrade or recovery attempt, or is the data corrupted?  I did the postgres upgrade and pg_dump on another server and it went very smooth so I'm flustered at how the problem seems to have gotten worse.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux