Cursor sharing parameter set to FORCE in the database causing Cartisian Join and SQL hang with OBIEE report

(Doc ID 2279466.1)

Last updated on JUNE 22, 2017

Applies to:

Business Intelligence Suite Enterprise Edition - Version 11.1.1.9.160419 and later
Information in this document applies to any platform.

Symptoms

It was found that reports executed through OBIEE analytics Runs for ever. However the same SQL generated by OBIEE (View Log) the results come back quickly. Analyzing the SQL from the Oracle Enterprise Manager and running an Explain Plan it looks found that it was doing a Cartesian join. This behavior is happening only in the obiee 11.1.1.9.0 environment with Oracle 12c as the data. The same Analysis runs in seconds in OBIEE 11.1.1.7.0 environment with Oracle 11g as database and also runs in seconds in OBIEE 12.2.1.1.0 and oracle 11g as Database.

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