Locking in Sybase

What is Locking in Sybase? What are its types?

Questions by mamtasahu

Showing Answers 1 - 6 of 6 Answers

rahul.mra

  • Jul 2nd, 2008
 

Lock: controling access to page
In sybase, locking is done at page level (whereas in Oracle, it is at row level).
So, suppose if we have a lock (shared lock, write lock) on a page, than we can not access any rows in that page.

dhampack

  • Nov 23rd, 2008
 

Sybase does support locking at row level in version 12.5 onwards.

Sybase use locking in below modes
- Shared
- Exclusive
- Update

For APL(all page locking), sybase locks data as well index page
For DOL(data only locks) either row level or data page level, sybase use not transactional locking(latches)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions