Re: [GENERAL] data file corruption

2013-05-24 Thread PG User
Hi Tom, Thank you for your reply. I checked and found some weird behavior: We have 32K blocksize. The incorrect blocks started at block 41 and span over 115 blocks (41 to 155), at the exact block boundary of 32K. Then at 156th block, we have both tuples with correct number of attributes as well as

Re: [GENERAL] data file corruption

2013-05-23 Thread Tom Lane
PG User writes: > ... Later we found that invalid header is actually valid header for other > table's data file. So somehow data of one table got inserted into another > and both tables have different # of attributes. Can this be possible? Any > hardware issue can cause this? There are (at least)

[GENERAL] data file corruption

2013-05-22 Thread PG User
Hi All, We are facing one strange problem about data file corruptions. We have many postgres databases. At some point, one simple query on one database started crashing back-end. The query is select count(*), col1 from tab1 group by col1; After using pg_filedump (http://pgfoundry.org/projects