SHOW PROCESSLIST

UDDB 支持 show processlist 语句,由于一个UDDB有多个路由节点/分析节点,为此在MySQL show processlist的基础上,还增加了MwIp这个字段,用来展示该会话出于那个路由节点/分析节点上。

 mysql\> show processlist;
+---------------+----+-------+---------------------+-----+---------+------+-------+------------------+

|      |    |      |      |    |         |      |       |      |
| MwIp | Id | User | User | Db | Command | Time | State | Info |

\+---------------+----+-------+---------------------+-----+---------+------+-------+------------------+

|               |   |       |                     |     |       |   |  |                  |
| 10.10.182.162 | f | shard | 10.10.182.162:57178 | db1 | Query | 0 |  | show processlist |

\+---------------+----+-------+---------------------+-----+---------+------+-------+------------------+
1 row in set (0.00 sec)