SHOW Statements SHOW PROFILES The  SHOW PROFILES  statement, together with  SHOW PROFILE , displays profiling information that indicates resource usage for statements executed during the course of the current session. For more information, see Section 13.7.7.30, “SHOW PROFILE Statement” . The  SHOW PROFILE  and  SHOW PROFILES  statements are deprecated; expect it to be removed in a future MySQL release. Use the Performance Schema instead; see Section 27.19.1, “Query Profiling Using Performance Schema” . SHOW RELAYLOG EVENTS Issuing a  SHOW RELAYLOG EVENTS  with no  LIMIT  clause could start a very time- and resource-consuming process because the server returns to the client the complete contents of the relay log (including all statements modifying data that have been received by the replica). The  LIMIT  clause has the same syntax as for the  SELECT  statement. See Section 13.2.10, “SELECT Statement” . Note The optional  FOR CHANNEL  channel  clause enables you to name which replication channel the statement applies to. Providing a  FOR CHANNEL  channel  clause applies the statement to a specific replication channel. If no channel is named and no extra channels exist, the statement applies to the default channel. When using multiple replication channels, if a  SHOW RELAYLOG EVENTS  statement does not have a channel defined using a  FOR CHANNEL  channel  clause an error is generated. See Section 17.2.2, “Replication Channels”  for more information. An identifier that describes the event type. The position at which the event occurs. The name of the file that is being listed. SHOW RELAYLOG EVENTS  displays the following fields for each event in the relay log: 2947 Shows the events in the relay log of a replica. If you do not specify  ’ log_name ’ , the first relay log is displayed. This statement has no effect on the source.  SHOW RELAYLOG EVENTS  requires the REPLICATION SLAVE  privilege. Note 13.7.7.32 SHOW RELAYLOG EVENTS Statement • Log_name • Pos • Event_type [IN ’ log_name ’] [FROM  pos ] [LIMIT [ offset ,]  row_count ] [ channel_option ] channel_option : FOR CHANNEL  channel