Getting Started with SQL Server 2014 Administration by 2014

Getting Started with SQL Server 2014 Administration by 2014

Author:2014
Language: eng
Format: mobi
Publisher: Packt Publishing


This code returns the name and location of the DLLs currently loaded into memory as can be seen in the following screenshot:

The name of the DLL is prefixed with xtp and then a t or p depending on whether it is a stored procedure or table. In-Memory OLTP tables get compiled too and then derived from database_id and object_id.

Concurrency

Concurrency is the term used to describe how a database system such as SQL Server 2014 deals with multiple concurrent users. It is needed to ensure that when one person makes changes to the data, those changes do not adversely affect those of another user. This is sometime called concurrency control.

There are two types of concurrency control:

Pessimistic concurrency control: A system-implemented locking system prevents users from changing data that affects other users. When a user performs an action, it causes a lock to be applied. The other users cannot perform any action that would conflict with that lock until that lock is released.

Optimistic concurrency control: When reading data, users do not put locks on data. When a user makes changes to the data, the system checks if another user changed the data after it was read. If the data was changed, an error is raised.

SQL Server supports a range of concurrency control. Users specify the type of concurrency control by selecting transaction isolation levels for connections or concurrency options for cursors.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.