Bug #70621 | Suddenly "Table doesn't exist" | ||
---|---|---|---|
Submitted: | 15 Oct 2013 8:00 | Modified: | 17 Nov 2013 18:41 |
Reporter: | Nitsan Daniel | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | mysql-5.5.2 | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | innodb |
[15 Oct 2013 8:00]
Nitsan Daniel
[15 Oct 2013 12:25]
MySQL Verification Team
Thank you for the bug report. Unlucky you are reporting a bug without a test case also with a quite older server version 5.5.2 the current releae is 5.2.34. Are you able to upgrade and test?. Thanks.
[15 Oct 2013 16:47]
Nitsan Daniel
I'm ok with upgrading. The question is if there was any change between the two versions that may be related to my problem.
[15 Oct 2013 16:59]
MySQL Verification Team
A bug is always tested against the last release there is no a back port fix so should have a test case which we can test against the last release. Thanks.
[7 Nov 2013 12:41]
Nitsan Daniel
I just find that a couple of hours before I started the problem I got the following error in the log: java.sql.BatchUpdateException: Table '`my_db`.`my_table` /* Partition `p0000001379426400000` */' already exists This is the same table that had the problems reported a couple of hours later. Can you please tell me if there might be any possible connection between the two log messages? Plus, Can you please elaborate on which cases that you are aware of the problem that I'm describing can occur? Only one table reported as not exist.
[7 Nov 2013 12:57]
Nitsan Daniel
One more thing. Before getting the 'table don't exists' problem we got 'java.sql.SQLException: Got error 28 from storage engine' in the customer's logs. We asked the user to increase the disk space.
[15 Nov 2013 19:59]
Sveta Smirnova
Thank you for the feedback. Most common cause of such errors is table corruption. And last error message confirms this: "One more thing. Before getting the 'table don't exists' problem we got 'java.sql.SQLException: Got error 28 from storage engine' in the customer's logs. We asked the user to increase the disk space." Therefore, and because you use very old version, which was *not* released as GA yet, I close the report as not a bug. If you would see same error with current version 5.5.34 and up and not caused by corruption, feel free to reopen the report.
[17 Nov 2013 18:37]
Nitsan Daniel
Thanks for the response. I can't upgrade to a newer MySQL version as this is a customer working in production with our product, paying us money and asking for support (just as we pay money to MySQL, asking for support). I understand you don't support this version, but I would expect to get any helpful advice, what can cause this kind of behavior. Any suggestion, what should we look for\ask our customer. I'm not sure how can you mark this a 'Not a Bug' as this is evidently some kind of a problem. Furthermore, the client is now reporting that he gets the same error but now with a different table. It's not reasonable that we will need to delete all their data each time this is happening.
[17 Nov 2013 18:41]
Nitsan Daniel
One more question. Do you think that moving to use MyISAM will solve the problem?
[18 Nov 2013 17:41]
Sveta Smirnova
Thank you for the feedback. > (just as we pay money to MySQL, asking for support). If you are paying money to MySQL, please open Support Request and we will help you. This is a bug database, purpose of which is to identify and verify bugs in MySQL code, not to solve user issues. And your case looks like not MySQL bug, but rather temporarily lack of space. And if you don't have enough space, simply altering tables won't help. Symptom can differ, but no storage engine can work properly if there is no space to store data.
[25 Sep 2018 11:14]
lai Luchrise
select 姓名, #table doesn't exist....... bug? no ,hide code... sum(case when 科目 = '语文' then 成绩 else 0 end) as "语文", sum(case when 科目 = '数学' then 成绩 else 0 end) as "数学", sum(case when 科目 = '英语' then 成绩 else 0 end) as "英语", sum(case when 科目 = '语文' or 科目 = '数学' or 科目 = '英语' then 成绩 else 0 end ) as "总成绩" # from student group by 姓名; from student group by 姓名; #bug report !!!!!!!! if you use this sentence... #from student group by 姓名; # it's oK! is there some hiden code in this sentence? ps: it's copied from some where..
[25 Sep 2018 11:17]
lai Luchrise
-- create table student(xingming varchar(10),kemu varchar(10),chengji tinyint); -- insert into student values('张三','语文',20); -- insert into student values('张三','数学',30); -- insert into student values('张三','英语',50); -- insert into student values('李四','语文',70); -- insert into student values('李四','数学',60); -- insert into student values('李四','英语',90);
[25 Sep 2018 11:19]
lai Luchrise
-- create table student(姓名 varchar(10),科目 varchar(10),成绩 tinyint); -- insert into student values('张三','语文',20); -- insert into student values('张三','数学',30); -- insert into student values('张三','英语',50); -- insert into student values('李四','语文',70); -- insert into student values('李四','数学',60); -- insert into student values('李四','英语',90);