s1 INT,
s2 INT,
s3 INT,
KEY(s1),
CONSTRAINT CO FOREIGN KEY (s2) REFERENCES t1(s3)
) ENGINE=InnoDB;
For those two tables, the
• One row with
ORDINAL_POSITION
• One row with
ORDINAL_POSITION
• REFERENCED_TABLE_SCHEMA, REFERENCED_TABLE_NAME, and
were added in MySQL 5.0.6.
19.7. The
INFORMATION_SCHEMA PROFILING
The
PROFILING
information produced by the
"SHOW PROFILES
1.
INFORMATION_SCHEMA
QUERY_ID
SEQ
STATE
DURATION
CPU_USER
CPU_SYSTEM
CONTEXT_VOLUNTARY
CONTEXT_INVOLUNTARY
BLOCK_OPS_IN
BLOCK_OPS_OUT
MESSAGES_SENT
MESSAGES_RECEIVED
PAGE_FAULTS_MAJOR
PAGE_FAULTS_MINOR
SWAPS
SOURCE_FUNCTION
SOURCE_FILE
SOURCE_LINE
Notes:
• The
PROFILING
•
QUERY_ID
•
is a sequence number indicating the display order for rows with the same
SEQ
•
is the profiling state to which the row measurements apply.
STATE
The
INFORMATION_SCHEMA PROFILING
KEY_COLUMN_USAGE
CONSTRAINT_NAME
= 1,
POSITION_IN_UNIQUE_CONSTRAINT
CONSTRAINT_NAME
= 1,
POSITION_IN_UNIQUE_CONSTRAINT
table provides statement profiling information. Its contents correspond to the
SHOW PROFILES
Syntax"). The table is empty unless the
Name
table was added in MySQL 5.0.37.
is a numeric statement identifier.
table has two rows:
= 'PRIMARY',
TABLE_NAME
= 'CO',
= 't3',
TABLE_NAME
and
SHOW PROFILE
profiling
Name
SHOW
Query_ID
Status
Duration
CPU_user
CPU_system
Context_voluntary
Context_involuntary
Block_ops_in
Block_ops_out
Messages_sent
Messages_received
Page_faults_major
Page_faults_minor
Swaps
Source_function
Source_file
Source_line
1721
Table
= 't1',
COLUMN_NAME
= NULL.
= 's2',
COLUMN_NAME
= 1.
REFERENCED_COLUMN_NAME
Table
statements (see
Section 13.7.5.29,
[483]
session variable is set to
Remarks
QUERY_ID
= 's3',
value.
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers