[英]Restore DB from single mdf to multiple mdf DB
I have a Database that has 800GB single mdf file and I want to restore the Database to that has multiple mdfs. 我有一个具有800GB单个mdf文件的数据库,我想将该数据库恢复到具有多个mdfs的数据库。
How can i restore single mdf file database to multiple mdf file database? 如何将单个mdf文件数据库还原到多个mdf文件数据库?
You can't via the RESTORE command. 您无法通过RESTORE命令。
You need to restore, then create extra filegroups and files, then rebuild the clustered indexes changing the target filegroup. 您需要还原,然后创建额外的文件组和文件,然后重建群集索引以更改目标文件组。 Each filegroup has one (or more, but I would not have more then 1) ndf files which then achieves what you want. 每个文件组都有一个(或多个,但我不会超过1个)ndf文件,然后可以实现所需的功能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.