2
如果我有一个Sql服务器AlwaysOn可用性组,我可以对它执行事务性推送复制吗?Sql服务器AlwaysOn组可以成为事务复制订户吗?
如果我有一个Sql服务器AlwaysOn可用性组,我可以对它执行事务性推送复制吗?Sql服务器AlwaysOn组可以成为事务复制订户吗?
是的,它可以。在alwayson和replication的限制下检查THIS。
使用Management Studio不能配置用户
-- commands to execute at the publisher, in the publisher database:
use [<publisher database name>]
EXEC sp_addsubscription @publication = N'<publication name>',
@subscriber = N'<availability group listener name>',
@destination_db = N'<subscriber database name>',
@subscription_type = N'Push',
@sync_type = N'automatic', @article = N'all', @update_mode = N'read only', @subscriber_type = 0;
GO
EXEC sp_addpushsubscription_agent @publication = N'<publication name>',
@subscriber = N'<availability group listener name>',
@subscriber_db = N'<subscriber database name>',
@job_login = null, @job_password = null, @subscriber_security_mode = 1;
GO
and push subscription better for alwayson with replication subscriber.
难道我正确读取它,复制不会自动转移到主sql服务器关闭时的辅助副本?另外,发布者/分发者可以是sql server 2008 r2吗? – MathiasR 2015-02-09 06:44:12
它将被自动转移到推送订阅b/c中,并将其发送给定义为链接服务器的监听器。 – grillazz 2015-02-09 09:00:19
发行者的sql server版本是否有任何限制? – MathiasR 2015-02-12 10:18:42