FIX: SQL Server Analysis Service proactive caching processes a partition but doesn't run an SQL query, causing stale data

Applies to: SQL Server 2014 EnterpriseSQL Server 2016 Enterprise

Symptoms


Consider the following scenario:

  • You have two tables in a Microsoft SQL Server database, one named Main and the other named Sub.

  • Based on the two tables, you create a cube in a SQL Server 2014 or 2016 Analysis Service multidimensional database.

  • In that Analysis Service database, you create some dimension and fact tables for the Main and Sub tables.

  • You enable Pro-active caching for this database and configure some notifications on the dimension and fact tables.

In this scenario, you find that processing for the different partitions is staged. For example, data insert activity occurs in the Main table first and in the Sub table later. The second partition is processed, but no SQL Server query is sent to get the latest data. This results in stale data.

Note This issue does not occur when the two tables have data that is inserted at the same time.

Resolution


This issue is fixed in the following cumulative updates for SQL Server:

Cumulative Update 7 for SQL Server 2016 RTM

Cumulative Update 4 for SQL Server 2016 SP1

Cumulative Update 5 for SQL Server 2014 Service Pack 2

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


Learn about the terminology Microsoft uses to describe software updates.