I am setting up Sitecore xDB and am trying to test exactly what info gets through the system for authenticated and non-authenticated users. I would like to be able to make a change and see the results quickly in Sitecore. I found the setting to lower session lifetime to 1 minute rather than 20. I have not found a way to just force Sitecore to sync with Mongo on demand or at least within 1-5 minutes rather than, what also appears to be about 20 minutes at the moment. Does it exist or is "rebuilding" the database explained here the only existing process?
Is there a way to force Sitecore to sync MongoDB data with it's SQL database?
1k Views Asked by Reafexus At
1
There are 1 best solutions below
Related Questions in SITECORE
- How to Customize Sitecore Copy operation
- Joomla 5..0.3 delay in search
- What's the event for when a Branchitem has finished creating?
- Convert Sitecore data sources to Guid, programatically
- How to specify an existing ItemId While uploading Media Items to Sitecore XM Cloud using UploadMedia mutation?
- Sitecore to WordPress migration
- Why changing template in Sitecore using powershell script creates a version in English language even if there no version exists?
- I want to convert sitecore search facet filter from multiple to single
- Sitecore - select fields and write to an excel sheet by changing the field names in Powershell
- Coveo for Sitecore: Precondition failed: The parameter 'p_ApiKey' must not be an empty string
- In Sitecore 10, why would my Content Editor Panel not open
- Not loading CSS files after login to my sitecore instance
- AWS - Amazon.Extensions.S3.Encryption.AmazonS3EncryptionClientBase is attempting to implement an inaccessible interface
- Cannot use import statement outside a module - jest + nextj.js
- To get the sitecore username who created sitepage
Related Questions in SITECORE8
- Not loading CSS files after login to my sitecore instance
- Coveo Page View Analytics Report
- An error occurred while uploading the image in Sitecore Media Library
- IIS Redirect is not working on Sitecore application
- Language.TryParse Method use in sitecore point of view?
- Multiple fields with same name in Solr
- SiteCore CMS - Webpage Becomes Unresponsive at every click
- Uploading the subtitles along with the video in azure devops
- How to add insert option Programmatically in C# Sitecore
- Error.html page code showing up in meta description of my homepage
- How can i access array value in Site-core Jss?
- Unable to restore nuget packages on Sitecore8.2 build
- What is the use of ToCoveoFieldName method in covoe search in hive framework?
- How can I add custom domain in portal azure?
- Why is my website when using www inaccessible? asp.net
Related Questions in SITECORE-XDB
- Sitecore 9.3 Experience Analytics - tracking logged users and users roles
- enable/disabling tracking consent with sitecore 10.1
- Sitecore 8.1 MongoDB collection not updated
- Unable to get xDB reports using Sitecore Powershell
- Xconnect Connection Issue
- Where do I find the data related to Campaigns in the Sitecore's SQL database?
- Sitecore 9 xconnect error: Sitecore.XConnect.XdbCollectionUnavailableException, Forbidden
- Identify returning user interaction data from xDB in sitecore 9
- Redeploy Segments option missing in Sitecore 8.2
- Update OTB facets for anonymous user
- How do I unlock a sitecore contact?
- Sitecore 8 MongoDB Identifying visitor issue
- Sitecore 8.1 How to extend Experience Profile
- Sitecore contact tracking: how does it work?
- Is there a way to force Sitecore to sync MongoDB data with it's SQL database?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
See this blog post by Martina Welander for this and more good info about xDB sessions: https://mhwelander.net/2016/08/24/whats-in-a-session-what-exactly-happens-during-a-session-and-how-does-the-xdb-know-who-you-are/
You just need a utility page that calls
System.Web.HttpContext.Current.Session.Abandon(). You may also want to redirect the user to a page that doesn't exist.Update to address comment
My understanding is that once an xDB session has expired, processing should take place quickly. In the Sitecore.Analytics.Processing.Services.config file, the BackgroundService agent is set to run on an interval of 15 seconds by default.
You may just be seeing cached reporting data. Try clearing the cache using the /sitecore/admin/cache.aspx page. You could also decrease the defaultCacheExpiration setting for the reporting cacheProvider in the Sitecore.Analytics.Reporting.config file. The default is 10 minutes.