Bug #3062 table corruption when doing adump at the same time as optimize
| Submitted: | 4 Mar 2004 3:00 | Modified: | 15 Apr 2004 7:10 |
|---|---|---|---|
| Reporter: | Pete French | Email Updates: | |
| Status: | No Feedback | Impact on me: | |
| Category: | MySQL Server: MyISAM storage engine | Severity: | S2 (Serious) |
| Version: | 4.0.18 | OS: | FreeBSD (FreeBSD 4.9-RELEASE) |
| Assigned to: | Assigned Account | CPU Architecture: | Any |
[4 Mar 2004 3:00]
Pete French
[11 Mar 2004 2:14]
Michael Widenius
Do you think you could create a test script that could create a database with a lot of rows and then runs mysqldump + optimize on it until you get corruption ? We would need a more information to be able to repeat your problem - What options did you use to mysqldump ? - What options did you use to optimize ? - While optimize + mysqldump where running, was there any other running statements ? - What does myisamchk say about the crashed table ? - Was the slave connected to the master while this happend ? The best way to get this fixed is to create a couple of test scripts that can be used to repeat this problem.
[15 Mar 2004 7:10]
Pete French
I am beginning to think there is a general problem with optimisation of a database tables. The last two days we have had our main db also freeze up during the nightly optimisation run. The problem in this case is mysql using 99% CPU and not accepting any connections. All these machines were upgraded to 4.0.18 recently. At the same time Imoved from just using '-O' compile optimisation to the FreeBSD recommended options of -O2 -fno-rtti -fno-exceptions -felide-constructors -fno-strength-reduce with the "--enable-assembler "config option as well. Since then we have been getting the optimisation problems. These systems have worked flawlessly for a number of years up to this point. I am going to go back to just using -O and see if that helps matters.
[14 Feb 2005 22:54]
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.051 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.