SlideShare a Scribd company logo
Presented by Pieter Brinkman , Director of Developer & Platform Evangelism
Sitecore
DMS Data model Oh (No)SQL
where is the data at?Sitecore xDB:
DMS Data model
MongoDB
Introduction
Architecture
Experience Marketing
Reporting Database API
Session state
Scaling
Q&A
Reporting Service
Collections
Collection Database
Aggregation service
Personalization
Distributed Computing
Experience Profile
Possible subjects
xDB
Introducing Sitecore Experience PlatformArchitecture
formerly known as Customer Engagement Platform
• It’s the harvesting engine
• DMS fully scalable; horizontal and vertical
• Collecting, processing and analyzing
• Experience Profile, xDB foundational piece!
Sitecore 7.5 (Experience Platform)
• Experience Platform environment with:
• Content Delivery
• Content Databases Server (core, master, web)
• Collection Database Server
• Reporting database
Experience PlatformArchitecture
Report Optimized
Data Storage
Content Databases
Collection Database
Content Delivery
xDB in Cloud
Scalable ServicesArchitecture
Services
Session state
Collection
Processing
Reporting
• Provide session management services to the content delivery
and personalization components.
• Can be implemented by any ASP.NET session state store
provider that supports the Session_End event.
• Default session state mode supported in Sitecore xDB is inProc
ASP.NET
• Comes with a compatible provider for MongoDB and SQL
server.
Services
Session state
Collection
Processing
Reporting
The Collection Database (MongoDB) is a NoSQL scalable database
that stores data about contacts, history and automations. It is
capable of collecting and storing vast amounts of customer
experience data.
Services
Session state
Collection
Processing
Reporting
• Generic framework for processing tasks (distributed computing).
• Extracts information from raw captured analytics data and
transforms it into a form suitable for use in analytics.
• Performs specific tasks on the collection database that involve
mass updates.
• The Aggregation process is implemented using a Sitecore
application instance connected to both the Collection database
and Reporting databases.
• For development you can also run on the same Sitecore instance
as other components. Configure processing or aggregation on
single or multiple dedicated servers to achieve higher
performance on high-traffic solutions.
Services
Session state
Collection
Processing
Reporting
Reporting Database (RDB)
• The analytics Reporting database (RDB) stores aggregated
information from the collection database optimized for fast
querying and reporting.
• Implemented in SQL Server.
Reporting Service
• The reporting serviceAPI allows you to execute queries and
extract information from the Collection Database and the
Reporting Database or any other database.
• Main goal is to gutter all information necesary for the report,
processing might be the combination of multilple datasources
Vertical scaling
• Dedicated server for each component
• We’re still implementing a lot of new
features.
• This is the start not the finish.
Multi-server environment
Single, dedicated servers for each software
component in the xDB
Vertical scaling
It is possible to increase
capacity by upgrading
individual hardware
components, depending on the
requirements of each
dedicated server
Horizontal scaling
• MultipleCD instances (multiple clusters).
• Dedicated session state servers
• NoSQL Collection database (MongoDB) for
storing contact and interaction data
• Multiple processing on multiple servers.
• MultipleCM and Reporting servers
• Multiple geographically distributed CD
clusters.
Dataflow example
Session
Shared
Contact
Private
Interaction
Writing to the collection database
Collection
Database
Goal
Page
Page
Contact (if exists)
Reporting Service
Processing Service
Aggregation task
Reporting data flow overview
Collection Database
Report Optimized Data
Storage
Content Management
Experience Analytics Experience Analytics
Experience Dashboard
Experience Profile
Detailed reporting data flow
Collection Database
Reporting Database
Segmentation Index
Custom Data Source
ReportingService
Content Management
Processing
Service
Aggregation
task
Blue arrow : data fetched
Orange arrow : data pushed
Custom Reports
Collection Database
MongoDB architecture
MongoDB databases
• Analytics database is the place to be.
• _history and _live databases are Sitecore
internal databases
• Local is MongoDB system database
Analytics Database collections overview
• Contacts
A contact is a person that uses one or more devices to interact with your
organization.
• Interactions
An interaction is the way in which a contact or customer communicates or
engages with your organization.
• Devices
A contact may use a device to interact with your organization.
• Automation States
Stores documents that keep track of the automation states of contacts.
• Other collections
Used internally by Sitecore for caching and processing.
Interaction collection
Each record in the interaction collection contains:
• references to the Contact (visitor).
• detailed data from one session (visit).
• the interaction page trail (pages).
DMS Data model translation to MongoDB collections
DMS Data model translation to MongoDB collections
Contacts, Interactions, Pages
Jared
[2]
(0)(1)(2)
[3]
DEMO
Reporting Database
Data Model
Reporting database
The tables in the reporting database are simplified for performance optimization
and contain data from the collection Database needed for summary and trend
reports.
The reporting database contains Dimension and Fact tables.
Reporting Database tables
The Fact table contains information about the metrics collected. A fact table can be used
by one or more reports.
The data in the fact tables are calculated by the aggregation task.
Fact tables
“It’s not what you make, it’s what you keep”
by Dan Solovay (Sitecore MVP)
Questions?
@pieterbrink123

More Related Content

PPTX
Nordic Sugcon xdb crash course
PPTX
Sitecore Symposium: DMS Where is the data at?
PDF
A Crash Course on Xdb - Sugcon North America
PPTX
Implementing BCS-Business Connectivity Services - Sharepoint 2013- Office 365
PPTX
March Sydney Office 365 Meetup - Office 365 and Hybrid Solutions... what work...
PPTX
SharePoint UserGroup Stuttgart - Martina Grom - Office 365 News
PPTX
Cloud Hybrid Search with SharePoint
PPTX
Sharepoint review
Nordic Sugcon xdb crash course
Sitecore Symposium: DMS Where is the data at?
A Crash Course on Xdb - Sugcon North America
Implementing BCS-Business Connectivity Services - Sharepoint 2013- Office 365
March Sydney Office 365 Meetup - Office 365 and Hybrid Solutions... what work...
SharePoint UserGroup Stuttgart - Martina Grom - Office 365 News
Cloud Hybrid Search with SharePoint
Sharepoint review

What's hot (20)

PPTX
Canberra SPUG - February 2014 - Pitfalls of Migrating to SharePoint 2013
PPTX
Is BCS Dead?
PPTX
Power Up with Power BI
PPTX
Building Solutions With Business Connectivity Services
PDF
Hcl digital experience
PPTX
JAXSPUG April 2016 - Staying in the Know with Office 365
PPT
Microsoft Enterprise Seach using SharePoint
PPTX
Sharepoint Saturday - Sharepoint Integration and Business Intelligence
PPT
Bw web application design
PPTX
SharePoint 2013 Hybrid Deployment: End-to-end configuration process
PDF
Fried sp techcon hybrid search deeper dive
PPTX
Enterprise content management overview in SharePoint 2013
PPTX
ECS19 - Mike Ammerlaan - Microsoft Graph Data Connect
PPTX
2b - PowerPivot y SharePoint 2010, por Tomas Hernandez
PDF
SharePointFest 2013 Washington DC - SPT 103 - SharePoint 2013 Extranets: How ...
PPTX
BI in the Cloud - Microsoft Power BI Overview and Demo
PPTX
SharePoint 2013 Admin in the Hybrid World
PPTX
Planning your move to the cloud: SaaS Enablement and User Experience (Oracle ...
PDF
Cygnet Infotech's SharePoint 2013 Capabilities
PPTX
8 - Productividad en la Nube con BPOS - SharePoint Online, por Luis Du Solier
Canberra SPUG - February 2014 - Pitfalls of Migrating to SharePoint 2013
Is BCS Dead?
Power Up with Power BI
Building Solutions With Business Connectivity Services
Hcl digital experience
JAXSPUG April 2016 - Staying in the Know with Office 365
Microsoft Enterprise Seach using SharePoint
Sharepoint Saturday - Sharepoint Integration and Business Intelligence
Bw web application design
SharePoint 2013 Hybrid Deployment: End-to-end configuration process
Fried sp techcon hybrid search deeper dive
Enterprise content management overview in SharePoint 2013
ECS19 - Mike Ammerlaan - Microsoft Graph Data Connect
2b - PowerPivot y SharePoint 2010, por Tomas Hernandez
SharePointFest 2013 Washington DC - SPT 103 - SharePoint 2013 Extranets: How ...
BI in the Cloud - Microsoft Power BI Overview and Demo
SharePoint 2013 Admin in the Hybrid World
Planning your move to the cloud: SaaS Enablement and User Experience (Oracle ...
Cygnet Infotech's SharePoint 2013 Capabilities
8 - Productividad en la Nube con BPOS - SharePoint Online, por Luis Du Solier
Ad

Similar to Sitecore 7.5 xDB oh(No)SQL - Where is the data at? (20)

PPTX
Sitecore xDB - Architecture and Configuration
PPTX
Myth Busting Sitecore xDB - St. Louis Sitecore User Group Meetup
PPTX
Making ultra fast ultra scalable solutions with sitecore 8
PPTX
Introduction to MongoDB with Sitecore
PPTX
Sitecore xDB - How it works
PDF
Creating Real-time Systems of Engagement with Analytics and Big Data
PPTX
eXtreme Connect
PPTX
MediaGlu and Mongo DB
PDF
Best of barcelona symposium experience
PPTX
Managing your user data with Sitecore xDB
PPTX
Professional Services Insights into Improving Sitecore XP
PPTX
Get Personal with your Customers
PPTX
How to leverage MongoDB for Big Data Analysis and Operations with MongoDB's A...
PPTX
MongoDB Partner Program Update - November 2013
PDF
A Morning with MongoDB Barcelona: Use Cases and Roadmap
PDF
20130117 - Big Data Architectures
PPT
Webinar: Expanding Retail Frontiers with MongoDB
PPTX
Sitecore xPlatform - Introduction
PPTX
An Evening with MongoDB Detroit 2013
PPTX
Todd Mitchell - x db crash course
Sitecore xDB - Architecture and Configuration
Myth Busting Sitecore xDB - St. Louis Sitecore User Group Meetup
Making ultra fast ultra scalable solutions with sitecore 8
Introduction to MongoDB with Sitecore
Sitecore xDB - How it works
Creating Real-time Systems of Engagement with Analytics and Big Data
eXtreme Connect
MediaGlu and Mongo DB
Best of barcelona symposium experience
Managing your user data with Sitecore xDB
Professional Services Insights into Improving Sitecore XP
Get Personal with your Customers
How to leverage MongoDB for Big Data Analysis and Operations with MongoDB's A...
MongoDB Partner Program Update - November 2013
A Morning with MongoDB Barcelona: Use Cases and Roadmap
20130117 - Big Data Architectures
Webinar: Expanding Retail Frontiers with MongoDB
Sitecore xPlatform - Introduction
An Evening with MongoDB Detroit 2013
Todd Mitchell - x db crash course
Ad

More from Pieter Brinkman (14)

PPTX
Being a PMM with a multi-product portfolio - Product Marketing Summit
PDF
Digital Experience is a teamsport - Sitecore User Group Conference keynote
PDF
Developer Marketing in B2B SaaS where the developer is not the buyer authorit...
PPTX
Why marketers are the real winners with Sitecore XM Cloud
PPTX
Architects Guide to SaaS migration (SUGCON EU 2022 keynote)
PPTX
Composale DXP with MACH architecture.pptx
PPTX
Keynote SUGCON 2021 - Sitecore and SaaS our shared journey
PPTX
Sitecore Experience Edge
PDF
What's new in Sitecore 9.3
PPTX
Community - Technical Keynote - Sitecore Symposium 2016
PPTX
Mobile (App) Development with Sitecore
PPTX
Understanding the Sitecore Architecture
PPTX
Sitecore 7; What's in it for you?
PPTX
Sitecore 7 first look by Pieter Brinkman (Dutch)
Being a PMM with a multi-product portfolio - Product Marketing Summit
Digital Experience is a teamsport - Sitecore User Group Conference keynote
Developer Marketing in B2B SaaS where the developer is not the buyer authorit...
Why marketers are the real winners with Sitecore XM Cloud
Architects Guide to SaaS migration (SUGCON EU 2022 keynote)
Composale DXP with MACH architecture.pptx
Keynote SUGCON 2021 - Sitecore and SaaS our shared journey
Sitecore Experience Edge
What's new in Sitecore 9.3
Community - Technical Keynote - Sitecore Symposium 2016
Mobile (App) Development with Sitecore
Understanding the Sitecore Architecture
Sitecore 7; What's in it for you?
Sitecore 7 first look by Pieter Brinkman (Dutch)

Recently uploaded (20)

PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
PDF
SparkLabs Primer on Artificial Intelligence 2025
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
PDF
Smarter Business Operations Powered by IoT Remote Monitoring
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
PDF
This slide provides an overview Technology
PDF
creating-agentic-ai-solutions-leveraging-aws.pdf
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
PDF
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
PPTX
How Much Does It Cost to Build a Train Ticket App like Trenitalia in Italy.pptx
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
PDF
agentic-ai-and-the-future-of-autonomous-systems.pdf
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
PDF
Dell Pro 14 Plus: Be better prepared for what’s coming
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
ChatGPT's Deck on The Enduring Legacy of Fax Machines
PDF
Doc9.....................................
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
SparkLabs Primer on Artificial Intelligence 2025
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
Smarter Business Operations Powered by IoT Remote Monitoring
madgavkar20181017ppt McKinsey Presentation.pdf
This slide provides an overview Technology
creating-agentic-ai-solutions-leveraging-aws.pdf
NewMind AI Weekly Chronicles - July'25 - Week IV
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
How Much Does It Cost to Build a Train Ticket App like Trenitalia in Italy.pptx
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
agentic-ai-and-the-future-of-autonomous-systems.pdf
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Dell Pro 14 Plus: Be better prepared for what’s coming
NewMind AI Monthly Chronicles - July 2025
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Doc9.....................................

Sitecore 7.5 xDB oh(No)SQL - Where is the data at?

  • 1. Presented by Pieter Brinkman , Director of Developer & Platform Evangelism Sitecore DMS Data model Oh (No)SQL where is the data at?Sitecore xDB:
  • 3. MongoDB Introduction Architecture Experience Marketing Reporting Database API Session state Scaling Q&A Reporting Service Collections Collection Database Aggregation service Personalization Distributed Computing Experience Profile Possible subjects xDB
  • 4. Introducing Sitecore Experience PlatformArchitecture formerly known as Customer Engagement Platform
  • 5. • It’s the harvesting engine • DMS fully scalable; horizontal and vertical • Collecting, processing and analyzing • Experience Profile, xDB foundational piece! Sitecore 7.5 (Experience Platform)
  • 6. • Experience Platform environment with: • Content Delivery • Content Databases Server (core, master, web) • Collection Database Server • Reporting database Experience PlatformArchitecture Report Optimized Data Storage Content Databases Collection Database Content Delivery xDB in Cloud
  • 8. Services Session state Collection Processing Reporting • Provide session management services to the content delivery and personalization components. • Can be implemented by any ASP.NET session state store provider that supports the Session_End event. • Default session state mode supported in Sitecore xDB is inProc ASP.NET • Comes with a compatible provider for MongoDB and SQL server.
  • 9. Services Session state Collection Processing Reporting The Collection Database (MongoDB) is a NoSQL scalable database that stores data about contacts, history and automations. It is capable of collecting and storing vast amounts of customer experience data.
  • 10. Services Session state Collection Processing Reporting • Generic framework for processing tasks (distributed computing). • Extracts information from raw captured analytics data and transforms it into a form suitable for use in analytics. • Performs specific tasks on the collection database that involve mass updates. • The Aggregation process is implemented using a Sitecore application instance connected to both the Collection database and Reporting databases. • For development you can also run on the same Sitecore instance as other components. Configure processing or aggregation on single or multiple dedicated servers to achieve higher performance on high-traffic solutions.
  • 11. Services Session state Collection Processing Reporting Reporting Database (RDB) • The analytics Reporting database (RDB) stores aggregated information from the collection database optimized for fast querying and reporting. • Implemented in SQL Server. Reporting Service • The reporting serviceAPI allows you to execute queries and extract information from the Collection Database and the Reporting Database or any other database. • Main goal is to gutter all information necesary for the report, processing might be the combination of multilple datasources
  • 12. Vertical scaling • Dedicated server for each component • We’re still implementing a lot of new features. • This is the start not the finish. Multi-server environment Single, dedicated servers for each software component in the xDB Vertical scaling It is possible to increase capacity by upgrading individual hardware components, depending on the requirements of each dedicated server
  • 13. Horizontal scaling • MultipleCD instances (multiple clusters). • Dedicated session state servers • NoSQL Collection database (MongoDB) for storing contact and interaction data • Multiple processing on multiple servers. • MultipleCM and Reporting servers • Multiple geographically distributed CD clusters.
  • 15. Session Shared Contact Private Interaction Writing to the collection database Collection Database Goal Page Page Contact (if exists)
  • 16. Reporting Service Processing Service Aggregation task Reporting data flow overview Collection Database Report Optimized Data Storage Content Management Experience Analytics Experience Analytics Experience Dashboard Experience Profile
  • 17. Detailed reporting data flow Collection Database Reporting Database Segmentation Index Custom Data Source ReportingService Content Management Processing Service Aggregation task Blue arrow : data fetched Orange arrow : data pushed Custom Reports
  • 19. MongoDB databases • Analytics database is the place to be. • _history and _live databases are Sitecore internal databases • Local is MongoDB system database
  • 20. Analytics Database collections overview • Contacts A contact is a person that uses one or more devices to interact with your organization. • Interactions An interaction is the way in which a contact or customer communicates or engages with your organization. • Devices A contact may use a device to interact with your organization. • Automation States Stores documents that keep track of the automation states of contacts. • Other collections Used internally by Sitecore for caching and processing.
  • 21. Interaction collection Each record in the interaction collection contains: • references to the Contact (visitor). • detailed data from one session (visit). • the interaction page trail (pages).
  • 22. DMS Data model translation to MongoDB collections
  • 23. DMS Data model translation to MongoDB collections
  • 25. DEMO
  • 27. Reporting database The tables in the reporting database are simplified for performance optimization and contain data from the collection Database needed for summary and trend reports. The reporting database contains Dimension and Fact tables.
  • 29. The Fact table contains information about the metrics collected. A fact table can be used by one or more reports. The data in the fact tables are calculated by the aggregation task. Fact tables
  • 30. “It’s not what you make, it’s what you keep” by Dan Solovay (Sitecore MVP)