Types of locking in sql server
Types of locking Locking is the way that SQL Server manages transaction concurrency for multi-user environment. A lock as an in-memory structure is 96 bytes in size. How to check locking or DMV for...
With MM Gehlot
Types of locking Locking is the way that SQL Server manages transaction concurrency for multi-user environment. A lock as an in-memory structure is 96 bytes in size. How to check locking or DMV for...
Blocking occurs when one or more sessions request a lock on a same resource, such as a row, page, or table. when one connection holds a lock and another second connection also requires a...
Lock escalation is the process of converting many fine-grained locks (such as row or page locks) into table locks. When many locks created on the same table’s row in Same session the Sql Server...
Lock Timeout event indicates that a request for a lock on a resource, such as a page, has timed out because another transaction is holding a blocking lock on the required resource. Time-out is...
1. Dirty Read: when uncommitted data reads. Let’s say tran-1 updates a row within transaction but it’s not committed and another tran-2 reads the updated row after that tran-1 rollback but tran-2 already...
Transactions are set of tasks for single execution, it have has only two way success or failure and If any of the tasks fail, then transaction will fail else success. Transaction has two action...
Atomicity: In Simple word say in side transaction’s all operation (insert, update, delete) is either successfully committed or rolled back, it is never allow to some transaction committed and rollback. Consistency: it is provide...
What is Window Functions In simple terms window or ranking functions execute on set of rows and return a single aggregated value for each row. Window functions using an OVER() clause but OVER() optional...
Recent Comments