my2sql icon indicating copy to clipboard operation
my2sql copied to clipboard

是不是不支持分析myisam表

Open david6522 opened this issue 5 years ago • 6 comments

image 当执行上面生成回滚语句的时候报错,提示遇到的那个库表是myisam表就直接退出了,要是不支持myisam表分析的话,能否加过滤某个数据库的功能呢

david6522 avatar Oct 19 '20 02:10 david6522

能提供下myisam伪代码表结构吗,我这边可以测试下。可以加过滤库的参数呢,有时间我支持下这个功能。

liuhr avatar Oct 19 '20 04:10 liuhr

已经添加了-ignoreDatabases 、-ignoreTables 可以用来过滤库或表。

liuhr avatar Oct 19 '20 05:10 liuhr

能提供下myisam伪代码表结构吗,我这边可以测试下。可以加过滤库的参数呢,有时间我支持下这个功能。

CREATE TABLE heartbeat ( port smallint(5) unsigned NOT NULL DEFAULT '3306', onlinetime timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (port) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;

david6522 avatar Oct 19 '20 05:10 david6522

已经添加了-ignoreDatabases 、-ignoreTables 可以用来过滤库或表。

so fast,3Q

david6522 avatar Oct 19 '20 05:10 david6522

报错问题验证了,当前还不能解析库名(360monitor)开头带数字形式。

liuhr avatar Oct 19 '20 06:10 liuhr

360monitor 晓得了

david6522 avatar Oct 19 '20 06:10 david6522