Bug #45637 Can't export a table that is relatively small. Many queries give me Err: 2013
| Submitted: | 21 Jun 2009 10:28 | Modified: | 19 Sep 2009 10:13 |
|---|---|---|---|
| Reporter: | Manuel Aude | Email Updates: | |
| Status: | No Feedback | Impact on me: | |
| Category: | MySQL Server: Errors | Severity: | S2 (Serious) |
| Version: | 5.0.75 | OS: | Linux (Ubuntu Jaunty) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | 2013, error | ||
[21 Jun 2009 10:28]
Manuel Aude
[21 Jun 2009 10:31]
Manuel Aude
Also, the line: net_read_timeout = 1024 Was added after trying all the queries. Even if it wasn't there, this would happen, and if it is, things don't change (apparently)
[21 Jun 2009 12:45]
Valeriy Kravchuk
Thank you for the problem report. Please, send the results of SHOW CREATE TABLE users\G SHOW TABLE STATUS LIKE 'users'\G Also, please, upload your entire error log (compressed).
[21 Jun 2009 14:24]
Manuel Aude
mysql> show create table users; +-------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Table | Create Table | +-------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | users | CREATE TABLE `users` ( `id` int(11) unsigned NOT NULL, `username` varchar(20) NOT NULL, `post_count` mediumint(9) NOT NULL default '0', `post_distribution` smallint(5) unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `usuario` (`username`), KEY `post_count` (`post_count`), KEY `post_distribution` (`post_distribution`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 | +-------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ 1 row in set (0.00 sec) mysql> show table status like 'users'; +-------+--------+---------+------------+--------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-----------------+----------+----------------+-------------------------+ | Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time | Update_time | Check_time | Collation | Checksum | Create_options | Comment | +-------+--------+---------+------------+--------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-----------------+----------+----------------+-------------------------+ | users | InnoDB | 10 | Compact | 399261 | 61 | 24690688 | 0 | 27262976 | 0 | NULL | 2009-06-11 18:55:34 | NULL | NULL | utf8_general_ci | NULL | | InnoDB free: 3174400 kB | +-------+--------+---------+------------+--------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-----------------+----------+----------------+-------------------------+ 1 row in set (0.93 sec) As I said, a very simple database =) And the error log, I'm not sure which one you want. Since I'm in Ubuntu, you probably want the one at /var/log/syslog? Since I'm not really sure which one you want, I will wait a bit until I'm sure about it. Thank you very much for such a quick response.
[21 Jun 2009 14:55]
Manuel Aude
mysql> analyze table users; +-----------------------+---------+----------+----------+ | Table | Op | Msg_type | Msg_text | +-----------------------+---------+----------+----------+ | gamefaqs_oracle.users | analyze | status | OK | +-----------------------+---------+----------+----------+ 1 row in set (0.29 sec) I hadn't tried that before. I'm surprised it didn't throw me error 2013 too.
[19 Aug 2009 10:13]
Sveta Smirnova
Thank you for the report. Error log contains information about table is corrupt. Did you do binary upgrade before starting to experience crashes? If so please run mysql_upgrade and inform us if it solves the problem. Otherwise please read http://dev.mysql.com/doc/refman/5.0/en/forcing-recovery.html, start mysqld with innodb_force_recovery > 0, dump the table, then restore and inform us if crashes are still repeatable with restored table.
[19 Sep 2009 23: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".
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.043 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.