Re: Got error 243 : Could not position within a table
Posted in 1998
Could the process be in deadlock? I can't remember the error code for =
deadlock off hand but a potential deadlock situation will cause Online to =
error immediately. It knows it doesn't have to wait 100 seconds, the =
deadlock will still be there at the end of the wait period so it exits =
immediately.
I would advise running explain over the sql, if sequential scans are =
happening then add some navigation indexes. This usually deals with most =
of these problems unless there is some really bad table design involved.
rgds
> Hi,
>=3D20
> when several processes are trying to update the same row in the =
sam=3D
e
> table, i got the error 243.
>=3D20
> It's very strange, because this error seems related to an hardware =
=3D
error
> (see finderr). But the table seems Ok because the oncheck utility =
d=3D
idn't
> detect a problem.
> Also the program is designed like this:
> - set lock mode to wait 100
> - select for update
> - update row,
> BUT the process got the error immediately. It didn't wait 100 =
secon=3D
ds.
>=3D20
> My questions are:
> - why the process didn't wait ?
> - what can cause the error 243.
>=3D20
> My configuration is : Informix 7.20 on AIX 4.1.5.
>=3D20
> Thanks for any responses.
Peter Tashkoff <tashkop@iname.com>
Zespri International Limited Std Disclaimers Apply
All rights reserved. No party may use this document to vilify another.
Zespri New Zealand Kiwifruit, The World's Finest