Bra*_*adC 7 replication sql-server-2008
我在 SQL 2008 上设置了事务复制,并且有问题的文章将“复制非聚集索引”设置为 TRUE。
如果我在发布者上添加一个非聚集索引(使用 CREATE INDEX),它会立即推送给订阅者吗?
还是我需要运行快照?
您必须自己将其推送给订阅者。“复制...”仅适用于快照。
来自 MSDN: 复制管理员的常见问题
How do I add or change indexes on publication and subscription databases?
Indexes can be added at the Publisher or Subscribers with no special considerations
for replication (be aware that indexes can affect performance). CREATE INDEX and ALTER
INDEX are not replicated, so if you add or change an index at, for example, the Publisher,
you must make the same addition or change at the Subscriber if you want it reflected there.
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
4493 次 |
最近记录: |