Performance Tuning Custom PL/SQL and SQL in EBS
Explain the standard toolkit and methodology for diagnosing and fixing slow custom code in EBS
Performance tuning in an EBS context follows a fairly standard Oracle DBA/developer methodology, but with EBS-specific tools layered on top. FND_TRACE (or setting the profile Initialization SQL Statement - Custom / enabling trace via the Concurrent Program's 'Enable Trace' checkbox) captures a raw SQL trace file for a concurrent request, which is then formatted with TKPROF to reveal exactly which SQL statements consumed the most time, how many times they executed, and their execution plans.
Performance tuning without tracing is like trying to fix a car by guessing which part is broken; tracing and TKPROF are like plugging in an actual diagnostic scanner that tells you precisely which component (SQL statement) is consuming the most 'fuel' (time/resources) before you start replacing parts.