Query Statistics Not Collected When Query Prediction Threshold Is Enabled (Doc ID 1593475.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Discoverer - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

Even if the fix for Bug 11784475 - DISCO 11G PLUS/VIEWER QUERY STATS NOT WORKING IN APPS 12I EUL/64 BIT OS was applied, statistics are gathered for some reports but not for all. The particularity of the failing reports is that the query prediction threshold (PredictionThresholdSecondsEnabled) is triggered.
When statistics are not collected, the following insert statement is missing from the Discoverer session SQL trace file:

The issue is reproducible with Plus and Viewer but not with Desktop.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms