• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 867
  • Last Modified:

configure PGA on oracle 11g

Hello,

Herewith the init.ora, I can find ORA-01652 in the alert.log. I don't understand why queries don't
use PGA.
Can you help, me?

Thanks

Regards

bibi
Init-PRF.xls
0
bibi92
Asked:
bibi92
  • 5
  • 5
  • 2
  • +1
1 Solution
 
Aaron ShiloCommented:
hi

you should increase the sort_area_size value.
0
 
slightwv (䄆 Netminder) Commented:
Increase sort_area_size to eliminate an ORA-01652?

This message means something is trying to use more TEMP space than is available.  It 'might' be because of a sort filling up available sort area and trying to use TEMP but if your TEMP tablespace is filling up then I doubt you have the memory for it to sort there.


You need to track down what is filling up TEMP and possible increase the size of the datafiles.

0
 
AkenathonCommented:
Please show the evidence that the query does not use PGA. The error does not imply such a thing. The query plus an autotrace would be a good starting point
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
bibi92Author Commented:
How can I do this?

Thanks

Regards

bibi
0
 
slightwv (䄆 Netminder) Commented:
>>How can I do this?

Do what?  There have been three posts.  Each saying something different.
0
 
bibi92Author Commented:
Hello, I have trace the session and I see that HASH JOIN takes 1908287383. I read that there is a bug on oracle '_OPTIMIZER_COST_BASED_TRANSFORMATION' will be set to off on 10g.
But, is it the same thing for oracle 11g?

Thanks

bibi
0
 
slightwv (䄆 Netminder) Commented:
>>But, is it the same thing for oracle 11g?

Look at the bug report on Oracle Support to see what version the bug was fixed in.
0
 
bibi92Author Commented:
No it isn't the same thing.

Thanks

bibi
0
 
slightwv (䄆 Netminder) Commented:
I'm having a hard time following your posts.

First you posted:  How can I do this?
I responded with we do not understand "do this"

You replied:  But, is it the same thing for oracle 11g?
I respond that you'll need to refer to the bug you found.

You reply:   No it isn't the same thing.

Where do we stand with this question?  I'm completely lost.
0
 
AkenathonCommented:
Again: you are claiming that your SQL is NOT using the PGA, and using "too much" temporary segment space. What is YOUR evidence to make that claim? The error shows that you have run out of temporary space, NOT that the SQL "bypassed" the PGA, so why are you claiming such a thing?
0
 
bibi92Author Commented:
Because, The size of PGA is 15gb and directly I have checked that SQL using directly temporary segment.

Thanks

Regards
bibi
0
 
slightwv (䄆 Netminder) Commented:
By chance do you have the parameter sort_area_size set?

You should really use Automatic Memory Management in 11g.  Starting with 11g you no longer even set the PGA parameters.

I'll refer you to the docs for setting this up:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/memory003.htm#ADMIN11011
0
 
bibi92Author Commented:
Thanks bibi
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

  • 5
  • 5
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now