Favourite performance tuning tricks?
When you have a query or stored procedure that needs performance tuning, what are some of the first things you try?
Ron E.
answered 04/29/20
PL/SQL / SQL / Database Design Tutor
- I comment out one table at a time to see which tables/joins is causing the slowness. Based on that, I add the proper indexes to help performance.
- Eliminate outer joins wherever possible.
- Eliminate using DISTINCT in SELECT statement wherever possible.
- Play with joins or use nested queries (ex. WHERE EXISTS) to see which performs better.
Still looking for help? Get the right answer, fast.
OR
Find an Online Tutor Now
Choose an expert and meet online.
No packages or subscriptions, pay only for the time you need.