1. The xDB search index

The reporting database reference

Version:

The reporting database contains aggregated data from the xDB collection database. This statistical data, generated by the aggregation pipeline and used by Sitecore reporting applications, is stored in fact and dimension tables organized in a star schema. In a star schema, the fact table is located at the center of the schema with the dimension tables surrounding it. This guide describes the default tables in the reporting database.

Note

There are several tables that aren't mentioned in this topic and are intended for system use only. Do not modify these.

For more information on the type of tables used in the reporting database see SQL Server table types used in the reporting database.

Fact tables

Fact table is a data warehousing term used to describe tables that contain measurements and metrics. In a fact table, you can use foreign keys to make joins with dimension tables.

The xDB reporting database includes the following fact tables:

Fact_AutomationStates

The xDB uses the Fact_AutomationStates table to enable engagement monitoring.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngPlanIdThe unique engagement plan identifier.
80554A1CCB3C44FB85F1C41216FE9D69.pngStateIdThe unique identifier of the engagement plan state.
ContactsThe number of contacts currently in this engagement plan state.

Fact_Conversions

The Fact_Conversions table contains the goals triggered by contacts. It provides report data for analyzing goal conversions and other related statistics.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngDateThe time period in which the interaction started.
80554A1CCB3C44FB85F1C41216FE9D69.pngTrafficTypeThe channel through which a contact receives content, for example, a website, email campaign, phone call, or other type of interaction.
80554A1CCB3C44FB85F1C41216FE9D69.pngContactIdThe unique identifier of the contact that triggered the goal.
80554A1CCB3C44FB85F1C41216FE9D69.pngCampaignIdThe unique identifier of the campaign for the interaction.
80554A1CCB3C44FB85F1C41216FE9D69.pngGoalIdThe unique identifier of the goal triggered.
80554A1CCB3C44FB85F1C41216FE9D69.pngSiteNameIdThe unique identifier of the entry in the SiteNames dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngDeviceNameIdThe unique identifier of the entry in the DeviceNames dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngLanguageIdThe unique identifier of the entry in the Languages dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngAccountIdThe unique identifier of the entry in the Accounts dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngItemIdThe unique identifier of the item on which the goal was triggered.
80554A1CCB3C44FB85F1C41216FE9D69.pngGoalPointsThe engagement value points associated with the goal.
VisitsThe total number of matching interactions.
ValueThe aggregated engagement value accumulated by the matching interactions.
CountThe number of times the goal was triggered by the matching interactions.

Fact_Downloads

The Fact_Downloads table contains statistical data about downloaded assets. It enables reporting that lets you analyze download trends.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngDateThe time period in which the interaction started.
80554A1CCB3C44FB85F1C41216FE9D69.pngTrafficTypeThe channel through which a contact receives content, for example, a website, email campaign, phone call, or other type of interaction.
80554A1CCB3C44FB85F1C41216FE9D69.pngCampaignIdThe unique identifier of the campaign triggered by the interaction.
80554A1CCB3C44FB85F1C41216FE9D69.pngSiteNameIdThe unique identifier of the entry in the SiteNames dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngDeviceNameIdThe unique identifier of the entry in the DeviceNames dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngLanguageIdThe unique identifier of the entry in the Languages dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngAccountIdThe unique identifier of the entry in the Accounts dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngItemIdThe unique identifier of the item on which the goal was triggered.
80554A1CCB3C44FB85F1C41216FE9D69.pngAssetIdThe unique identifier of the asset requested.
VisitsThe total number of matching interactions.
ValueThe total amount of engagement value accumulated by the matching interactions.
CountThe number of times that the asset was requested.

Fact_Failures

The Fact_Failures table contains statistical data about page events indicating errors. It enables reporting on the health of the website.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngVisitIdThe unique interaction identifier.
80554A1CCB3C44FB85F1C41216FE9D69.pngAccountIdThe unique identifier of the account belonging to the contact making the interaction.
80554A1CCB3C44FB85F1C41216FE9D69.pngDateThe time period in which the interaction started.
80554A1CCB3C44FB85F1C41216FE9D69.pngContactIdThe unique identifier of the contact initiating the interaction.
80554A1CCB3C44FB85F1C41216FE9D69.pngPageEventDefinitionIdThe unique identifier of the page event definition.
80554A1CCB3C44FB85F1C41216FE9D69.pngKeywordsIdThe unique identifier of the entry in the Keywords dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngReferringSiteIdThe unique identifier of the entry in the ReferringSites dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngContactVisitIndexThe ordinal number of the current interaction among all interactions that contact has made.
80554A1CCB3C44FB85F1C41216FE9D69.pngVisitPageIndexThe ordinal number of the page visited in the current interaction.
80554A1CCB3C44FB85F1C41216FE9D69.pngFailureDetailsIdThe unique identifier of the entry in the FailureDetails dimension.
ValueThe total amount of engagement value accumulated by matching interactions.
CountThe total number of times the failure was encountered.

Fact_FollowHits

The Fact_FollowHits table contains statistical data about site searches.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngDateThe time period in which the interaction started.
80554A1CCB3C44FB85F1C41216FE9D69.pngItemIdThe unique identifier of the item clicked in the search results.
80554A1CCB3C44FB85F1C41216FE9D69.pngKeywordsIdThe unique identifier of the entry in the Keywords dimension.
VisitsThe total number of matching interactions.
ValueThe total amount of engagement value accumulated by matching interactions.
CountThe total number of times the follow hit event was triggered.

Fact_MvTesting

The Fact_MvTesting table contains statistical data used internally by Sitecore to evaluate the efficiency of content variants used in A/B and multivariate testing.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngTestSetIdThe unique identifier of the test set.
80554A1CCB3C44FB85F1C41216FE9D69.pngTestValuesThe test combination used in the test.
VisitsThe number of interactions that are associated with this test.
ValueThe amount of engagement value accumulated by matching interactions.
BouncesThe number of sessions that bounced for the test. It indicates contacts that only visited this particular test page and then left the site.
TotalPageDurationThe total duration, in milliseconds, that contacts stayed on the test page.
TotalWebsiteDurationThe total duration, in milliseconds, that contacts remained on the site after viewing the test.
PageCountThe number of pages visited after the viewing the test.

Fact_MvTestingDetails

The Fact_MvTestingDetails table contains facts about the test performance and the groupings within each test. It is similar to the Fact_MvTesting table, but also includes Value as part of the key.

This table is used by the system to determine when enough data has been collected for a test to be statistically valid.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngTestSetIdThe unique identifier of the test set.
80554A1CCB3C44FB85F1C41216FE9D69.pngTestValuesThe test combination used in the test.
80554A1CCB3C44FB85F1C41216FE9D69.pngValueThe amount of engagement value accumulated during a test.
VisitsThe number of interactions that accumulated engagement value during a test.

Fact_PageViews

The Fact_PageViews table contains statistical data about online or offline contact interactions.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngDateThe time period in which the interaction started.
80554A1CCB3C44FB85F1C41216FE9D69.pngItemIdThe unique identifier of the item viewed.
ViewsThe total number of similar page views.
DurationThe total duration, in seconds, of matching page views.
VisitsThe total number of matching interactions.
ValueThe amount of engagement value accumulated by matching interactions.
80554A1CCB3C44FB85F1C41216FE9D69.pngTestIdID of the test viewed during the page view.
80554A1CCB3C44FB85F1C41216FE9D69.pngTestCombinationThe combination of test values used during a test.

Fact_PageViewsByLanguage

The Fact_PageLanguageViews table contains details on the views recorded for items by language.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngDateThe time period in which the interaction started.
80554A1CCB3C44FB85F1C41216FE9D69.pngSiteNameIdThe unique identifier of the entry in the SiteNames dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngItemIdThe unique identifier of the item that was viewed.
80554A1CCB3C44FB85F1C41216FE9D69.pngLanguageIdThe unique identifier of the entry in the Languages dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngDeviceNameIdThe unique identifier of the entry in the DeviceNames dimension.
ViewsThe total number of times the page was viewed.
VisitsThe number of interactions which included a view of the page.
DurationThe total amount of time contacts spent on the page.
ValueThe amount of engagement value accumulated for interactions which included a view of this page.

Fact_Personalization

The Fact_Personalization table contains facts about personalization rules that have been used as part of a test.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngDateThe time period in which the interaction started.
80554A1CCB3C44FB85F1C41216FE9D69.pngRuleSetIdThe unique identifier of the rule set used during the test.
80554A1CCB3C44FB85F1C41216FE9D69.pngRuleIdThe unique identifier of the rule.
80554A1CCB3C44FB85F1C41216FE9D69.pngTestSetIdThe unique identifier of the test set.
80554A1CCB3C44FB85F1C41216FE9D69.pngTestValuesThe test combination used during a test.
80554A1CCB3C44FB85F1C41216FE9D69.pngIsDefaultIndicates if the rule used was a default rule.
80554A1CCB3C44FB85F1C41216FE9D69.pngItemIdThe unique identifier of the item that was viewed.
VisitsThe number of unique interactions using the rule for this test combination.
ValueThe amount of engagement value accumulated by the matching interactions.

Fact_SegmentMetrics

The Fact_SegmentMetrics table contains facts about a segment identified by the SegmentRecords table, and then grouped by contact transition type.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngSegmentRecordIdThe unique identifier of the entry in the SegmentRecords dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngContactTransitionTypeIdentifies the transition types measured in this row.
VisitsThe number of interactions.
ValueThe total amount of engagement value accumulated.
BouncesThe number of bounces.
ConversionsThe total number of events in which a conversion took place.
TimeOnSiteThe duration of the interaction in seconds.
PageviewsThe total number of page views.
CountThe total count of triggered events.
ConvertedThe total number of interactions in which at least one conversion took place.

Fact_SegmentMetricsReduced

The Fact_SegmentMetricsReduced table contains facts about a segment that has been identified by the SegmentRecordsReduced table, and then grouped by contact transition type. These facts are processed by the reduce agent.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngSegmentRecordIdThe unique identifier of the entry in the SegmentRecords dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngContactTransitionTypeIdentifies the transition types measured in this row.
VisitsThe number of interactions.
ValueThe total amount of engagement value accumulated.
BouncesThe number of bounces.
ConversionsThe total number of events in which a conversion took place.
TimeOnSiteThe duration of the interaction in seconds.
PageviewsThe total number of page views.
CountThe total count of triggered events.
ConvertedThe total number of interactions in which at least one conversion took place.

Fact_SiteSearches

The Fact_SiteSearches table contains statistical data about keywords used by contacts searching the site.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngDateThe time period in which the interaction started.
80554A1CCB3C44FB85F1C41216FE9D69.pngTrafficTypeThe channel through which a contact interacts with your organization, for example, a website, email campaign, phone call or other type of interaction.
80554A1CCB3C44FB85F1C41216FE9D69.pngCampaignIdThe unique identifier of the campaign.
80554A1CCB3C44FB85F1C41216FE9D69.pngItemIdThe unique identifier of the item on which the search was initiated.
80554A1CCB3C44FB85F1C41216FE9D69.pngSiteNameIdThe unique identifier of the entry in the SiteNames dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngDeviceNameIdThe unique identifier of the entry in the DeviceNames dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngLanguageIdThe unique identifier of the entry in the Languages dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngAccountIdThe unique identifier of the entry in the Accounts dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngKeywordsIdThe unique identifier of the entry in the Keywords dimension.
VisitsThe total number of matching interactions.
ValueThe total amount of engagement value accumulated in the matching interactions.
CountThe number of times that the search was executed.

Fact_SlowPages

The Fact_SlowPages table contains information about pages that rendered slowly.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngDateThe time period in which the interaction started.
80554A1CCB3C44FB85F1C41216FE9D69.pngItemIdThe unique identifier of the item that was rendered.
80554A1CCB3C44FB85F1C41216FE9D69.pngDurationThe time, in milliseconds, that it took to render the item.
80554A1CCB3C44FB85F1C41216FE9D69.pngVisitIdThe unique identifier of the interaction.
80554A1CCB3C44FB85F1C41216FE9D69.pngAccountIdThe unique identifier of the entry in the Accounts dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngContactIdThe unique identifier of the contact.
80554A1CCB3C44FB85F1C41216FE9D69.pngContactVisitIndexThe ordinal number of the current interaction among all interactions that were made by the contact.
80554A1CCB3C44FB85F1C41216FE9D69.pngValueThe amount of engagement value accumulated during the interaction.
ViewsThe number of times that the item was viewed.

Fact_TestConversions

The Fact_TestConversions table contains information about the goal conversions recorded as a result of a test.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngGoalIdThe unique identifier of the goal that was converted.
80554A1CCB3C44FB85F1C41216FE9D69.pngTestSetIdThe unique identifier of the test set.
80554A1CCB3C44FB85F1C41216FE9D69.pngTestValuesThe test combination that the contact was exposed to.
80554A1CCB3C44FB85F1C41216FE9D69.pngDateThe time period in which the test started.
VisitsThe number of unique interactions where the goal was converted.
ValueThe amount of engagement value accumulated during the test.
CountThe total number of times that the goal was converted after the test began.

Fact_TestOutcomes

The Fact_TestOutcomes table contains information about the outcome of tests. It is used to rank and report on individual testers, for example, authors and optimization experts.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngTestSetIdThe unique identifier of the test set.
TestOwnerThe user name of the user who owns the test.
CompletionDateThe date and time that the test was completed.
TestScoreThe test score that was awarded for the test.
EffectThe change in value over the original content.
GuessThe test owner's guess on the outcome of the test.

Fact_TestPageClicks

The Fact_TestPageClicks table contains facts about which pages were visited directly after the test.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngTestSetIdThe unique identifier of the test set.
80554A1CCB3C44FB85F1C41216FE9D69.pngTestValuesThe test combination used in the test.
80554A1CCB3C44FB85F1C41216FE9D69.pngItemIdThe ID of the next item navigated to directly after the test.
ViewsThe number of times that a contact navigated to the item.

Fact_TestStatistics

The Fact_TestStatistics table contains facts about the current statistical significance of the test. Unlike other fact tables, the data is not populated through aggregation but by the system.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngTestSetIdThe unique identifier of the test set.
PowerThe power of the test as calculated using Pearson’s Chi squared test.
PThe P value of the test as calculated using Pearson’s Chi squared test.
IsStatisticalRelevantIndicates whether the test is statistically significant.

Fact_Traffic

The Fact_Traffic table contains statistical data about interactions. The Fact_Traffic table is optimized for inserts and date range queries.

KeyColumnDescription
DateThe time period in which the interaction started.
ChecksumA value that is derived from the logical primary key for fast lookups.
TrafficTypeThe channel through which a contact came to a website.
CampaignIdThe unique identifier of the entry in the Campaigns dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngItemIdThe unique identifier of the entry in the Items dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngKeywordsIdThe unique identifier of the entry in the Keywords dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngReferringSiteIdThe unique identifier of the entry in the ReferringSites dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngSiteNameIdThe unique identifier of the entry in the SiteNames dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngDeviceNameIdThe unique identifier of the entry in the DeviceNames dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngLanguageIdThe unique identifier of the entry in the Languages dimension.
FirstVisitIndicates whether the interaction is the first interaction for the contact.
VisitsThe total number of matching interactions.
ValueThe total amount of engagement value accumulated by the matching interactions.

Fact_ValueBySource

The Fact_ValueBySource table contains statistical data about the source channels that contacts use to interact with your organization or brand.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngDateThe time period in which the interaction started.
80554A1CCB3C44FB85F1C41216FE9D69.pngTrafficTypeThe channel through which a contact came to a website.
80554A1CCB3C44FB85F1C41216FE9D69.pngSiteNameIdThe unique identifier of the entry in the SiteNames dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngDeviceNameIdThe unique identifier of the entry in the DeviceNames dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngLanguageIdThe unique identifier of the entry in the Languages dimension.
FirstVisitValueThe total amount of engagement value accumulated during the first interaction of a contact.
ContactsThe number of unique contacts that accessed the content.
VisitsThe total number of matching interactions.
ValueThe total amount of engagement value accumulated during the matching interactions.

Fact_Visits

The Fact_Visits table contains statistical data about interactions.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngDateThe time period in which the interaction started.
80554A1CCB3C44FB85F1C41216FE9D69.pngItemIdThe unique identifier of the first item that a contact viewed during the interaction.
80554A1CCB3C44FB85F1C41216FE9D69.pngLanguageIdThe unique identifier of the entry in the Languages dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngFirstVisitIndicates whether this is the first interaction for the contact.
PagesCountThe number of items viewed during the interaction.

Fact_VisitsByBusinessContactLocation

The Fact_VisitsByBusinessContactLocation table contains statistical data about the geographical distribution of contacts who interact with your organization.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngAccountIdThe unique identifier of the entry in the Accounts dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngBusinessUnitIdThe unique identifier of the entry in the BusinessUnits dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngDateThe time period in which the interaction started.
80554A1CCB3C44FB85F1C41216FE9D69.pngTrafficTypeThe channel through which a visitor came to a website.
80554A1CCB3C44FB85F1C41216FE9D69.pngSiteNameIdThe unique identifier of the entry in the SiteNames dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngDeviceNameIdThe unique identifier of the entry in the DeviceNames dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngContactIdThe unique identifier of the contact making the interaction.
80554A1CCB3C44FB85F1C41216FE9D69.pngLanguageIdThe unique identifier of the entry in the Languages dimension.
80554A1CCB3C44FB85F1C41216FE9D69.pngLatitudeThe latitude from where the interaction was initiated.
80554A1CCB3C44FB85F1C41216FE9D69.pngLongitudeThe longitude from where the interaction was initiated.
VisitsThe total number of matching interactions.
ValueThe total amount engagement value points accumulated in the matching interactions.

Dimension Tables

Dimension tables are companion tables to fact tables, and are similar to Microsoft SQL Server lookup tables. They contain descriptive attributes or textual fields that help you understand and analyze the data in fact tables.

The xDB reporting database includes the following dimension tables:

Accounts

The Accounts table contains information about the organization based on their IP addresses.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngAccountIdThe unique identifier of the organization.
BusinessNameThe organization name that is returned by the IP Geolocation provider.
CountryThe name of the country in which the organization is located.
ClassificationThe classification of the location.
IntegrationIdA unique identifier that connects this entry to an external data source.
IntegrationLabelA label that provides additional information about the relationship between this entry and an entry in an external data source.
ExternalUserConnects the account to a Sitecore user.

Assets

The Assets table contains the URLs of downloadable content.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngAssetIdA generated surrogate key that is used to reference entries in this table.
UrlThe URL of the downloadable content.

BusinessUnits

The BusinessUnits table contains information about business units.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngBusinessUnitIdThe unique identifier of the business unit.
AccountIdThe unique identifier of the account connected to the business unit.
BusinessNameThe name of the business unit.
CountryThe ISO code of the country in which the business unit is located.
RegionThe region within the country in which the business unit is located.
CityThe city within the region in which the business unit is located.

DeviceNames

The DeviceNames table contains the names of devices used by the contact.

List of table columns with descriptions:

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngDeviceNameIdA generated surrogate key used to reference entries in this table.
DeviceNameThe name of the device.

DimensionKeys

The DimensionKeys table translates the raw representation of a key to a lightweight unique hash.

List of table columns with descriptions:

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngDimensionKeyIdThe hash of the DimensionKey.
DimensionKeyThe unique string value identifying the variations of a dimension.

FailureDetails

The FailureDetails table contains details about failure events.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngFailureDetailsIdA generated surrogate key used to reference entries in this table.
UrlThe URL that is used when the failure occurs.
ErrorTextThe description of the error.
PreviousUrlThe URL that was visited prior to the failure occurring.
DataKeyThe first 100 characters of the data associated with the event.
DataThe first 450 characters of the data associated with the event.

Items

The Items table contains the URLs of items.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngItemIdThe unique identifier of the item.
UrlThe URL of the item.

Keywords

The Keywords table contains both the external and the local search terms used.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngKeywordsIdA generated surrogate key used to reference entries in this table.
KeywordsThe search term used.

Languages

The Languages table contains the names of the languages used.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngLanguageIdA generated surrogate key used to reference entries in this table.
NameThe English name of the language.

SegmentRecords

The SegmentRecords table contains the measurements performed for a segment, date, site and dimension key. The dimension key contains the ID of the type of entity being measured by the segment, and is defined by the dimension or segment type.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngSegmentRecordIdA surrogate identifier derived from the SegmentId, Date, SiteNameId, and DimensionKeyId.
SegmentIdThe unique identifier of the entry in the Segments dimensions.
DateThe date for the measurements of this record.
SiteNameIdThe unique identifier of the entry in the SiteNames dimension.
DimensionKeyIdThe unique identifier of the entry in the DimensionsKeys dimension.

SegmentRecordsReduced

The SegmentRecordsReduced table contains the measurements performed for a segment, date, site, and dimension key processed by the reduce agent. The dimension key contains the ID of the type of entity being measured by the segment, and is defined by the dimension or segment type.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngSegmentRecordIdA surrogate identifier derived from the SegmentId, Date, SiteNameId and DimensionKeyId.
SegmentIdThe unique identifier of the entry in the Segments dimensions.
DateThe date for the measurements of this record.
SiteNameIdThe unique identifier of the entry in the SiteNames dimension.
DimensionKeyIdThe unique identifier of the entry in the DimensionsKeys dimension.

Segments

The Segments table contains a local representation of segment items created in the Marketing Control Panel under Experience Analytics. The contents of the Segments table are used by xAnalytics when aggregating interactions.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngSegmentIdThe unique identifier of the Sitecore item that contains the original representation of a segment.
DimensionIdThe unique identifier of the Sitecore item that contains the original representation of the dimension that defines the type of this segment.
FilterThe serialized representation of the Sitecore item that this segment refers to as its filter.
DeployDateThe date after which this segment is expected to have processed all interactions using live aggregation.
StatusThe status codes of segments during the rebuild process:

Not initialized = 0
Initializing = 1
Initialized = 2
Failed = 200

ReferringSites

The ReferringSites table contains the URLs of the websites that link to your site.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngReferringSiteIdA generated surrogate key that is used to reference entries in this table.
ReferringSiteThe name of the site that links to your website.

SiteNames

The SiteNames table contains the names of the websites defined in your setup.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngSiteNameIdA generated surrogate key used to reference entries in this table.
SiteNameThe name of the logical website.

Testing_ClusterMembers

The Testing_ClusterMembers table maps between contacts and the clusters that the contacts belong to.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngContactIdThe unique identifier of the contact.
80554A1CCB3C44FB85F1C41216FE9D69.pngClusterIdThe unique identifier for the cluster the contact belongs to.
DateThe date and time when the record was saved.
TestIdThe unique identifier of the test set.

Testing_Clusters

The Testing_Clusters table contains the clusters of contacts that have been identified for a test.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngClusterIdThe unique identifier for the cluster.
80554A1CCB3C44FB85F1C41216FE9D69.pngFeatureNameThe name of the feature that is used for classification within the cluster.
DateThe date and time that the record was saved.
TestIdThe unique identifier of the test set.
FeatureValueThe value of the feature used for classification within the cluster.

TreeDefinitions

The TreeDefinitions table stores a reduced set of properties from the Maps folder where the definition items for Path Analyzer, path maps are stored.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngDefinitionIdThe GUID of the corresponding path map item ID from the Sitecore master database.
DataContains the serialized JSON of reduced set of properties of a given path map definition item, such as type, builder type, start date, end date, and rule based filter.
DeployDateThe deploy date of a given path map definition item.
StatusThe status of the path map definition.
TaskIdThe unique identifier of the task.

Trees

The Trees table contains the actual data for a particular path map in the form of a tree object serialized as a blob. Each record in this table corresponds to a particular tree definition by ID and corresponds to a date (StartDate and EndDate columns).

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngDefinitionIdForeign key reference to the TreeDefinitions.DefinitionId column in the TreeDefinitions table.
80554A1CCB3C44FB85F1C41216FE9D69.pngStartDateThe start of the date interval that the tree blob corresponds to.

For example: 2013-12-21
80554A1CCB3C44FB85F1C41216FE9D69.pngEndDateThe end of the date interval that the tree blob corresponds to.

For example: 2013-12-22
TreeBlobThe serialized blob containing the tree object providing the underlying data for a path map and for a given time scale.
VisitsThe total count of visits that are stored in a tree object.

This helps to identify empty trees or trees without actual data. The Path Analyzer still creates these trees, but the Visits value will always be ‘0’.
ValueTotal amount of engagement value for all nodes in a tree object.
NodesTotal number of nodes in a tree object.

This helps to identify empty trees or trees without actual data. The Path Analyzer still creates these trees, but the number of nodes will always be ‘1’, with the root node being the only node in the tree.
VersionThe auto-generated time stamp of the last update made to the tree. It is used to resolve concurrency issues between multiple processing instances that are trying to update the same tree record.

Trail Tables

Trail tables are used to ensure that no input data is processed more than once. Each time input data is processed, its unique identifier and a timestamp is recorded in the trail table.

The xDB reporting database includes the following trail tables: Trail_Interactions, Trail_PathAnalyzer.

KeyColumnDescription
80554A1CCB3C44FB85F1C41216FE9D69.pngIdThe unique identifier of the data that has been processed. The name of the column varies among trail tables. In some cases, this may be a compound key.
ProcessedThe date and time that the data was processed.

Views

Views are SQL queries that enable you to create other queries more quickly and efficiently. For example, views enable you to reuse joins between tables.

The xDB reporting database includes the following views:

ViewDescription
CampaignOverviewEnables you to query the TrafficOverview table.
ConversionsEnables you to query the Fact_Conversions table.
DownloadsEnables you to query the Fact_Downloads table.
FollowHitsEnables you to query the Fact_FollowHits table.
NotFoundUrlsEnables you to query the Fact_Failures table and inner join with FailureDetails table.
ReportDataViewEnables you to query the Fact_SegmentMetrics table and inner join with SegmentRecords and DimensionKeys tables.
SiteSearchesEnables you to query the Fact_SiteSearches table
SlowPagesEnables you to query the Fact_SlowPages table.
TopLeadsEnables you to query the Fact_VisitsByBusinessContactLocation table.
TrafficEnables you to query the Fact_Traffic table.
TrafficOverviewProvides backwards compatibility.
ValueBySourceEnables you to query the Fact_ValueBySource table.
If you have suggestions for improving this article, let us know!