devxlogo

Committed Read Isolation Level

Committed Read Isolation Level

Question:
I’ve written several dynamic queries in VB importing a recordset from an Informix DB. The isolation level shows “Committed Read.” Does this place locks on the DB?

Answer:
Committed Read isolation guarantees your application that it will never return a row that has not been committed to the database. The read does not actually place a lock on the fetched row. Rather, it first checks for the existence of an UPDATE lock for any pending updates on that row. If there’s no lock, the query returns the row. If there’s a lock, it is not returned. This is almost as efficient as the dirty read isolation, but if you’re having concurrency problems I’d move it down to DIRTY READ and see if that solves them.

See also  Monetize TikTok For Your Business
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist