Re: ONLINE 5.03 Locking Question
Posted in 1995
On Aug 10, 3:56pm, aiii@iac.net wrote: > Subject: ONLINE 5.03 Locking Question > Help !!! Please !!! > > I'm getting some wierd behavior from a custom application that uses transactions with ONLINE 5.03. When doing multiple updates within a long transaction I notice that several >>Tables<< are being locked. > > Now this shouldn't be. I've set our tables to Row-level locking (using ALTER TABLE). It doesn't matter whether or not I set ISOLATION to Dirty Read or Committed Read I still get the same error. Also, this is only a problem when >1 process is accessing the database. You don't actually say whether other programs are running into these locks. If they are and you haven't locked the table then you have a bug and you should call Informix. I suspect that they don't and you are seeing these locks when monitoring the engine. Read the section on locking in the Online Admin Guide which will explain how these "shared" locks are placed and you can quickly work out why. Note to Informix: I was disappointed to see that this section on Lock structures in Online appears to have disappeared from the 7.1 documentation. Cheers - Jim -- ----------------------------------------------------------------------------- Jim Gordon DHL Airways Inc. jgordon@us.dhl.com ----------------------------------------------------------------------------- My opinions are my own. They may vary with time but they remain mine!