India’s Leading Domain & Web Hosting Provider
Airline caterer moves 14 Cloud SQL instances off MySQL 5.7 with 4-minute cutovers
Flight kitchen operator supplying about 600 departures a day from five airports · Google Cloud Mumbai (asia-south1) · 9 weeks
As-is situation
The caterer's meal planning, flight-load forecasting and uplift tracking systems used 14 Cloud SQL for MySQL 5.7 instances. Meal counts are finalised hours before departure, and any database outage during the 3 a.m.-7 a.m. preparation window risked short-loaded flights and penalties from airline clients. MySQL 5.7 had reached end of standard support on Cloud SQL, and extended support charges had started. The small IT team feared major upgrades because a test upgrade had broken a stored procedure using deprecated syntax.
- 14 instances on MySQL 5.7 incurring extended support charges
- A failed test upgrade had broken a key stored procedure
- Only a 2-hour daily window outside meal preparation for any cutover
Approach, tools and architecture
NTSPL's DBAs ran each schema through MySQL 8.0 compatibility checks, found 23 deprecated constructs, and gave developers exact fixes. Each instance was cloned and upgraded for rehearsal, with the application test suite run against it and query plans compared for the top 20 statements. Production cutovers used a MySQL 8.0 replica promoted during the agreed 2-hour window, with the 5.7 primary retained for 48 hours. Maintenance deny periods were set for the preparation window, and Query Insights reviews moved to a weekly cadence.
Implementation approach
Measured results
Operational improvements
- Provider maintenance never falls inside the meal preparation window
- The version register flags the next major upgrade well ahead of support end
Cost considerations
Running replicas for rehearsal and cutover added about two weeks of extra instance cost per database. Removing extended support charges on all 14 instances recovered that spend within the first few months after the last cutover.
Return on investment
Extended support charges ended, and the risk of a database failure short-loading flights fell sharply. A single short-loaded departure can trigger airline penalties and passenger compensation well above a month of the DBA service fee.