Long running query in Oracle database 19.17.0.0.0 running on Linux server
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?