|
|
|
| Re: mysql tables crashing [message #1994 is a reply to message #1697 ] |
Thu, 04 October 2007 18:40   |
 |
jcn50 Messages: 44 Registered: September 2007 |
Member |
|
|
I'll suggest a last attempt: a conversion to INNODB.
If an INNODB conversion doesn't change anything, it's an hardware problem (hard drive is having bad sectors/blocks).
We've tried everything on this. INNODB is the last (software) solution I could think of, since we've done our homework.
[Updated on: Thu, 04 October 2007 18:56] Enjoy the Net!
|
|
|
| Re: need help [message #1995 is a reply to message #1968 ] |
Thu, 04 October 2007 18:57   |
 |
jcn50 Messages: 44 Registered: September 2007 |
Member |
|
|
Sorry man, we didn't reply because you need to follow this thread from the beginning to know where your errors come from...
If you think it's a bug, update for the last version of the mySQL engine.
I'm not aware of any known "Table '%-.64s'" error...
Good luck!
| ymik wrote on Sun, 30 September 2007 16:15 | Hello All.
We have some throuble with our DB.
When we cast request such as "update user lastactyvity=12131241234 WHERE userid in (1,2,3,4,5,6,7...)" we got error "Table '%-.64s' is marked as crashed and should be repaired" and our replication is fault.
What thing can produse this error with unknown table '%-.64s'? How can we relieve from this bug?
Tables is on MyISAM, MySQL version is 5.0.32-Debian_7etch1
|
[Updated on: Thu, 04 October 2007 18:59] Enjoy the Net!
|
|
|
|
|
| Re: mysql tables crashing [message #2010 is a reply to message #2003 ] |
Sat, 06 October 2007 08:34  |
allworknoplay Messages: 58 Registered: September 2007 Location: New York |
Member |
|
|
| jcn50 wrote on Sat, 06 October 2007 00:59 |
| allworknoplay wrote on Fri, 05 October 2007 12:44 | Your code is really coming in handy. I am seeing a lot of duplicate errors. But in my script the code is something like...
INSERT INTO .... IF DUPLICATE THAN UPDATE....
That's basically what I'm doing in my code and your code is pinpointing exactly that line from my code....
|
Thanks! I hope you can work out something from the DUPLICATE errors.
| allworknoplay wrote on Fri, 05 October 2007 12:44 |
I am going to try one more thing before I have to convert to INNODB because I just don't know INNODB that well...
|
I don't think that it basically change something when you switch from MyISAM to InnoDB, unless you use Transactional Syntax, where InnoDB is required.
| allworknoplay wrote on Fri, 05 October 2007 12:44 |
I have begun separating the table into many tables, this in
a way will share the load of INSERTS and balance it out...
|
Hum... to me it doesn't make any sense: the server should handle your DB design. Server are not capricious like girls .
|
Haha I know! People are doing a lot more than I am with mysql and they seem to be doing fine. I ran a program called mysql tuner, and it said that my inserts to reads ratio was like 90% inserts and 10% reads. It also said that mysql was trying to use more RAM than the system allowed...
I'm not sure how mysql handles duplicates, perhaps somehow over time enough duplicates causes it to crash? Who knows...
But I am feeling better that the table is starting to become separated....if THAT still fails, than INNODB may be the choice.....
|
|
|