on 2012 Feb 13 12:47 PM
What is required so that a connection using isolation level 0 is blocking on another connection, which is also using isolation-level 0? The connection which is blocking is executing a simple select on the table.
As Volker states (correctly), at isolation level 0 connections will still block on other connections due to write or intent lock conflicts. At isolation level 0, SQL Anywhere connections do not acquire read locks on rows. Other types of row locks (INTENT, WRITE) are, however, still acquired and may cause blocking. Schema locks and table-level locks also still apply to isolation level zero connections.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
... but would that block a connection that is "executing a simple select on the table"?
if you don't want to lock rows, do a commit after the select. we have a PowerBuilder app with 50+ windows and 200+ datawindows. to avoid the locking problem, after each dw retrieve, that we won't update, we do a commit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.