Skip to Main Content
  • Questions
  • Wait event acknowledge over PGA limit

Breadcrumb

Question and Answer

Chris Saxon

Thanks for the question, Karen.

Asked: March 02, 2018 - 1:41 am UTC

Last updated: November 26, 2018 - 4:51 pm UTC

Version: 12.2

Viewed 10K+ times! This question is

You Asked

Hi Tom, we just upgraded our RAC oracle (two nodes) from 12.1 to 12.2.

During our load testing, we found the top wait event is acknowledge over PGA limit.

I increased pga_aggregate_target from 500m to 2g. Still saw this wait event.
I checked our pga usage and allocation is not high at v$pgastat.

Can you please tell me what caused this issue and how to address it?

Thanks,
Karen

and Chris said...

This relates to a new parameter in 12c, PGA_AGGREGATE_LIMIT.

The default value for this is calculated as:

PGA_AGGREGATE_LIMIT is set to the greater of 2 GB, 200% of PGA_AGGREGATE_TARGET, and 3 MB times the PROCESSES parameter. It will be set below 200% of PGA_AGGREGATE_TARGET if it is larger than 90% of the physical memory size minus the total SGA size, but not below 100% of PGA_AGGREGATE_TARGET.

https://docs.oracle.com/database/121/REFRN/GUID-E364D0E5-19F2-4081-B55E-131DF09CFDB3.htm#REFRN10328

So check:

Has someone manually set this to a lower value?
Are you hitting the physical memory limit?
How much PGA are you consuming? Can you change your programs to reduce this?

If necessary, you can disable this and revert to 11g PGA memory management by setting PGA_AGGREGATE_LIMIT to zero.

Rating

  (2 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Karen Ning, March 02, 2018 - 11:40 am UTC

We didn’t manually change it to a lower value. Instead I increased it to be 4G. From the v$pgastat, I saw max allocation pga is 1.2g. Not sure how it hit this limit.
We cannot set the limit to be 0 as this environment is shared by a few databases.
I wondered if there is anything change in 12.2 comparing to 12.1.


Chris Saxon
March 02, 2018 - 11:59 am UTC

I'm not aware of any.

But there is a MOS note (2337875.1) where customers say their application ran slower upgrading from 12.1 -> 12.2 due to "Acknowledge over PGA limit". But this looks app specific to me.

If you're having problems with this, contact support.

Target value is set to 0

jayendra, November 26, 2018 - 11:30 am UTC

We encountered the same issue after upgrade to the 12.2 version, the wait event "acknowledge over PGA limit" is encountered on most of our databases after upgrade. The "pga_aggregate_limit" was set to 10 g & "pga_aggregate_target" to 0. After setting the parameter pga_aggregate_target to 5 g the performance improved over time. Still we are trying to find the optimum value, could you suggest on this.
Chris Saxon
November 26, 2018 - 4:51 pm UTC

You can query v$pgastat to get memory usage details.

More to Explore

Administration

Need more information on Administration? Check out the Administrators guide for the Oracle Database