India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Microsoft AzureEye-care hospital chainHealthcare & Life Sciences

Eye-care hospital chain moves 38 clinics' MySQL 5.7 records to MySQL 8.0 on Azure

Ophthalmology chain with 38 clinics and 6 surgical centres · Chennai and Coimbatore, India · 6 weeks

Amazon Web Services
01

As-is situation

The chain's patient records, appointment booking and optical sales ran on a 780 GB MySQL 5.7 database on two VMs with a manual primary-replica setup. MySQL 5.7 had been end of life since 2023 and the security team had flagged it in two internal audits. Failover was a 40-minute manual task, and one failover during OPD hours had left 38 clinics without patient lookup. Clinics opened at 8 a.m. and surgical centres ran until 9 p.m., six days a week.

  • MySQL 5.7 out of support for over three years.
  • Manual failover took 40 minutes and had already caused a clinic-wide outage.
  • Patient health data fell under DPDP Act 2023 obligations and needed audit trails.
02

Approach, tools and architecture

NTSPL scanned the schema for MySQL 8.0 issues, finding 17 reserved-word columns and a collation mismatch on two tables, which were fixed in the source before migration. Azure Database Migration Service ran an online migration into Azure Database for MySQL Flexible Server 8.0 with zone-redundant HA in Central India. Validation compared row counts per clinic and 25 appointment queries. Cutover ran on a Sunday after the last surgical case. Audit logs flow to Log Analytics with 180-day retention. Clinics saw no booking gap.

MySQL 5.7 VMs → 8.0 compatibility scan → Azure DMS online migration → Flexible Server zone-redundant HA → per-clinic validation
Azure Database Migration ServiceAzure Database for MySQL Flexible ServerLog AnalyticsAzure Key VaultAzure Private Link
03

Implementation approach

Weeks 1-2 · CompatibilityFixed reserved words and collations in the source.
Weeks 3-5 · Online syncRan DMS online replication and per-clinic checks.
Week 6 · CutoverSwitched in 11 minutes on Sunday night.
04

Measured results

Database failover time
40 minutes manual→Under 2 minutes automatic
Unsupported database versions
MySQL 5.7→MySQL 8.0
Patient lookup p95 latency
1.4 seconds→0.5 seconds

Operational improvements

  • Backups are automatic with point-in-time restore instead of nightly dumps.
  • Access to patient records is audited per user for DPDP accountability.
05

Cost considerations

Flexible Server with zone-redundant HA costs about INR 1.6 lakh a month, close to the old two VMs plus backup storage. Reserved capacity for one year cut that by roughly a third after the first month.

06

Return on investment

ROI indicator

Value comes mainly from avoided clinic outages and lower DBA effort. One avoided OPD outage across 38 clinics recovers much of the annual run cost, and the migration fee was recovered within roughly a year.

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.