Oracle 5.0 Reference Manual page 1213

Table of Contents

Advertisement

WHERE QUERY_ID = 2 ORDER BY SEQ;
13.7.5.29.
SHOW PROFILES
SHOW PROFILES
The
SHOW PROFILES
indicates resource usage for statements executed during the course of the current session. For more
information, see
13.7.5.30.
SHOW SLAVE HOSTS
SHOW SLAVE HOSTS
Displays a list of replication slaves currently registered with the master. Only slaves started with the
report-host=host_name
The list is displayed on any server (not just the master server). The output looks like this:
mysql>
SHOW SLAVE
+------------+-----------+------+-----------+
| Server_id
+------------+-----------+------+-----------+
|
192168010 | iconnect2 | 3306 | 192168011 |
| 1921680101 | athena
+------------+-----------+------+-----------+
• Server_id: The unique server ID of the slave server, as configured in the server's option file, or on
the command line with
• Host: The host name of the slave server, as configured in the server's option file, or on the
command line with
name as configured in the operating system.
• Port: The port the slave server is listening on.
• Master_id: The unique server ID of the master server that the slave server is replicating from.
Some MySQL versions report another variable,
used, and was eventually removed. (Bug #13963)
13.7.5.31.
SHOW SLAVE STATUS
SHOW SLAVE STATUS
This statement provides status information on essential parameters of the slave threads. It requires
either the
SUPER
If you issue this statement using the
semicolon to obtain a more readable vertical layout:
mysql>
SHOW SLAVE STATUS\G
*************************** 1. row ***************************
Important
Please note that the
of the MySQL 5.0 Community Server only.
Syntax
statement, together with
Section 13.7.5.28,
"SHOW PROFILE
Syntax
[1460]
HOSTS;
| Host
| Port | Master_id |
| 3306 | 192168011 |
--server-id=value
--report-host=host_name
Syntax
[578]
or
REPLICATION CLIENT
Slave_IO_State: Waiting for master to send event
Master_Host: localhost
Master_User: root
Master_Port: 3306
Connect_Retry: 3
Master_Log_File: gbichot-bin.005
Syntax
SHOW
and
SHOW PROFILE
PROFILE, displays profiling information that
SHOW
Syntax".
option are visible in this list.
[1442].
[1460]. Note that this can differ from the machine
Rpl_recovery_rank
[577]
privilege.
client, you can use a
mysql
1193
functionality is part
SHOW PROFILES
[1465]. This variable was never
statement terminator rather than a
\G
--

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents