troubleshooting Question

How to improve performance of Hash Join in 9.2.0.7

Avatar of ylatey
ylatey asked on
Oracle Database
3 Comments1 Solution1450 ViewsLast Modified:
Hi Experts,

  I am facing very peculiar problem in tuning one specific table.
  I have one table which had 150 Million Records (47 GB size, non partitioned) and another approximately of same size also non partitioned.
 I need the data from both these tables and almost all the records will be meeting the join condition which is equijoin, so i prefer using Hash join with parallel 16.
 When i montor the process both the tables are ready within 30 mins but HASH join takes more than 8 hours to complete.
I have explored following options for this but with no success.
1. Workarea polciy to be auto and PGA_AGGREGATE_TARGET 3 GB
2. Workarea policy manual, HASH_AREA_SIZE 100M with parallel 32  at session level

  Can anyone please throw some light on improving this hash join performance.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros