MySQL主库大表执行delete语句,Ctrl+C具体发生了什么分析
1、查看表结构
localhost.qt>show create table doctor_stats_backup\G
*************************** 1. row ***************************
Table: doctor_stats_backup
Create Table: CREATE TABLE `doctor_stats_backup` (
`id` int(10) unsigned NOT NULL DEFAULT '0',
`uid` int(10) unsigned NOT NULL DEFAULT '0',
`typeact` tinyint(3) unsigned NOT NULL DEFAULT '0',
`flag` tinyint(3) unsigned NOT NULL DEFAULT '1',
`intime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`qid` int(10) unsigned NOT NULL DEFAULT '0',
`rid` int(10) unsigned NOT NULL DEFAULT '0',
KEY `intime` (`intime`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1
1 row in set (0.00 sec)
2、查看行数