mysqlcheck(MyISAM表维护工具)
mysqlheck [option] db_name [tables]
-c --check(检查表)
-r --repair(修复表)
-a --analyze(分析表)
-o --optimize(检查表)
[root@node01 sakila]# mysqlcheck -S /tmp/mysql3306.sock -uroot -p -c qq
Enter password:
qq.book OK
qq.comps_test1 OK
qq.comps_test2 OK
qq.course OK
qq.course2 OK
qq.gen OK
qq.myisam_char OK
qq.mytest OK
qq.qt OK
qq.rc1 OK
qq.t OK
qq.t1 OK
qq.t2 OK
qq.t5 OK
qq.t6 OK
qq.t_ai_1 OK
qq.t_lock_1 OK
qq.t_lock_2 OK
qq.t_lock_4 OK
qq.t_lock_8 OK
qq.tcv OK
qq.teacher OK
qq.teacher2 OK
qq.teacherCard OK
qq.test01 OK
qq.test_bin_1 OK
qq.test_heap OK
qq.test_index_1 OK
qq.test_rc OK
qq.test_xa_1 OK
qq.tid OK
qq.trans_test_1 OK
qq.trans_test_2 OK
qq.ts OK
qq.tt OK
qq.tt4 OK
qq.tt5 OK
qq.tx OK
qq.userinfo OK
[root@node01 sakila]# mysqlcheck -S /tmp/mysql3306.sock -uroot -p -r qq
Enter password:
qq.book
note : The storage engine for the table doesn't support repair
qq.comps_test1
note : The storage engine for the table doesn't support repair
qq.comps_test2
note : The storage engine for the table doesn't support repair
qq.course
note : The storage engine for the table doesn't support repair
qq.course2
note : The storage engine for the table doesn't support repair
qq.gen
note : The storage engine for the table doesn't support repair
qq.myisam_char OK
qq.mytest
note : The storage engine for the table doesn't support repair
qq.qt
note : The storage engine for the table doesn't support repair
qq.rc1 OK
qq.t
note : The storage engine for the table doesn't support repair
qq.t1
note : The storage engine for the table doesn't support repair
qq.t2
note : The storage engine for the table doesn't support repair
qq.t5
note : The storage engine for the table doesn't support repair
qq.t6
note : The storage engine for the table doesn't support repair
qq.t_ai_1
note : The storage engine for the table doesn't support repair
qq.t_lock_1
note : The storage engine for the table doesn't support repair
qq.t_lock_2
note : The storage engine for the table doesn't support repair
qq.t_lock_4
note : The storage engine for the table doesn't support repair
qq.t_lock_8
note : The storage engine for the table doesn't support repair
qq.tcv
note : The storage engine for the table doesn't support repair
qq.teacher
note : The storage engine for the table doesn't support repair
qq.teacher2
note : The storage engine for the table doesn't support repair
qq.teacherCard
note : The storage engine for the table doesn't support repair
qq.test01
note : The storage engine for the table doesn't support repair
qq.test_bin_1
note : The storage engine for the table doesn't support repair
qq.test_heap
note : The storage engine for the table doesn't support repair
qq.test_index_1
note : The storage engine for the table doesn't support repair
qq.test_rc
note : The storage engine for the table doesn't support repair
qq.test_xa_1
note : The storage engine for the table doesn't support repair
qq.tid
note : The storage engine for the table doesn't support repair
qq.trans_test_1
note : The storage engine for the table doesn't support repair
qq.trans_test_2
note : The storage engine for the table doesn't support repair
qq.ts
note : The storage engine for the table doesn't support repair
qq.tt
note : The storage engine for the table doesn't support repair
qq.tt4
note : The storage engine for the table doesn't support repair
qq.tt5
note : The storage engine for the table doesn't support repair
qq.tx
note : The storage engine for the table doesn't support repair
qq.userinfo
note : The storage engine for the table doesn't support repair
[root@node01 sakila]# mysqlcheck -S /tmp/mysql3306.sock -uroot -p -a qq
Enter password:
qq.book OK
qq.comps_test1 OK
qq.comps_test2 OK
qq.course OK
qq.course2 OK
qq.gen OK
qq.myisam_char OK
qq.mytest OK
qq.qt OK
qq.rc1 OK
qq.t OK
qq.t1 OK
qq.t2 OK
qq.t5 OK
qq.t6 OK
qq.t_ai_1 OK
qq.t_lock_1 OK
qq.t_lock_2 OK
qq.t_lock_4 OK
qq.t_lock_8 OK
qq.tcv OK
qq.teacher OK
qq.teacher2 OK
qq.teacherCard OK
qq.test01 OK
qq.test_bin_1 OK
qq.test_heap OK
qq.test_index_1 OK
qq.test_rc OK
qq.test_xa_1 OK
qq.tid OK
qq.trans_test_1 OK
qq.trans_test_2 OK
qq.ts OK
qq.tt OK
qq.tt4 OK
qq.tt5 OK
qq.tx OK
qq.userinfo OK
[root@node01 sakila]# mysqlcheck -S /tmp/mysql3306.sock -uroot -p -o qq
Enter password:
qq.book
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.comps_test1
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.comps_test2
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.course
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.course2
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.gen
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.myisam_char OK
qq.mytest
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.qt
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.rc1
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.t
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.t1
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.t2
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.t5
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.t6
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.t_ai_1
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.t_lock_1
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.t_lock_2
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.t_lock_4
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.t_lock_8
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.tcv
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.teacher
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.teacher2
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.teacherCard
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.test01
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.test_bin_1
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.test_heap
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.test_index_1
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.test_rc
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.test_xa_1
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.tid
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.trans_test_1
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.trans_test_2
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.ts
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.tt
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.tt4
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.tt5
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.tx
note : Table does not support optimize, doing recreate + analyze instead
status : OK
qq.userinfo
note : Table does not support optimize, doing recreate + analyze instead
status : OK
mysqlcheck(MyISAM表维护工具)的更多相关文章
- mysql 开发进阶篇系列 34 工具篇 mysqlcheck(MyISAM表维护工具)
一.概述 mysqlcheck客户端工具可以检查和修复MyISAM表,还可以优化和分析表.实际上,它集成了mysql工具中check,repair,analyze,optimize功能,对于check ...
- sap表维护工具来维护自定义表&视图簇的使用
一.通过表维护工具维护自定义表 1.SE11创建表 2.se11界面的菜单:实用程序->Table Maintenance Generator其实这里就是调用SE54 3.sm30 调用维护好的 ...
- restapi(2)- generic restful CRUD:通用的restful风格数据库表维护工具
研究关于restapi的初衷是想搞一套通用的平台数据表维护http工具.前面谈过身份验证和使用权限.文件的上传下载,这次来到具体的数据库表维护.我们在这篇示范里设计一套通用的对平台每一个数据表的标准维 ...
- mysql 开发进阶篇系列 31 工具篇(mysql连接工具与MyISAM表压缩工具)
一.mysql 连接工具 在mysq提供的工具中,DBA使用最频繁的莫过于mysql.这里的mysql是指连接数据库的客户端工具. 1.1 连接选项 -u, -- user=name 指定用户名 -p ...
- MyISAM表的维护和恢复
本节将讨论如何使用myisamchk检查和修复MyISAM表. 同时,你可以用myisamchk来检查,修复和优化数据库表.下面将讲述如何执行这些操作并建立维护计划. 虽然使用myisamchk很安全 ...
- MySQL优化篇系列文章(二)——MyISAM表锁与InnoDB锁问题
我可以和面试官多聊几句吗?只是想... MySQL优化篇系列文章(基于MySQL8.0测试验证),上部分:优化SQL语句.数据库对象,MyISAM表锁和InnoDB锁问题. 面试官:咦,小伙子,又来啦 ...
- Wsyscheck(系统检测维护工具) v1.68.33绿色版
软件名称:系统检测维护工具(Wsyscheck) v1.68.33绿色版软件类别:国产软件运行环境:windows软件语言:简体中文授权方式:免费版软件大小:1022 KB软件等级:整理时间:2011 ...
- abap 开发之创建表维护生成器
在sap开发中有时需要对一些自建表维护数据,但又不想写程序,怎么办呢??这个时候我们可以直接生成个表维护生成器,为其定义一个事物码就ok了.以下是表格维护生成器的生成步骤. 首先我们需要先定义表.输入 ...
- 锁(MySQL篇)—之MyISAM表锁
前言 锁是计算机协调多个进程或线程并发访问某一资源的机制,在数据库中,除传统的计算资源(如CPU.RAM.I/O等)的争用以外,数据也是一种供许多用户共享的资源.如何保证数据并发访问的一致性.有效性是 ...
随机推荐
- 【转】JS中处理Number浮点数精度问题
https://github.com/dt-fe/number-precision ~(function(root, factory) { if (typeof define === "fu ...
- eclipse的maven中需要把jar的包文件登入到自己的仓库里面的操作
问题的描述 从别人那拿到了Java maven的工程,导入自己的eclipse中之后编译的时候出现包文件找不到,之后把工程进行maven的update project之后,pom.xml文件出现错误, ...
- svn查看登录过的账号密码
直接下载:http://www.leapbeyond.com/ric/TSvnPD/
- 一个unsigned int 数的二进制表示中有多少个1
这是一道面试题可以用以下的一些方案.第一种是很容易想到的采用循环的方式并且与1进行位与运算,具体代码如下. 1unsigned int GetBitNumOfOne_ByLoop1(unsigned ...
- maybatis调用函数和过程的区别
//定义存储过程create or replace procedure pag_add(p1 varchar2,p2 varchar2,p3 out varchar2) as begin p3:=p1 ...
- SQL优化——select
MYSQL优化实施方案:https://www.cnblogs.com/clsn/p/8214048.html 对查询时经常用到的字段建立索引,如包含多个也可以构建复合索引,建立索引之后需要注意的一点 ...
- 使用qt creator来编译 调试 用CMakeLists组织的工程
爱情原如树叶一样,在人忽视里绿了,在忍耐里露出蓓蕾. -- 何其芳 使用CMake作为构建系统,需要自己写 ...
- quartz定时任务存储
今天不聊quartz的概念,像任务bean,触发器,调度器这些随随便便都可以百度到,其中任务bean要实现job接口.对于这些创建生成的定时任务,它可以保存在内存中,重启失效,也可以保存在数据库里重启 ...
- vim 常用命令总结(排版精良,内容优质)
1. 格式说明 <xxx>:尖括号的含义表示这是一个占位参数,也就是必须有的参数,实际输入的内容是 xxx [xxx]:方括号的含义表示这是一个可选参数,也就是可有可无,实际输入的内容是 ...
- 第四章 函数之lambda 表达式和内置函数
4.5 lambda 表达式 用于表示简单的函数. # 三元运算,为了解决简单的if else的情况,如:if 1 == 1: a = 123else: a = 456# 相当于a = 1 ...