Best unofficial Apache Server developers community |
|
So I have a pretty large MySQL DB... 7 Gigs in Total size, 35 million URLs. I was querying it (using SELECT queries only) quite fast the other day. My ubuntu froze/shutdown (that's a first!) and said something online the lines of "panic, reverting to text console" - but she was frozen solid. Upon rebooting my computer. Every MySQL table in the DB was fine, except for the one I was reading from. It said "in use". Any idea what could have caused this? Surely MySQL is smart enough to know when a SELECTion has finished?
posted via ServerFault
|
|
 
|
I'd almost suspect filesystem corruption. FSCK the filesystem? Anything in the logs leading up to the crash? |
|
 
|
I would say, yes, split the filesystem from the db. Well, if your using MyISAM tables than mysql will do a row level lock on the select. The reads should happen completely independent of each other and there shouldn't have been any problems. Is there any disk space issues or swap space issues? You should be able to reset the table status through mysqladmin. Also, what are you values for your buffer sizes? (look in my.cf) or in mysqladmin under variables. That will give some insight into what might have happened. And lastly was there anything in the /var/log/messages or mysqld log files? |