Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Performance Issue with the loading of the IG

Uday S. NadellaJan 22 2026 — edited Jan 22 2026

The IG is taking a long time around 45 seconds to load. The SQL query behind the IG when run as a SQL in Database takes 6-12 seconds. I have enabled the debug and see that the COLLECTION truncate is taking a long time. Please help if this can be reduced.

The IG is of type Function returning SQL and using the below condition in the

IF NOT APEX_COLLECTION.COLLECTION_EXISTS('FF_BILLING_DETAILS_COLLECTION') THEN
APEX_COLLECTION.CREATE_COLLECTION('FF_BILLING_DETAILS_COLLECTION');
else
APEX_COLLECTION.truncate_collection('FF_BILLING_DETAILS_COLLECTION');
END IF;

Comments
Post Details
Added on Jan 22 2026
2 comments
86 views