Characteristics of SQL Server things

Source: Internet
Author: User

ACID

    1. Atomicity (atomicity), atomicity means that transactions in a database are executed as atoms. That is, the entire statement is either executed or not executed.
    2. Consistency (consistency), consistency, that is, the integrity constraints of the database are not compromised until the transaction begins and after the transaction has ended.
    3. Isolation (isolation), the execution of a transaction is non-disruptive, and a transaction cannot see the data in the middle of a time when other transactions are running.

The easy question is: dirty reads (one thing reads uncommitted data from another thing)

Non-repeatable read (two identical queries within a range of objects return different data)

Phantom Read (a phenomenon that occurs when a transaction is not executed independently, such as when the first transaction modifies data in a table that involves all rows of data in the table.) At the same time, the second transaction modifies the data in the table by inserting a new row of data into the table.    Then the user who will be working on the first transaction in the future finds that there are no modified rows of data in the table, as if the illusion had occurred. )

4. Persistence (durability) means that after the transaction is completed, the changes made to the database by the firm are persisted in the database and are not rolled back.

Characteristics of SQL Server things

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.