Questions tagged [mongodb]

All questions related to the use of MongoDB in a Sitecore environment - xDB, sessions, ...

Filter by
Sorted by
Tagged with
5 votes
4 answers
1k views

No contact created in MongoDB when session is closed

8.2 update 0. I have changed session to be 1 minute instead of the default 20 minutes. When I log into the site, in incognito, surf around and close the browser. No contact is ever created in the ...
Chris Auer's user avatar
15 votes
3 answers
9k views

ERROR: Cannot create tracker (Message:session is not initialized) Sitecore 8.1 update 2

I am getting below error in logs and none of the interaction data is collected in mongoDB also. Verified with Post looks everything Ok in my solution. ERROR Cannot create tracker. Exception: ...
FHN's user avatar
  • 441
12 votes
2 answers
2k views

How can I create a custom report in Experience Analytics?

I'm pretty new at Sitecore, so I don't know if this is possible. I am able to log some custom page events (click on an anchor on the client side) in xDB. I can then query this with Robomongo. But ...
Eduardo's user avatar
  • 175
9 votes
2 answers
408 views

Any Guidelines to choose between SQL or Mongo for xDB on Sitecore 9?

Want to check if we have any guidelines (metrics) helpful to decide either Mongo or SQL will be good fit while Upgrading to Sitecore 9, especially if the current version in below 7.5 (No Mongo). ...
Amitabh Vyas's user avatar
  • 2,534
7 votes
2 answers
689 views

How can I utilise MongoDB for non-xDB related things in my Sitecore solution?

Assuming we have a sparking new Sitecore installation running, and have already invested in the relevant MongoDB infrastructure to keep the solution running 24x7 and so on - how can I make further use ...
Mark Cassidy's user avatar
  • 24.7k
17 votes
2 answers
796 views

What are options for archiving xDB data?

I've ran into a number of different scenarios lately around xDB and data retention and archiving. What is the best practice for archiving data in xDB in general? For example, is there a best practice ...
sestocker's user avatar
  • 1,697
11 votes
2 answers
4k views

MongoDB disk IOPS

I was reading that Sitecore recommends SSD disks for MongoDB Servers, and I am wondering if What are the recommended performance values? Will I have any performance lost if not use SSD? Best ...
Vinicius Deschamps's user avatar
10 votes
5 answers
873 views

Sizing MongoDB Servers for xDB

Is there guidance on sizing the Mongo DB servers when running xDB on premises? I've found some guidance on sizing MongoDB for session state (link) but can't find anything on the analytics side. To be ...
Derek Dysart's user avatar
  • 2,459
10 votes
4 answers
3k views

What happens when MongoDB is down?

We are building an infrastructure for xDB internally and our internal network team asked us what would happen if the MongoDB instances were down. We, of course are deploying MongoDB with Replica set ...
ASura's user avatar
  • 2,363
7 votes
1 answer
1k views

Sitecore 9 xDB Support for MongoDB

We are working on migrating our Sitecore instances to Sitecore 9 and we are using xDB for analytics. We read new version of Sitecore does not support MongoDB. Can we still use xDB and analytics?
user's user avatar
  • 71
7 votes
3 answers
1k views

How do I run MongoDB and SOLR Docker images that work with Windows Server 2016?

I'm trying to configure my Sitecore 8.2 instance in a Docker container using Windows Server 2016. I've been able to successfully setup IIS in a Docker container, but am unable to find any containers/...
Keith VanderVeen's user avatar
6 votes
2 answers
5k views

What are the best practices for MongoDB replica set latency?

I'm looking to setup a environment with 3 MongoDB (1 x Primary and 2 x Secondary nodes) in different regions and wondering if: Is there any recommendations on latency (in ms) limitations for the ...
Vinicius Deschamps's user avatar
6 votes
1 answer
384 views

WFFM: How multisite FormData get saved in MongoDB?

I am using Sitecore 8.1 with WFFM. Can anyone please explain me how the multi-site information get saved in FormData?. As per my understanding FormData will get saved with FormID and its Fields in ...
Ramesh's user avatar
  • 237
5 votes
3 answers
368 views

Custom Report from xDB (MongoDB) based in Geo Ips

We are on Sitecore 8.2 rev. 170614 (8.2 Update-4) using MongoDB On-Premise mode with custom SSL Setup. Need to submit a custom report to business based on various logins (and related data) ...
Amitabh Vyas's user avatar
  • 2,534
4 votes
1 answer
1k views

How to Join MongoDb Collections Using Sitecore Mongo Db Report Data Source

Am using sitecore 8.0, below code gets the analytics from the mongo db. I have two collections "ineractions" and "ContactId", I want to join both the collections using common field "contact" from ...
Suresh R's user avatar
  • 305
2 votes
1 answer
661 views

Where to find Visit Duration and Latest Date Visited in Code Behind

I am creating a process that reads in the Sitecore analytics contact collection and gets information needed for a report. It is read and inserted in SQL Server. Not sure how to get some of the fields ...
RReilley's user avatar
  • 755
1 vote
0 answers
240 views

Sitecore Experience Profile DashBoard is Empty

We are facing issue on production enviornment ad issue is that Sitecore Experience Profile DashBoard is Empty and this issue is only on production not on UAT or QA when i scanned through logs i found ...
user2332873's user avatar