DBA_HIST_PGA_TARGET_ADVICE displays historical predictions of how the cache hit percentage and over allocation count statistics displayed by the V$PGASTAT performance view would be impacted if the value of the PGA_AGGREGATE_TARGET parameter is changed. This view contains snapshots of V$PGA_TARGET_ADVICE.
| Column | Datatype | NULL | Description | 
|---|---|---|---|
| SNAP_ID | NUMBER | NOT NULL | Unique snapshot ID | 
| DBID | NUMBER | NOT NULL | Database ID for the snapshot | 
| INSTANCE_NUMBER | NUMBER | NOT NULL | Instance number for the snapshot | 
| PGA_TARGET_FOR_ESTIMATE | NUMBER | NOT NULL | Value of PGA_AGGREGATE_TARGETfor the prediction (in bytes) | 
| PGA_TARGET_FACTOR | NUMBER | PGA_TARGET_FOR_ESTIMATE/ the current value of thePGA_AGGREGATE_TARGETparameter | |
| ADVICE_STATUS | VARCHAR2(3) | Indicates whether the advice is enabled ( ON) or disabled (OFF) depending on the value of theSTATISTICS_LEVELparameter | |
| BYTES_PROCESSED | NUMBER | Total bytes processed by all the work areas considered by this advice (in bytes) | |
| ESTD_TIME | NUMBER | ??? | |
| ESTD_EXTRA_BYTES_RW | NUMBER | Estimated number of extra bytes which would be read or written if PGA_AGGREGATE_TARGETwas set to the value of thePGA_TARGET_FOR_ESTIMATEcolumn. This number is derived from the estimated number and size of work areas which would run in one-pass (or multi-pass) for that value ofPGA_AGGREGATE_TARGET. | |
| ESTD_PGA_CACHE_HIT_PERCENTAGE | NUMBER | Estimated value of the cache hit percentage statistic when PGA_AGGREGATE_TARGETequalsPGA_TARGET_FOR_ESTIMATE. This column is derived from the above two columns and is equal toBYTES_PROCESSED/ (BYTES_PROCESSED+ESTD_EXTRA_BYTES_RW) | |
| ESTD_OVERALLOC_COUNT | NUMBER | Estimated number of PGA memory over-allocations if the value of PGA_AGGREGATE_TARGETis set toPGA_TARGET_FOR_ESTIMATE. A nonzero value means thatPGA_TARGET_FOR_ESTIMATEis not large enough to run the work area workload. Hence,PGA_AGGREGATE_TARGETshould not be set toPGA_TARGET_FOR_ESTIMATEsince Oracle will not be able to honor that target. |