Large Numbers Of Virtual Columns can Result in Slow Query Parsing (Doc ID 1536238.1)

Last updated on SEPTEMBER 11, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 and later
Oracle Database - Standard Edition - Version 11.1.0.6 and later
Oracle Database - Personal Edition - Version 11.1.0.6 and later
Information in this document applies to any platform.

Symptoms

A query with a large number of references to tables having a large number of virtual columns parses slowly.

Consider the following case, where one table (t) with 50 virtual columns is referenced 500 times in one query:

This can happen even if the virtual columns are never referenced in the query, as above.

Changes

"Computed" columns maintained by a trigger are replaced by GENERATED ALWAYS AS columns.

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