Path Analyzer is not showing data


Description

After restart of the instance, unprocessed records might get stuck in the Generic Processing Pool and never get picked up, which might lead to the Path Analyzer not displaying data.
This issue can also cause increased resource consumption on the xDB pools database. In Azure SQL environments, this might be observed as high DTU usage. In SQL Server environments, this might be observed as high CPU usage.
The increased resource consumption can be caused by repeated execution of the following SQL query against the [xdb_processing_pools].[GenericProcessingPool] table:

UPDATE TOP (@Size)
            [xdb_processing_pools].[GenericProcessingPool]
        SET
            [Scheduled] = DATEADD( SECOND, @Timeout, @Now ),
            [Attempts] = ([Attempts] + 1),
            @Retry = 0
        OUTPUT
            INSERTED.[Id] AS [Id],
            INSERTED.[Created] AS [Created],
            DELETED.[Scheduled] AS [Scheduled],
            INSERTED.[Attempts] AS [Attempts],
            INSERTED.[Properties] AS [Properties]
        WHERE
            ([Pool] = @Pool) AND
            ([Scheduled] <= @Now)

Solution

To resolve this issue, consider one of the following options: