Re: tbcheck -pe / Extents overlap
Posted in 1998
It looks like the sort that is being done is doing an alpha sort instead of a numeric sort on the Start position. I've seen in the past that Online 5.0 uses the system sort program. When I use to run 5.0 I once had a buggy GNU sort that gave similar symptoms. Try to see if you can capture that actual sort command being used and compare it to GNU sort. Possibly you may have to change the command line of supply an interface program? S.W. Detlef Liem wrote in message ... >I have a problem with Informix Online 5.00.UC2 on >a Linux RedHat 5.1 System using iBCS. > >When I first tried to use tbcheck -pe, the program >listed all TBLSpaces with more than 8 extents, but >finally terminated with an error message like >could not access /tmp/pid.EXTENTS. > >After examining /tmp, I realized, that tbcheck crated >files like pid.extent, with pid the actual PID of tbcheck. > >Therefore I patched the tbcheck binary (altering the string >"EXTENTS" to "extents"). > >Now tbcheck -pe reacts simmilar to the version on a Unixware >System. > >But now, I get strage ERROR messages, which say >"ERROR: Extents overlap", however I could not see any >overlapping extents (see end of mesage). There are >many errors (ca. 560) like this in the whole Database. > >Did my patch break tbcheck, is tbcheck buggy, or did >I do any other mistake ? > >Is there a way, to get rid of overlapping extexts, if >there are any ? > > >Detlef Liem > >----snip---- > Chunk: 3 /dev/informix/logdbs Size Used Free > 61440 61236 204 > > Disk usage for Chunk 3 Start Length > ------------------------------------------- --------- --------- > LOGICAL LOG Pages - Log 1 11236 1000 > LOGICAL LOG Pages - Log 2 12236 1000 > LOGICAL LOG Pages - Log 3 13236 1000 > LOGICAL LOG Pages - Log 4 1236 1000 >ERROR: Extents overlap > LOGICAL LOG Pages - Log 5 2236 1000 > LOGICAL LOG Pages - Log 6 3236 1000 > LOGICAL LOG Pages - Log 7 4236 1000 > LOGICAL LOG Pages - Log 8 5236 1000 >... > LOGICAL LOG Pages - Log 59 59236 1000 > LOGICAL LOG Pages - Log 60 60236 1000 >... > TBLSPACE TBLSPACE 3 1233 >---snip----