India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudAirline cateringOther Industries

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

Amazon Web Services
01

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
02

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.

Compatibility check → clone upgrade rehearsal → MySQL 8.0 replica → promotion in 2-hour window → 48-hour rollback hold → weekly Query Insights review
Cloud SQL for MySQLCloud SQL read replicasQuery InsightsDatabase CenterCloud SQL maintenance deny periods
03

Implementation approach

Weeks 1-2 · CompatibilityChecked 14 schemas and ticketed 23 deprecated constructs to developers.
Weeks 3-5 · RehearsalsUpgraded clones and compared plans and test results per instance.
Weeks 6-9 · CutoversPromoted MySQL 8.0 replicas in batches of two to four instances a week.
04

Measured results

Instances on MySQL 5.7
14→0
Average cutover downtime
Estimated 45 min in-place→4 minutes
Preparation-window database incidents (next quarter)
2 in prior quarter→0
Monthly extended support charges
Charged on 14 instances→None

Operational improvements

  • Provider maintenance never falls inside the meal preparation window
  • The version register flags the next major upgrade well ahead of support end
05

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.

06

Return on investment

ROI indicator

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.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.