Bug 30846782 - 19c+ Fast/Excessive PGA Growth when Using dbms_stats.gather_table_stats in a Loop (Doc ID 30846782.8)

To BottomTo Bottom


Bug 30846782  19c+ Fast/Excessive PGA Growth when Using dbms_stats.gather_table_stats in a Loop

 This note gives a brief overview of bug 30846782. 
 The content was last updated on: 25-DEC-2020
 Click here for details of each of the sections below.


Product (Component) Oracle Server (Rdbms)
Range of versions believed to be affected Versions >= 19.1 but BELOW 21.1
Versions confirmed as being affected
Platforms affected Generic (all / most platforms affected)


The fix for 30846782 is first included in

Interim patches may be available for earlier versions - click here to check.


Related To:



Growth in PGA memory usage when gather_table_stats gets executed in a PL/SQL loop (e.g. anonymous block).
The memory allocated during gather_table_stats() is getting freed at the end of anonymous/PLSQL block (user call).
 1. Setting "_fix_control"='20424684:OFF' should not reproduce the problem.
 2. Issue should be growth in PGA memory (not a leak) while executing gather_table_stats()
 alter session set "_fix_control"='20424684:OFF';


Please note: The above is a summary description only. Actual symptoms can vary. Matching to any symptoms here does not confirm that you are encountering this problem. For questions about this bug please consult Oracle Support.



Bug:30846782 (This link will only work for PUBLISHED bugs)
Note:245840.1 Information on the sections in this article