SQL Server filegroup resolves large data volume data storage

Source: Internet
Author: User
Tags filegroup

How to use filegroups to solve the poor reading and writing performance of large data volumes, the following steps:

In Enterprise Manager, right-click your database, select Properties, select Data file, add one, fill in the file, fill in the location, file group, such as ABC---OK.

Then you can right-click on the table in your database, design the table, then right-click Properties, and then change the table filegroup and text file group to ABC, the original table from the original large MDF file into your new file.

Add the file, the same way, the purpose is to split the main file (MDF) into multiple files, the advantage of using the file group is not to change the database data, can be the existing MDF file split into multiple


Finally, be sure to use DBCC SHRINKDATABASE (yourdatabase) to shrink your database, or you won't see the actual size of your original MDF file after it was split.


Conclusion: Using filegroups can improve the I/O performance of the database.

SQL Server filegroup resolves large data volume data storage

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.