On Jan 5, 2012, at 4:31 , Daniel L. Miller wrote: > "lock table ; update bigtable set queries = queries + 1 where mxip = parameter ; unlock table" This update-query does not have a race-condition. The locks are not necessary :) Kind regards, Peter van Dijk