VOOZH about

URL: https://thenewstack.io/upgraded-mysql-crashes-on-restart-percona/

⇱ Upgraded MySQL Crashes on Restart: Percona - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-07-12 13:23:04
Upgraded MySQL Crashes on Restart: Percona
sponsor-percona,sponsored-topic,
Databases / Operations

Upgraded MySQL Crashes on Restart: Percona

Percona has found that upgrading MySQL to either versions 8.0.38, 8.4.1 or the recently released 9.0.0 will cause the database daemon to crash after restarting, at least in those cases where the database has 10,000 tables or more.
Jul 12th, 2024 1:23pm by Joab Jackson
👁 Featued image for: Upgraded MySQL Crashes on Restart: Percona
Feature image via Pixabay.

We all love upgrading to a fresh version of our favorite software, but large-scale MySQL users may want to hold off on updating to the latest build of that database system (v9.0) until after a severe bug is squashed, lest they won’t be able to restart their databases at all.

An apparent bug in MySQL is severe enough that Percona is advising users not to upgrade until Oracle, which manages the open source relational database system, fixes the issue.

The database performance company discovered that upgrading MySQL to either versions 8.0.38, 8.4.1 or the recently released 9.0.0 will cause the database daemon to crash after restarting, at least in those cases where the database has 10,000 tables or more.

Once crashed, the server won’t restart, which could be very problematic for those organizations relying on the database for mission-critical operations.

“We have not yet identified the root cause or a workaround. As such, we suggest that all users do not adopt any of the MySQL versions mentioned until a fix is released,” wrote Percona High Availability Practice Manager Marco Tusa in a customer advisory.

A bug report (#115517 Note: this page is now hidden) has been filed with Oracle, which took the issue offline, presumably to investigate it further. Percona will conduct additional tests as well to further characterize the issue.

Percona has also opened a Jira ticket to gather more data about the problem. There, the company posted instructions on how to (safely) reproduce the bug, first by using Docker to spin up an MySQL instance, and then firing up a ChatGPT-generated script to create 12,000 tables.

Percona’s own test was conducted on a local server running SSD disks. The company marked the issue as “critical” on Thursday.

Could It Be an innoDB Issue?

A second Percona engineer suspected it might be related top an earlier bug that Percona encountered (#115569) in which a MySQL boot process will slow to a crawl if more than 8,000 tables are loaded, due to how the innoDB storage engine calls multiple threads for its check process.

The Hacker News conversation that ensued from this announcement pointed out that 10,000 tables is not that unusually large amount of tables to put in a database, and if there are limits to how many tables MySQL can handle, then those should be documented somewhere.

MySQL is Oracle’s open source general use relational database system (apart from the company’s own flagship, eponymously-named, commercial database system). Although open source, MySQL development and maintenance is managed by Oracle itself. The latest version of MySQL, 9.0 was released earlier this month.

The DB Engines site estimates that MySQL is the second most widely used database system worldwide, trailing only Oracle RDBMS in usage.

Percona’s business model is providing high-performance services and support for database systems such as MySQL, MongoDB and Postgres. And such, the company’s engineers tend to uncover issues in these systems early on, sometimes even before the maintainers themselves.

Percona is widely recognized as a world-class open source database software, support, and services company for MySQL®, MongoDB®, and PostgreSQL® databases. We are dedicated to helping make your databases and applications run better through a unique combination of expertise and open source software.  
Learn More
The latest from Percona
TRENDING STORIES
Joab Jackson is a senior editor for The New Stack, covering cloud native computing and system operations. He has reported on IT infrastructure and development for over 30 years, including stints at IDG and Government Computer News. Before that, he...
Read more from Joab Jackson
SHARE THIS STORY
TRENDING STORIES
Oracle and Percona are sponsors of The New Stack. 
TNS owner Insight Partners is an investor in: Docker.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.