After the Load Data Warehouse (DWH) runs, you find that some data is missing randomly. You notice it happens more after a performance issue in our system that caused the Full load to process for several hours at a time. This issue can happen on Incremental as well.
You see missing data in the DWH tables, and the missing data is different each time. What could cause this behavior?
Missing assignments, time entries, tasks, projects, etc it all falls within the same root cause. Missing data in Data Warehouse can happen if the data was updated in the meantime whilst the job was running. This is due to the fact that last_updated_date is used to move all updated fields to DWH. When the job starts it takes the job start date, and compares to last_updated_date on the data it imports. Anything that's updated after the job start date will not get imported. This is by design.
So, the scenario mentioned is possible if the Full was running for a very long time and someone modified a project. Then this project will not be in DWH. It could happen on a task, timesheet (any other data).
Release : 15.x
Component : CLARITY DATA WAREHOUSE
Note: We have a user story created with Product Management to improve this behavior. To vote for it, please bring it up on the Innovation calls, this will help prioritize it.
If you need real time data you can use the views which are on the Clarity database side, used to copy data from. Those will be all the views starting with DWH. Examples:
When you have missing data check in those views and you should see that last_updated_date is during the job's run.
You have the following options: