2005-12-21から1日間の記事一覧

MySQLの show status / show variables の結果から、必要な行だけを抽出する

show status / show variables には、LIKE句を付加することができる。 mysql> show status like 'Com_select'; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | Com_select | 93903 | +---------------+-------+ 1 row in…