When performing mass identity imports (e.g., tens of thousands of Person objects) while the configuration parameter QER\Structures\DynamicGroupCheck\CalculateImmediatelyPerson is enabled and many dynamic roles have IsCalculateImmediately = 1 , the system generates an excessive number of individual recalculation jobs into the QBMDBQueuePond and DialogDBQueue tables.
Specifically, this creates millions of QER-K-DynamicGroupSingleBasic tasks, causing severe processing bottlenecks.
Symptoms include:
Immediate recalculation is designed for small, near-real-time changes with minimal trigger attributes. During bulk HR operations, every changed Person object can trigger recalculation tasks for every relevant dynamic group, overwhelming the queue mechanism.
Run the bulk load as normal. The queue will remain manageable.
Please use SQL Server Management Studio (SSMS) and execute the following script against the One Identity Manager database. This script will efficiently insert one bulk recalculation task (QER-K-DynamicGroupTest) per qualifying dynamic group, avoiding the creation of millions of individual tasks.
DECLARE @genprocId VARCHAR(38) = LOWER(NEWID());
DECLARE @DBQueueElements QBM_YDBQueueRaw;
INSERT INTO @DBQueueElements (Object, SubObject, GenProcID)
SELECT dg.UID_DynamicGroup, NULL, @genprocId
FROM DynamicGroup dg
WHERE dg.IsCalculateImmediately = 1;
EXEC QBM_PDBQueueInsert_Bulk 'QER-K-DynamicGroupTest', @DBQueueElements;
This script efficiently inserts one bulk recalculation task per qualifying dynamic group instead of millions of individual tasks.
An Enhancement request (706529) has been submitted to automatically optimize this process in future releases. The proposed mechanism would automatically detect mass identity inserts/updates and natively consolidate them into bulk recalculation jobs.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center