Optimizing Database Snapshots

Source: Internet
Author: User
Tags sql server books

Basically, a database snapshot allows you to create a static, read-only copy of your database for other purposes, such as reporting, auditing, or recovering data.

How does it work?

A database snapshot creates a database shell for your existing database, and then whenever the data page is modified, the change is also written to the sparse file (sparse files). When people get the data, the part of the data that does not change is obtained from the original database, and the changed part is obtained from the sparse file.

In order to express this meaning clearly, please look at the picture below. As you can see from the picture below, 90% of the data is not modified, so when the query occurs, 90% of the data is obtained from the original database. The remaining 10% of the change data is obtained from sparse files.

Source:sql Server Books Online

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.