728x90

1. 인스턴스의 일반적인 정보 (현재 사용자, 버전, 캐릭터셋)

mysql> status;


2. 해당 테이블에 대한 DDL

mysql> show create table table_name;


3. 특정 데이터베이스의 테이블 상태 (사이즈, 생성일자, 업데이트일자, Collation등)

mysql> show table status from database_name;


4. 사용자에게 부여된 권한

mysql> show grants for [for user];


5. 실행중인 스레드

mysql> show [full] processlist;



http://comnic.tistory.com/entry/MySQL-%EC%9C%A0%EC%9A%A9%ED%95%9C-%EB%AA%85%EB%A0%B9%EC%96%B4-%EB%AA%A8%EC%9D%8C-1-SHOW

728x90

+ Recent posts