Home / Companies / Grafana Labs / Blog / Post Details
Content Deep Dive

How we upgraded to MySQL 8 in Grafana Cloud

Blog post from Grafana Labs

Post Details
Company
Date Published
Author
Owen Smallwood
Word Count
1,587
Company Posts That Month
25
Language
English
Hacker News Points
-
Post removed?
No
Summary

Grafana Cloud's upgrade from MySQL 5.7 to MySQL 8 was driven by the former's end-of-life and involved transitioning tens of thousands of customer databases across multiple servers and cloud providers. The migration emphasized minimal customer downtime, a small blast radius, and the ability to revert to the previous version if necessary. The team chose to use the mysqldump approach, allowing for selective database migrations with minimal disruption. The upgrade process revealed disk performance bottlenecks, leading to improvements that halved query execution times on busy servers. A phased rollout approach was employed across different environments and customer tiers, monitored through Grafana dashboards to track progress and resource utilization. Challenges such as deprecated MySQL variables, disk I/O bottlenecks, and unusually large databases were addressed, demonstrating the importance of incremental rollouts with the capability for quick rollbacks. The successful upgrade underscored the value of cautious, well-monitored deployment strategies.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 1 1,704 191 78 +3%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.