Hi, we have a session that is using 190Mb of PGA.
SID USERNAME PROGRAM LOGON_TIME MACHINE PGA_ALLOC_MB
---------- -------- ------------------------- --------------- ------------------------- ------------
497 LIMARES ResourcePlannerServer.exe 17-JUN 13:59:40 MAG\MA-APPS-095 187.75
We have extracted the SQL statments this session has ran over the past 24 hours, but we can't get the PGA used for each statement so we can tune it.
Question: How do we get the PGA used for each SQL statement?
If you are using PL/SQL collections with large datasets in a large number of session you might begin to see overhead from the amount f PGA memory that can get used. But its a trade off between doing for loops and recursing through data or grabbing everything you need at once.
Bookmarks