1

Sitecore 9.2

Once we installed Sitecore 9.x we can find reference database (sitecoreInsatnceName_ReferenceData) and share databases (sitecoreInsatnceName__Xdb.Collection.Shared0,sitecoreInsatnceName__Xdb.Collection.ShardMapManager) into SQL server.

Please illuminate purpose of these databases.

1

3 Answers 3

2

Reference Data is common data referenced by data used across the Sitecore Experience Platform, for example while collecting, processing, or reporting. Examples are marketing taxonomies such as Campaigns, Goals, and Outcomes, as well as IP Geolocation or device information.

The Reference Data service and xDB Reference Data database is used to secure the integrity of data in the Sitecore Experience Database. It is a central store for data referenced throughout the Experience Platform processes, such as tracking, aggregation, and reporting. enter image description here

More information you can find here: https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/collecting-experience-data.html

2

From Sitecore 9, Sitecore replaced xDB implementation with xConnect. xConnect uses all above databases. please read more about xConnect here https://doc.sitecore.com/developers/90/sitecore-experience-platform/en/xconnect-218634.html

Reference data database is used to store marketing reference data which includes all definitions and taxonomies. please read documentation here https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/xdb-reference-data-database.html

Sitecore Shard databases are used to store contacts, interactions and device profiles. Shard map manager database is to manage the multiple shard databases. Sitecore is using Microsoft Azure Elastic Database tools for the same. please read more about it here: https://docs.microsoft.com/en-us/azure/sql-database/sql-database-elastic-scale-get-started

2

xDB Reference Data database

Reference Data is common data referenced by data used across the Sitecore Experience Platform, for example while collecting, processing, or reporting. Examples are marketing taxonomies such as Campaigns, Goals, and Outcomes, as well as IP Geolocation or device information.

The Reference Data service and xDB Reference Data database is used to secure the integrity of data in the Sitecore Experience Database. It is a central store for data referenced throughout the Experience Platform processes, such as tracking, aggregation, and reporting.

Through the Sitecore management interface – for example through the Marketing Control Panel or the Campaign Management application - it is possible to create and update marketing metadata which can be associated with websites, pages, or actions on the web pages. This marketing metadata – for example, Goal or Campaign definitions, Marketing automation plan definitions, or taxonomies – are stored in the Master database. However, when the marketing metadata is ready for use, it needs to be deployed.

During the deployment, the Content Management role deploys the metadata to the Reference Data service, which in turn stores the data in the xDB Reference Data database. Storing the marketing metadata in the xDB Reference Data database means that the integrity of the data in the xDB is secured and that the deployed data can now be used by, for example, the aggregation process, marketing automation service, or in reporting.

The xDB Reference Data database contains marketing reference content for all xDB data, such as definitions and taxonomies.

enter image description here

The xDB Reference Data database is referenced by the following roles:

  • xDB Processing

  • Reference Data service

  • Marketing Automation Engine

  • Marketing Automation Operations service

Assumptions: Contact data is not saved in the xDB Reference Data database.

Default collation: Comparisons within the xDB Reference Data Database are case sensitive. Therefore, unlike other databases, the default collation of the xDB Reference Data database is set to Latin1_General_CS_AS.

Note: Changing the default collation may result in definition key comparisons producing incorrect results. It is strongly recommended that you do not change the default collation.

xDB Collection database

The xDB Collection database(sitecoreInsatnceName__Xdb.Collection.Shared0,sitecoreInsatnceName__Xdb.Collection.ShardMapManager) is likely to experience high read/write activity, and supports sharding. Experience data is sharded in the following way:

  • Contact and interaction data is sharded by contact ID.

  • The identifiers index is sharded by identifier.

  • Device profiles are sharded by device profile ID.

xConnect uses a change tracking functionality which requires a SQL User so it can access multiple databases. For this reason, contained database authentication cannot be used on the xDB Collection databases (shards and shard manager).

Reference: Why Xdb.Collection.Shard0, Xdb.Collection.Shard1 and Xdb.Collection.ShardMapManager databases in Sitecore 9 are not Partially Contained?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.