PROFILING table provides
statement profiling information. Its contents correspond to the
information produced by the
statements (see Section 18.104.22.168, “SHOW PROFILES Syntax”). The table is
empty unless the
session variable is set to 1.
This table is deprecated as of MySQL 5.7.2 and will be removed in a future MySQL release. Use the Performance Schema instead; see Chapter 23, MySQL Performance Schema.
QUERY_IDis a numeric statement identifier.
SEQis a sequence number indicating the display order for rows with the same
STATEis the profiling state to which the row measurements apply.
DURATIONindicates how long statement execution remained in the given state, in seconds.
CPU_SYSTEMindicate user and system CPU use, in seconds.
CONTEXT_INVOLUNTARYindicate how many voluntary and involuntary context switches occurred.
BLOCK_OPS_OUTindicate the number of block input and output operations.
MESSAGES_RECEIVEDindicate the number of communication messages sent and received.
PAGE_FAULTS_MINORindicate the number of major and minor page faults.
SWAPSindicates how many swaps occurred.
SOURCE_LINEprovide information indicating where in the source code the profiled state executes.