2006-08-15 13:10:10 +02:00
|
|
|
prepare stmt1 from ' SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST WHERE COMMAND!=\'Daemon\' ';
|
2005-07-27 12:45:06 +02:00
|
|
|
execute stmt1;
|
2006-08-15 13:10:10 +02:00
|
|
|
ID USER HOST DB COMMAND TIME STATE INFO
|
2007-05-02 20:13:33 +02:00
|
|
|
number root localhost test Query time executing SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST WHERE COMMAND!='Daemon'
|
2005-07-27 12:45:06 +02:00
|
|
|
deallocate prepare stmt1;
|
2008-02-13 11:00:24 +01:00
|
|
|
FLUSH STATUS;
|
|
|
|
SHOW GLOBAL STATUS LIKE 'com_select';
|
|
|
|
Variable_name Value
|
|
|
|
Com_select 102
|
|
|
|
SHOW GLOBAL STATUS LIKE 'com_select';
|
|
|
|
Variable_name Value
|
|
|
|
Com_select 102
|