Link to home
Start Free TrialLog in
Avatar of ylatey
ylatey

asked on

How to improve performance of Hash Join in 9.2.0.7

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.
Avatar of mohammadzahid
mohammadzahid
Flag of Canada image

Here are some tips on using Hash joins correctly. Let me know if you have any questions or need clarification on the contents in the url below.

http://www.dba-oracle.com/tips_oracle_hash_joins.htm



Avatar of iwan_drago
iwan_drago

Can you share the SQL with us? And maybe information about indexes.
ASKER CERTIFIED SOLUTION
Avatar of ylatey
ylatey

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial