If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Page level locking vs. Row level locking

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-17-02, 15:27
Ane4ka Ane4ka is offline
Registered User
 
Join Date: Dec 2002
Posts: 12
Page level locking vs. Row level locking

What is the difference between page level locking and row level locking.?

Thanks in advance!!!
Reply With Quote
  #2 (permalink)  
Old 12-18-02, 04:13
Bernd Dulfer Bernd Dulfer is offline
Registered User
 
Join Date: Sep 2002
Location: Germany, near Aachen
Posts: 120
Re: Page level locking vs. Row level locking


What is the difference between page level locking and row level locking.?


With page level locking the whole page, and therefore all rows on that page, is locked when a data row on the page is accessed.
With row level locking only one row on the page is locked, the other rows are accessible.
Reply With Quote
  #3 (permalink)  
Old 12-18-02, 08:48
richardcrossley richardcrossley is offline
Registered User
 
Join Date: Sep 2002
Location: Dublin, Ireland & Woking UK
Posts: 150
Re: Page level locking vs. Row level locking

Quote:
Originally posted by Bernd Dulfer

What is the difference between page level locking and row level locking.?


Hi,

Just to add there is also more of an overhead with row level locking. The server *may* require the "Number of Locks" configuration parameter to be increased.

With Data Only and Row Level locking index pages are no longer locked when being updated.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On