Skip to content

Com_show_profile

xiaoboluo768 edited this page Jun 14, 2020 · 2 revisions
  • 执行SHOW PROFILE [type [, type] ... ] [FOR QUERY n] [LIMIT row_count [OFFSET offset]] 语句的次数
type:
    ALL
  | BLOCK IO
  | CONTEXT SWITCHES
  | CPU
  | IPC
  | MEMORY
  | PAGE FAULTS
  | SOURCE
  | SWAPS

......
Optional type values may be specified to display specific additional
types of information:
o ALL displays all information
o BLOCK IO displays counts for block input and output operations
o CONTEXT SWITCHES displays counts for voluntary and involuntary
  context switches
o CPU displays user and system CPU usage times
o IPC displays counts for messages sent and received
o MEMORY is not currently implemented
o PAGE FAULTS displays counts for major and minor page faults
o SOURCE displays the names of functions from the source code, together
  with the name and line number of the file in which the function
  occurs
o SWAPS displays swap counts

上一篇:Slave_open_temp_tables | 下一篇:Locked_connects

Clone this wiki locally