Hi all,
In sql-2005, there is an index option "Use Row Locks when accessing index" There is also a "Use Page Locks when accessing the index.
My question is twofold--First, *both* of these are checked by default, why is that? Second, what are the ramifications if either or both would be un-checked.
Specifically, I have a table with a fairly high trans-per-second rate. This is an insert-only transaction, the records are never updated but they are read in a Select with (nolock) statement, which uses the indexed field in the Where clause. I want to maximize the performance of the inserts while being able to read the data using this index.
Thanks for any insight into this,
--Jim
In sql-2005, there is an index option "Use Row Locks when accessing index" There is also a "Use Page Locks when accessing the index.
My question is twofold--First, *both* of these are checked by default, why is that? Second, what are the ramifications if either or both would be un-checked.
Specifically, I have a table with a fairly high trans-per-second rate. This is an insert-only transaction, the records are never updated but they are read in a Select with (nolock) statement, which uses the indexed field in the Where clause. I want to maximize the performance of the inserts while being able to read the data using this index.
Thanks for any insight into this,
--Jim