我如何创建添加数据mdf文件 [英] how do i create addition data mdf file
问题描述
我的数据正在快速增长,现在我想在差异位置创建额外的MDF,以便在这个新的MDF文件中写入新数据。 / p>
请指导我如何做到这一点。
iffi
以下是有关如何使用SSMS或T-SQL将数据文件添加到数据库的文档:
将数据或日志文件添加到数据库
为了确保将新数据写入新文件,您必须创建其他文件组,将新文件添加到这些文件组,然后从中移动所需的表PRIMARY文件组到不同位置的一个或多个新文件组。
以下是一些解释如何执行此操作的文章:
将表移动到不同的文件组
在SQL Server数据库文件组之间移动数据
Hi,
I have data which is growing fast now i wan to create additional MDF in difference location so that new data should be written in this new MDF file.
pls guide how to i do that.
iffi
Here is documentation on how to add data files to a database using SSMS or T-SQL:
Add Data or Log Files to a DatabaseIn order to ensure new data is written to the new files, you will have to create additional File Groups, add the new files to those file groups, and then move desired tables from PRIMARY Filegroup to one or more of the new Filegroups in the different location.
Here are a couple of articles explaining how to do that:
Moving Tables to a Different File Group
Move data between SQL Server database Filegroups
这篇关于我如何创建添加数据mdf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!