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 20, MySQL Performance Schema.
QUERY_ID is a numeric statement identifier.
SEQ is a sequence number indicating the
display order for rows with the same
STATE is the profiling state to which the
row measurements apply.
DURATION indicates how long statement
execution remained in the given state, in seconds.
indicate user and system CPU use, in seconds.
CONTEXT_INVOLUNTARY indicate how many
voluntary and involuntary context switches occurred.
BLOCK_OPS_OUT indicate the number of block
input and output operations.
MESSAGES_RECEIVED indicate the number of
communication messages sent and received.
PAGE_FAULTS_MINOR indicate the number of
major and minor page faults.
SWAPS indicates how many swaps occurred.
SOURCE_LINE provide information indicating
where in the source code the profiled state executes.