FND Debug and Trace Settings – Oracle EBS SQL Report
Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™. Oracle EBS module: Application Object Library · all Application Object Library reports
Overview
Profile option values that switch on debug logging, SQL trace or a custom initialization SQL statement, at any level, and concurrent programs with SQL trace enabled.
Debug and trace settings left on in production slow down processing and fill the FND_LOG_MESSAGES table and the database trace directory.
Profile options are selected by internal names containing DEBUG or TRACE, excluding file, directory and module settings, plus FND: Debug Log Enabled and Initialization SQL Statement - Custom. Values N, No, F, 0, Off and None are not shown.
Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.
Report Parameters
Setting Type, Level
Oracle EBS Tables Used
fnd_profile_options_vl, fnd_profile_option_values, fnd_application_vl, fnd_responsibility_vl, fnd_nodes, hr_all_organization_units_vl, fnd_concurrent_programs_vl
Report Categories
Related Reports
FND Responsibility Access, FND Concurrent Requests, FND Profile Option Value Upload, FND Profile Option Values, FND User Login History, FND Responsibilities, FND FNDLOAD Object Transfer
Running This SQL Without Blitz Report
The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.
Download & Import Options
| Resource | Link |
|---|---|
| Excel Example Output | FND Debug and Trace Settings 12-Oct-2026 061640.xlsx |
| Blitz Report™ XML Import | FND_Debug_and_Trace_Settings.xml |
| SQL Source | FND Debug and Trace Settings.sql |
| Full Report on Enginatics | www.enginatics.com/reports/fnd-debug-and-trace-settings/ |
Case Study & Technical Analysis: FND Debug and Trace Settings
Executive Summary
The FND Debug and Trace Settings report lists the Oracle E-Business Suite profile option values that switch on debug logging, SQL trace or a custom initialization SQL statement, at every level where they can be set. It also lists concurrent programs that have SQL trace enabled. System administrators and DBAs use it to find debug and trace settings that were left on after an investigation, because these settings slow down processing and fill the FNDLOGMESSAGES table and the database trace directory. The report runs in Excel via Blitz Report, and each row shows who last changed the setting and when.
Business Challenge
- Forgotten diagnostic settings: Debug and trace profile options are often switched on during a support case and never reset, which degrades performance for all users.
- Log table growth: Debug logging writes to FNDLOGMESSAGES, which can grow quickly and affect maintenance and backup windows.
- Multi-level configuration: A profile option can be set at site, application, responsibility, user, server, operating unit or combined server and responsibility levels, so the active value is not always visible at the site level.
- Traceable changes: An administrator needs to know who changed a setting and when before reverting it.
The Solution
- Broad name detection: Profile options whose internal names contain DEBUG or TRACE are selected, excluding file, directory, path, URL, location and module settings that do not switch logging on.
- Named exceptions: The debug log enabled option and the custom initialization SQL statement are included by their internal names.
- Noise suppression: Values of N, No, F, 0, Off and None are excluded, so only active settings appear.
- Level resolution: Each setting is shown with its level name, such as the application, responsibility, user, node, or operating unit, and with the last update details.
- Trace-enabled programs: Concurrent programs with SQL trace enabled are listed as a separate setting type.
Technical Architecture (High Level)
Primary Tables
FND_PROFILE_OPTIONS_VL: the profile option definitions, with internal and user names.FND_PROFILE_OPTION_VALUES: the values set at each level, with level identifiers and last update details.FND_APPLICATION_VL: application names for application-level and concurrent program settings.FND_RESPONSIBILITY_VL: responsibility names for responsibility-level and operating unit settings.FND_NODES: server node names for server-level settings.HR_ALL_ORGANIZATION_UNITS_VL: operating unit names for operating unit-level settings.FND_CONCURRENT_PROGRAMS_VL: concurrent programs with SQL trace enabled.
Logical Relationships
FND_PROFILE_OPTIONS_VLis joined toFND_PROFILE_OPTION_VALUESon application and profile option identifiers.- The level identifier decides which lookup supplies the level name:
FND_APPLICATION_VLfor application level,FND_RESPONSIBILITY_VLfor responsibility and operating unit responsibility levels,FND_NODESfor server level andHR_ALL_ORGANIZATION_UNITS_VLfor operating unit level. User level uses the user name function. - The result is unioned with concurrent programs that have trace enabled, joined to
FND_APPLICATION_VL. - The final output is ordered by setting type, name, level and level name.
Parameters & Filtering
- Setting Type: Limits the output to profile option settings or to concurrent programs with SQL trace enabled.
- Level: Limits the output to one profile option level, such as Site, Application, Responsibility, User, Server, Operating Unit or Server+Responsibility.
The SQL text does not reference these two parameters through bind variables, so the rows listed are the full set of matching settings described above.
Performance & Optimization
- The profile option name filter uses regular expressions on
FND_PROFILE_OPTIONS_VL, which is a small definition table, so the main cost is in the value join. - Values of N, No, F, 0, Off and None are removed in the value filter before the level lookups, so only active settings reach the outer joins.
- Level lookups are outer joins with decode or case expressions, so each setting resolves to at most one row in each lookup table.
- The query does not use aggregation or analytic functions.
FAQ
Q: How do I find debug or SQL trace settings that are still switched on? A: Run the report; every row is an active debug or trace setting, with its level, level name and last updated by and date.
Q: Why does a setting appear for a responsibility rather than the site? A: Profile option values are stored per level, so a value set for one responsibility appears on its own row with the responsibility name as the level name.
Q: Which concurrent programs are running with SQL trace enabled? A: Rows with the setting type Concurrent Program show the programs whose SQL trace flag is set, with the application name as the level name.
Useful Links
- Blitz Report™ – World’s Fastest Oracle EBS Reporting Tool
- Oracle Discoverer Replacement – Import Worksheets into Blitz Report™
- Oracle EBS Reporting Toolkits by Blitz Report™
- Blitz Report™ FAQ & Community Q&A
- Supply Chain Hub by Blitz Report™
- Blitz Report™ Customer Case Studies
- Oracle EBS Reporting Blog
- Oracle EBS Reporting Resource Centre
© Enginatics GmbH