This article explains the meaning of "DDL or commits" and other SQL statements.
All versions of DPA.
DPA may show "DDL or commits" and other SQL Statements. This means that at the time DPA collected the information, the database instance did not have a SQL statement associated with the current session. The session is likely in one of the following situations:
1. The session was running a command that is not tracked by the database vendor as a traditional statement.
Data Definition Statements (DDL) - e.g. create table statements
2. The session was between SQL statements. When a session is running multiple SQL statements, it may spend time between the statements cleaning up after the last statement or preparing to accept the next one.
Drill into the "DDL or commits" to determine the program and waits associated with this classification. That information will often give a clue as to what is occurring.
Oracle SQL run from DBMS_JOB or DBMS_SCHEDULER
There are two Oracle-specific bugs that cause any SQL statement executed from DBMS_JOB or DBMS_SCHEDULER to show as "DDL or commits:"