Bug #62474 | Optimize table dropping big tables | ||
---|---|---|---|
Submitted: | 19 Sep 2011 14:12 | Modified: | 8 Aug 2012 17:51 |
Reporter: | Eber M. Duarte | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: InnoDB Plugin storage engine | Severity: | S1 (Critical) |
Version: | 5.1.56-log | OS: | Linux (Red Hat 5.7 Tikanga) |
Assigned to: | CPU Architecture: | Any | |
Tags: | Linux hera 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_6 |
[19 Sep 2011 14:12]
Eber M. Duarte
[19 Sep 2011 14:44]
Valeriy Kravchuk
How exactly you upgraded? Had you dumped your data from 4.1 with mysqldump and reloaded them in 5.1? Had you executed mysql_upgrade script in 5.1 after upgrade?
[19 Sep 2011 18:32]
Eber M. Duarte
I dumped the whole databases in 4.1 with mysqldump and reloaded them in 5.1, except for mysql database. For this database I exported grants (show grants) and re-executed in this new fresh installation. That is, no file from 4.1 was reused in this new version. No mysql_upgrade involved, since I loaded data from dump. Let me know in case I can give you more info. Thanks. Eber.
[20 Sep 2011 17:18]
Sveta Smirnova
Thank you for the feedback. Could you send us dump of one of tables which disappeared? Thanks in advance.
[20 Sep 2011 17:19]
Sveta Smirnova
See also bug #62100
[21 Sep 2011 12:28]
Eber M. Duarte
Here is table structure for one of the disappeared tables: CREATE TABLE `ativos_historico` ( `usr_id` int(11) unsigned NOT NULL DEFAULT '0', `status_id_new` tinyint(3) unsigned NOT NULL DEFAULT '0', `status_id_old` tinyint(3) unsigned NOT NULL DEFAULT '0', `data` date NOT NULL DEFAULT '0000-00-00', KEY `usr_id_status_Id_new_status_Id_old_ix` (`usr_id`,`status_id_new`,`status_id_old`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='historico do ativos' ; Some data inside the table: INSERT INTO `ativos_historico` VALUES (4164745,5,9,'2009-04-17'); INSERT INTO `ativos_historico` VALUES (5017793,5,9,'2009-04-17'); INSERT INTO `ativos_historico` VALUES (6013421,5,9,'2009-04-17'); INSERT INTO `ativos_historico` VALUES (7089545,5,9,'2009-04-17'); INSERT INTO `ativos_historico` VALUES (9502463,5,9,'2009-04-17'); INSERT INTO `ativos_historico` VALUES (10313503,5,9,'2009-04-17'); INSERT INTO `ativos_historico` VALUES (9020949,5,3,'2009-04-17'); INSERT INTO `ativos_historico` VALUES (4940758,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (5861024,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (8003320,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (8803974,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (8895588,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (9870793,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (10098489,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (10133520,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (10202964,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (10258813,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (10299457,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (10317216,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (10317528,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (10347637,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (1272044,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (1310840,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (1562677,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (1780976,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (1865419,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (1880729,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (1924414,5,9,'2009-04-18'); INSERT INTO `ativos_historico` VALUES (2021616,5,9,'2009-04-18'); Thanks e let me know in case you need anything else. Eber.
[20 Feb 2012 19:21]
Sveta Smirnova
Looks very similar to verified bug #62100. Need to check when it is fixed.
[8 Jul 2012 17:51]
Valeriy Kravchuk
Please, check if the same problem still happens with a newer version, 5.1.63 (bug Sveta mentioned above is fixed there)
[9 Aug 2012 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".