From: | hubert depesz lubaczewski <depesz(at)depesz(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Problem with pg_upgrade 8.3 to 9.1.4 - clog missing?! |
Date: | 2012-06-07 19:16:49 |
Message-ID: | 20120607191649.GA18493@depesz.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
hi
I just upgraded test copy of database of our customer (~ 600GB of data).
upgrade went fine, no errors. but vacuumdb -azv ended with an error:
=> vacuumdb --all --analyze -p 6665
vacuumdb: vacuuming database "client_db"
vacuumdb: vacuuming database "pg_audit"
vacuumdb: vacuuming database "postgres"
vacuumdb: vacuuming of database "postgres" failed: ERROR: could not access status of transaction 860626316
DETAIL: Could not open file "pg_clog/0334": No such file or directory.
I know we had these kind of errors before, but I thought they all got fixed.
What can I do to debug it more?
8.3 was 8.3.16.
8.3.16 is from rpms, 9.1.4 is from source compilation.
both have integer datatimes, and both are for 64bit linux.
pg_clog contains:
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04A4
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04A5
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04A6
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04A7
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04A8
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04A9
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04AA
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04AB
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04AC
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04AD
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04AE
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04AF
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04B0
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04B1
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04B2
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04B3
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04B4
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04B5
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04B6
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04B7
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04B8
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04B9
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04BA
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04BB
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04BC
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04BD
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04BE
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04BF
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04C0
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04C1
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04C2
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04C3
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04C4
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04C5
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04C6
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04C7
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04C8
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04C9
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04CA
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04CB
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04CC
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04CD
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04CE
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04CF
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04D0
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04D1
-rw------- 1 postgres postgres 262144 Jun 6 21:22 04D2
-rw------- 1 postgres postgres 196608 Jun 7 00:15 04D3
unfortunately i do not have the 8.3 data dir any more.
if the problem is only with postgres database - i can ignore it. but I'd rather
be sure what is the source of the issue.
Best regards,
depesz
--
The best thing about modern society is how easy it is to avoid contact with it.
http://depesz.com/
From | Date | Subject | |
---|---|---|---|
Next Message | François Beausoleil | 2012-06-07 19:35:35 | Re: Counting # of consecutive rows with specified value(s)? |
Previous Message | Greg Smith | 2012-06-07 18:40:17 | Re: Partitioning Advice |