Database Tuning (MOSC)

MOSC Banner

Long running query in Oracle database 19.17.0.0.0 running on Linux server

in Database Tuning (MOSC) 4 commentsAnswered ✓

The query is running long with a wait event "Direct Path Temp".  

I noticed the sql_id and the hash plan value of the query remain the same. 

Earlier, the query took less than 30 minutes to complete whereas today it is running long for 2 hours . 

I have checked the SQL Monitor report and noticed the query is spending more time on "Hash Join". The I/O bytes of the query are also high compared to past runs.

Please advice me what actions I can take to reduce the run time of the query?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center