India’s Leading Domain & Web Hosting Provider
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
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.
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.
Implementation approach
Measured results
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.
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.
Return on investment
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.