Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Locking Strategies Vs Other DBMS's strategies

Status
Not open for further replies.

workit

IS-IT--Management
Joined
Feb 3, 2004
Messages
1
Location
GB
Hi,

My name is David and I am currently on my second year of a HND in Business Information Technology. I am doing a project on managing a multi-user Database management system. I have built a database using SQL, created views and demonstrated how concurrent transactions create a lockup.

Now I need to devise a locking strategy to overcome the problems and compare the locking strategy used by SQL Server 7 to other DBMS products. Do you have experience in other DBMS's and its comparison to SQL, or even an idea of how SQL's locking strategy works.

Thanks A lot, David
 
David,
As far as SQL goes it dynamically handles locking. There are several types.

Shared , update ,exclusive,schema, intent

Resourse locks:

RID (locks single row in table)
Key (row lock in an index)
Page (8kb data page or index)
Extent (8 page)
Table (entire table)
DB (database)

Look in Books Online, which is installed with SQL for more detailed info. Ashley L Rickards
SQL DBA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top