show databases;
use isutomo;
desc tweets;desc users;
show index from tweets;show index from users;
SELECT table_name, engine, table_rows, avg_row_length, floor((data_length+index_length)/1024/1024) as allMB, floor((data_length)/1024/1024) as dMB, floor((index_length)/1024/1024) as iMB FROM information_schema.tables WHERE table_schema=database() ORDER BY (data_length+index_length) DESC;
show variables like "%slow%"
- isuがつくユニットを取得
systemctl list-units | grep isu
- 特定サービスのstatusをみる(リスタートする)など
systemctl status (restart, start) isuda.ruby.service