![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
2005-11-21 09:45:50 ERROR: could not open relation 1663/17253/43471: No such file or directory My checking showed that... within directory data/base/17253 there is indeed no file named 43471; but ones named 43470,43472,43473 ..... |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
no, it is definitely NOT a temp table. I know which table it is, because: that "could not open relation ..." error message was exactly provokable with "select * from repofeld", which is one of my tables in that database. |
#5
| ||||
| ||||
|
|
What is your file system, NTFS or FAT32? Is that table newly created? |
|
lost ... a possible theory of what's happened could be: 1) create the table; 2) a checkpoint happens; 3) lost power; [ restar the machine and database ] 4) file system recovery - unable to recovery your data file; 5) database recovery - don't play WAL and recreate your data file because of the checkpoint; |
| Rather not ... that table was there from the beginning and for some months. |

|
-- <br>GHUM Harald Massa<br>persuasion python postgresql<br>Harald Armin M= assa<br>Reinsburgstra=DFe 202b<br>70197 Stuttgart<br>0173/9409607 |
#6
| |||
| |||
|
|
Hello QuingQing, What is your file system, NTFS or FAT32? Is that table newly created? File System is NTFS. That table was created with database installation, which was short after after release of PostgreSQL 8.0 - so that database was in use for > 9 months. That table is a central table of the application, and is used very often ... the application was running for the whole 9 months ![]() |
#7
| |||
| |||
|
|
smelling transaction Id wraparound in pg_class or some other system catalog. This has been known to happen. Please see the archives. |

<br><br>Harald<br><br>--=
#8
| |||
| |||
|
|
Alvaro, How many database-wide vacuums did you run during these 9 months? I'm smelling transaction Id wraparound in pg_class or some other system catalog. "database wide" vacuums have been very very seldom; I fear the only one was at initial db bulk load. at the moment I am on a way to upgrade to 8.1, with autovacuum enabled ... so in the long run THAT possible reason should vanish. And I understand correctly that your suspicion is: file gets killed because of transaction id wraparound in system table? |
![]() |
| Thread Tools | |
| Display Modes | |
| |