I just disabled the version column on one of my domain objects. It’s accessed by many threads and was causing lots of stale state errors. The method which uses this object the most seems to be going slower all of a sudden. I haven’t done any tests to verify this, but I just wanted to throw it out there and see if performance can be affected by disabling the version column.
Share
It’s unlikely that disabling it would affect performance; if anything, it should make things very slightly faster (but not enough that it should ever be a reason to do nor not make this change).
But disabling the feature because of stale state errors is probably not the right way to go. Concurrent updates will result in lost data if you don’t use explicit locking (which can be very non-performant), so you’re just trading an apparent fix for less obvious but more serious bugs.