MySQL社区

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
查看: 11752|回复: 2
打印 上一主题 下一主题

简明教程 - 日常维护

[复制链接]
跳转到指定楼层
1#
发表于 2015-7-30 18:33:29 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
出处:www.mysqlpub.com,不断完善更新中。
http://www.mysqlpub.com/thread-59103-1-1.html,转载请注明。


查看MySQL运行进程
mysql>show processlist;

查看Innodb引擎运行情况:
mysql>show engine innodb status\G

查看MySQL参数情况:
mysql>show [global] variables like '%innodb%';

查看MySQL运行状态:
mysql>show [global] status like '%thread%';

查看表、存储过程、触发器:
mysql>show tables;
mysql>show procedure status;  show create procedure USP_Cursor;
mysql>show triggers; show create trigger TRI_UP_User_Delete;

查看MySQL帮助:
mysql>help;
mysql>help conntents;
mysql>help show;


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享淘帖 顶 踩
2#
发表于 2015-10-13 18:26:17 | 只看该作者
这个太简单了把,cpu、内存、IO等系统资源情况也要监控啊
     
3#
发表于 2017-4-27 17:59:22 | 只看该作者
基本但是有用的东西
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|申请友链|小黑屋|Archiver|手机版|MySQL社区 ( 京ICP备07012489号   
联系人:周生; 联系电话:13911732319

GMT+8, 2024-4-20 18:47 , Processed in 0.067318 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表