Bug #16533 | InnoDB is not very informative about the problem reason upon startup | ||
---|---|---|---|
Submitted: | 16 Jan 2006 12:03 | Modified: | 11 Nov 2010 22:23 |
Reporter: | Valeriy Kravchuk | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S4 (Feature request) |
Version: | 4.1.16 | OS: | Windows (Windows 64-bit (XP, 2003)) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[16 Jan 2006 12:03]
Valeriy Kravchuk
[16 Jan 2006 12:04]
Valeriy Kravchuk
my.ini file used to repeat
Attachment: my.ini (application/octet-stream, text), 7.22 KiB.
[16 Jan 2006 12:05]
Valeriy Kravchuk
Compressed error log from 64-bit XP running on Dell Precision 380 (1 Xeon CPU, HT on)
Attachment: ERRORLOG.ZIP (application/zip, text), 2.95 KiB.
[16 Jan 2006 15:32]
Heikki Tuuri
Valeriy, InnoDB does support > 4 GB on a 32-bit Windows. I have personally tested it with 15 GB files. The .err log that you posted is incomplete. It does not show what mysqld printed when it created the big ibdata files. Please create the database again running mysqld at an MS-DOS prompt: mysqld --console so that we certainly get the complete mysqld printout. Regards, Heikki
[16 Jan 2006 15:34]
Heikki Tuuri
By the way, several users have requested 64-bit builds of mysqld on Windows. Then they could use a buffer pool bigger than 2 GB. When can we have these binaries? Regards, Heikki
[17 Jan 2006 11:44]
Valeriy Kravchuk
Log of successfull installation
Attachment: console.txt (text/plain), 19.59 KiB.
[17 Jan 2006 11:48]
Valeriy Kravchuk
Heikki, Yes, you were right. With the clean installation, all in one step, everything works OK. See the log attached (http://bugs.mysql.com/file.php?id=2733). But do you know about any possible reason of the following messages upon startup: 060116 13:28:45 InnoDB: Page checksum 1575996416, prior-to-4.0.14-form checksum 1371122432 InnoDB: stored checksum 0, prior-to-4.0.14-form stored checksum 0 InnoDB: Page lsn 0 0, low 4 bytes of lsn at page end 0 InnoDB: Page number (if stored to page already) 0, InnoDB: space id (if created with >= MySQL-4.1.1 and stored already) 0 ...
[17 Jan 2006 12:02]
Heikki Tuuri
Valeriy, if ib_logfiles are not the right ones for the ibdata files, the database will appear corrupt. That may explain the page dumps. Remember that InnoDB log files are as important as InnoDB data files. They must always live together. Regards, Heikki
[17 Jan 2006 12:24]
Valeriy Kravchuk
Heikki, OK, so, it is not a bug. But as you can see from the resulting error log with page dumps, it is not obvious what is the reason and what to do next in such a cases. Reinstall, remove logs and start once more, or something else? May be, InnoDB should print some recommendations/additional information to the error log? The real reason may be not included in it, as happened in my first test case. What do you think?
[17 Jan 2006 14:54]
Heikki Tuuri
Valeriy, we have in the TODO list to keep better track of which ib_logfiles match with which ibdata files. The general rule is that you should never touch ibdata files or ib_logfiles unless you have read the manual section. Regards, Heikki
[21 Jan 2006 6:28]
Valeriy Kravchuk
Changed synopsis to a more appropriate. The original problem was a result of incorrect configuration.
[11 Nov 2010 22:23]
Calvin Sun
dup of bug#13494.
[4 Oct 2012 6:11]
Marko Mäkelä
This error will be fixed in MySQL 5.6.8. In the case of a size mismatch, we would apply the old logs and then rewrite new ones. Also, with this change, the log file creation and database startup should be more crash-safe. Previously, if mysqld was killed while it was creating the files, it would not recover, and you would have to delete all files before restarting.