将所有共享文件系统 DAS dbfile 从源服务器重新指派到目标服务器。
sp_iqreassignsharedfiles , , dbspace-name> 想要重新指派的共享文件系统 DAS dbfile 所属的 DAS dbspace 的名称。
dbspace <dbspace-name> 中的所有共享文件系统 DAS dbfile 进行移动。
您必须具有系统过程的 EXECUTE 特权。
您还必须具有以下其中一种系统特权:
DBSPACE
BACKUP DATABASE
ALTER DATABASE
该过程将运行检查,其中包括:
dbspace-name> 是否存在于数据库中且是否为 DAS dbspace。
Multiplex 中且是否为 DAS dbspace <dbspace-name> 的一部分。
Multiplex 中且与 如果在包含 <dbspace-name> 的不提供共享逻辑服务器中不存在
如果过程执行已中断,则根据发生中断的点:
dbspace-name> 的逻辑服务器
在这种情况下,只需重新运行 sp_iqreassignsharedfiles 完成重新指派其余共享文件系统 dbfile。
sp_iqreassignsharedfiles das1, mpx4, mpx3