Meta Data Services Programming

Replicating Repository Databases

Microsoft® SQL Server™ 2000 repository databases can take advantage of the replication features provided by SQL Server to publish a repository to other subscriber repositories.

You can use either transactional or snapshot replication to replicate a repository database. If you implement transactional replication, you can choose whether to support synchronization. Synchronization automatically updates your subscriber databases so that they contain the same content as the publisher. For more information, see Replication Overview.

Replication Requirements for Repository Databases

For repository databases, additional steps beyond those required by SQL Server should be followed to ensure successful replication.

Publishing a Repository Database
Defining Subscriber Databases

After you create a publication, you can create one or more push subscriptions that propagate repository data from the publisher.

Avoid updating subscriber objects from any nonpublisher source. Only the publisher should be allowed to update subscriber objects.

Repository subscriber databases must be read-only. Furthermore, each subscriber can receive content from only one publisher. Repository databases use internal identifiers to store and manipulate meta data. While internal identifiers are unique within a specific repository, they may not be unique across multiple repositories. To avoid duplicate internal identifiers, you must require that each subscriber is read-only and receives all of its updates from a single publisher. To do this, specify that a publication for the publisher database has all of the repository tables as articles, then add read-only repository databases as subscribers.

See Also

Connecting to a SQL Server Repository Database

Repository Databases

Repository Identifiers

Storage Strategy in a Repository Database