sql server - Database Difference on publisher and subscriber -
i have sql server transactional replication running. server (publisher & distributor) server b (subscriber). working great. need know whether can add table subscriber in database? affect replication? must databases exact same in terms of schema etc?
i need add table that's not part of publishers published articles on server b(subscriber).
i need know whether can add table subscriber in database?
yes, can. won't affect replication, but, example, if create table dbo.a on subscriber database first , later you'll create table same name , schema on publisher database can lost data in table dbo.a on subscriber because default new articles on subscriber drop if exists within initialize process.
you can change behavior in publication properties.
must databases exact same in terms of schema etc?
no, must not. in transaction replication can replicate either whole tables or columns of tables.
Comments
Post a Comment