Science Fair Project Encyclopedia
Index locking
Index locking
Index locking blocks all access by other tasks to the entire table in a database. With index locking you may want to lock the index build for a column, not just the data items themselves
The circumstances where it is necessary to index lock include:
- Adding a new level to the root page
- Shrinking the root page
- Splitting or shrinking the immediate child of the root page, causing an update on the root page
Circumstances where it is not necessary to Index lock include where:newline
- You have small tables with index levels no higher than 3.
- You envision possible modifications to the root page of an indexnewline
An example of doing an aggregate function (sum of salary field)
- update happens along the way
- result depends on the order of interleavingnewline
- best to lock the index as well as the record.
--84.203.147.30 18:11, 10 Feb 2005 (UTC)
10-26-2009 08:16:03
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details


