如果我有一个Sql server AlwaysOn可用性组,我可以对它进行事务性推送复制吗?
答案 0 :(得分:4)
是的,它可以。在alwayson和复制的限制下查看THIS。
答案 1 :(得分:0)
您无法使用管理工作室配置订阅者
-- 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.