Disk settings compression causes the database to not be restored to the hard disk

Source: Internet
Author: User



when you select the destination folder for SQL database restore as D:\dbs, you are prompted System.data.sqlclient.sqlerror:XXXXX to ask that it is compressed but not residing in a read-only database or filegroup. This file must be decompressed.


Check found that D disk has been set compression. SQL Server databases are not supported on NTFS or FAT compressed volumes. Compressed volumes cannot guarantee the write of sector alignment, but such writes are required in some cases to ensure transaction recovery. In addition, it is recommended that you do not back up the SQL Server database as a disk file on a compressed volume.


Workaround:


Right-click on the D:\dbs, select Advanced in the properties, cancel the folder's compression properties.


This article is from the "mabin1773" blog, make sure to keep this source http://107270.blog.51cto.com/97270/1563073

Disk settings compression causes the database to not be restored to the hard disk

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.