wangbo opened a new pull request, #38701:
URL: https://github.com/apache/doris/pull/38701
## Proposed changes
query schema table processlist support show all fe
```
mysql [information_schema]>select * from processlist;
+-------------------+------+------+------------------+---------------------+----------+--------------------+---------+------+-------+-----------------------------------+---------------------------+------------+---------------+
| CURRENT_CONNECTED | ID | USER | HOST | LOGIN_TIME |
CATALOG | DB | COMMAND | TIME | STATE | QUERY_ID
| INFO | FE | CLOUD_CLUSTER |
+-------------------+------+------+------------------+---------------------+----------+--------------------+---------+------+-------+-----------------------------------+---------------------------+------------+---------------+
| No | 0 | root | ip1:15070 | 2024-08-01 16:38:40 |
internal | | Sleep | 349 | EOF |
566a4d49ff244ad1-a70a065f3b3351ae | show frontends | ip1 | NULL
|
| No | 1 | root | ip1:19718 | 2024-08-01 16:44:58 |
internal | information_schema | Query | 0 | OK |
f19c4b24094441bd-a6b68c07938ed1f2 | select * from processlist | ip1 | NULL
|
+-------------------+------+------+------------------+---------------------+----------+--------------------+---------+------+-------+-----------------------------------+---------------------------+------------+---------------+
2 rows in set (0.05 sec)
mysql [information_schema]>set show_all_fe_connection = true;
Query OK, 0 rows affected (0.00 sec)
mysql [information_schema]>select * from processlist;
+-------------------+------+------+------------------+---------------------+----------+--------------------+---------+------+-------+-----------------------------------+----------------------------------+------------+---------------+
| CURRENT_CONNECTED | ID | USER | HOST | LOGIN_TIME |
CATALOG | DB | COMMAND | TIME | STATE | QUERY_ID
| INFO | FE | CLOUD_CLUSTER |
+-------------------+------+------+------------------+---------------------+----------+--------------------+---------+------+-------+-----------------------------------+----------------------------------+------------+---------------+
| No | 0 | root | ip1:15070 | 2024-08-01 16:38:40 |
internal | | Sleep | 360 | EOF |
566a4d49ff244ad1-a70a065f3b3351ae | show frontends | ip1 |
NULL |
| No | 1 | root | ip1:19718 | 2024-08-01 16:44:58 |
internal | information_schema | Query | 0 | OK |
82560d98af964c69-b9c61bc0b5cf564a | select * from processlist | ip1 |
NULL |
| No | 0 | root | ip2:54660 | 2024-08-01 16:45:18 |
internal | | Sleep | 68 | EOF |
a555a28a1b094f69-ad25198d5b54f166 | select @@version_comment limit 1 | ip2 |
NULL |
+-------------------+------+------+------------------+---------------------+----------+--------------------+---------+------+-------+-----------------------------------+----------------------------------+------------+---------------+
3 rows in set (0.02 sec)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]