With the upcoming release of MySQL 5.7 I begin to see a problem which I think needs attention at least for 5.8 or whatever comes next. The GA release cycle is too long, being about 2 years and that means 3 years between upgrades in a production environment More people use MySQL and the data … Continue reading Making MySQL Better More Quickly
Jonas just wrote a patch to this bug
on OPTIMIZE TABLE, and the issue that was also discussed in this
blog post. Jonas also fixed this bug
when he was at it.
OPTIMIZE TABLE hardly freed up any pages and
to defragment you had to do a rolling restart of the data
Now, there is only a 2% discrepancy between
TABLE and doing a rolling restart. This is great
This will fix will make it into 6.3.26 and 7.0.7.
See below for details:
Creating two tables, t5 and t6:
CREATE TABLE `t5` (
`id` varchar(32) CHARACTER SET utf8 NOT NULL,
`name` varchar(32) …
(this blog post applies to MySQL Cluster 6.3 and MySQL Cluster
A while ago I discussed Memory Allocation in MySQL Cluster. Here it comes again, but we also discuss fragmentation and a tool to help analyze if there is fragmentation.
The main problem I want to address here is that "I filled up 100% of my DataMemory, then deleted 40% and I cannot create a new table!!". Now this is not such a common problem, but can happen in systems with a lot of insert/deletes (especially on VAR* columns), and can be an issue if you need to create a new table. If the allocation patterns are always on the same set of tables, then this is less of an issue.
- If the table is empty and there …