Ankit Mongia, February 08, 2016 - 7:28 pm UTC
Thanks for the explanation. I need one more clarification -->> In dedicated server mode why UGA in PGA and in shared server UGA is in SGA
February 09, 2016 - 1:20 am UTC
In shared server, I'm repeatedly being allocated to *new* processes.
eg,
- I open a cursor, I get allocated to process 12. I do my stuff and I'm done.
- I come back 3 seconds later and fetch from that cursor, I now get allocated to process 15, I do my stuff and I'm done.
So since I might be allocated to *any* process, I need somewhere where they can *all* see my current memory state (UGA). So it sits in the SGA.
For dedicate server, I will *always* have the same process - its dedicated to me - so I can keep my state in the PGA
understand
A reader, September 04, 2017 - 8:11 am UTC
in the above explanation i had understand,the UGA not fetch or sort the huge records that's why instead of UGA we are using temp files is it right.........
September 05, 2017 - 6:27 am UTC
No, it works the same - it just determines whether the memory you are using sits in the PGA (your private process) or in the SGA (still private to you but in shared memory because you are using shared processes)