1Z0-084 practice question 12 of 15
This error occurred more than four hours ago in the database: ORA-04036 PGA memory used by the instance exceeds PGA_AGGREGATE_LIMIT You want to know which process and query were at fault. Which two views should you use for this purpose?
Full set: 55 questionsThe ORA-04036 error indicates that the instance-wide PGA memory usage exceeded the PGAAGGREGATELIMIT. To investigate this past event, historical data from the Automatic Workload Repository (AWR) is required. DBAHISTACTIVESESSHISTORY contains snapshots of active sessions, including the SQLID and PGAALLOCATED for each sample. By querying this view for the time of the error, you can identify the session and SQLID with the highest PGA consumption. The DBAHISTSQLTEXT view is then used to retrieve the full text of the problematic query using the identified SQLID.
B. DBAHISTSQLSTAT provides aggregated historical statistics for SQL statements but does not link a specific execution to a process or a point-in-time memory spike.
D. DBAHISTPGASTAT contains historical instance-wide PGA statistics, which is useful for trend analysis but not for identifying a specific faulty process or query.
E. DBAHISTPROCESSMEMSUMMARY provides a historical summary of memory usage by process but does not contain the SQLID to link memory usage to a specific query.
1. Oracle Database Performance Tuning Guide, 19c. Chapter 7, "Automatic Performance Diagnostics". This chapter describes using AWR views like DBAHISTACTIVESESSHISTORY to diagnose transient performance problems.
2. Oracle Database Reference, 19c. "DBAHISTACTIVESESSHISTORY". The documentation for this view lists columns such as SAMPLETIME, SQLID, and PGAALLOCATED, confirming its utility for this diagnosis.
3. Oracle Database Reference, 19c. "DBAHISTSQLTEXT". This view is documented as the source for historical SQL text, to be joined by SQLID.
Keep practicing
Take the free 1Z0-084 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 1Z0-084 practice questions
- Question 1What are the least elevated values of statistics_level and C0NTR0LJ4ANAGEMENT_PACK_ACCESS…
- Question 2You execute the following: EXECUTE DBMS_AuTO_TASK_ADMIN.DISABLE; Which advisor remains en…
- Question 3You must produce a consolidated formatted trace file by combining all trace files generat…
- Question 4Which procedure gathers statistics that are always used in the generation of any executio…
- Question 5Which two statements are true about the use and monitoring of Buffer Cache Hit ratios and…
- Question 6Which two Oracle Database features use database services?
