India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudHealthcare (outpatient clinics)BFSI & Fintech

Clinic network's EMR on AlloyDB serves doctors and reports from one database

Multi-specialty clinic network, 64 clinics, 4,200 consultations a day · Southern and Western India · 8 weeks

Amazon Web Services
01

As-is situation

The network's EMR, built on PostgreSQL 11, ran on a pair of physical servers in a Bengaluru colocation facility with streaming replication to a standby in the same cage. The database held 3.4 TB of encounters, prescriptions, lab results and scanned documents metadata. Morning OPD hours pushed p95 chart-open time to 3.8 seconds, and the monthly MIS and insurance-claims reports had to run at night because they locked up the system. PostgreSQL 11 was past community end of life, and a power incident at the colocation site had caused a three-hour outage across all clinics.

  • Chart-open p95 of 3.8 seconds during morning OPD peaks
  • Analytical reports restricted to night windows because they slowed clinical workflows
  • PostgreSQL 11 beyond community support with no in-place upgrade path tested
  • Single-site dependency, with one three-hour outage affecting all 64 clinics
02

Selected Google Cloud services and architecture

NTSPL migrated the EMR to AlloyDB for PostgreSQL in asia-south1 using Database Migration Service with continuous replication from the colocation primary over Cloud VPN. The primary runs regional HA, and a two-node read pool serves the MIS dashboards and claims extraction, with the columnar engine populated for encounter and billing tables recommended by query statistics. A secondary cluster in asia-south2 provides regional recovery. Applications connect through the AlloyDB Auth Proxy with IAM database authentication, and audit logging covers every access to patient records for DPDP Act and ABDM consent auditing.

Clinic EMR clients → EMR application on Compute Engine → AlloyDB Auth Proxy → AlloyDB primary (asia-south1) + read pool → secondary cluster (asia-south2)
AlloyDB for PostgreSQLDatabase Migration ServiceAlloyDB columnar engineCloud VPNCloud KMSCloud Audit Logs
03

Implementation approach

Weeks 1-2 · Compatibility and upgrade testingTested the EMR on a newer PostgreSQL major version in AlloyDB and fixed two deprecated extensions.
Weeks 3-5 · DMS continuous migrationRan full load and change data capture over HA VPN, holding replication lag under 3 seconds at peak.
Weeks 6-7 · Read pool and columnar tuningRedirected MIS and claims queries to the read pool and enabled columnar engine recommendations.
Week 8 · Cutover and DR drillCut over on a Sunday in 18 minutes, then promoted the Delhi secondary in a test window to record RTO.
04

Measured results

Chart-open p95 during OPD peak
3.8 s→0.9 s
Monthly claims report runtime
5 hours (night only)→22 minutes (daytime)
Recovery time after a site or regional failure
3 hours observed→Under 20 minutes rehearsed
Cutover downtime
Not applicable→18 minutes

Operational improvements

  • MIS and claims teams run reports during working hours without affecting doctors
  • Database patching and minor upgrades are handled by AlloyDB maintenance windows instead of night-shift engineers
  • Patient-record access audits are produced from Cloud Audit Logs on request instead of from application logs
05

Cost considerations

AlloyDB's primary and read pool are covered by a one-year committed use discount sized to OPD-hour peaks. The secondary cluster in Delhi was kept at a smaller shape, accepting a slower post-failover performance in exchange for lower standing cost. Moving reporting off a separate replica server removed a planned INR 12 lakh hardware purchase.

06

Return on investment

ROI indicator

Retiring colocation hardware and the annual support contract saves an indicative INR 28-35 lakh a year, while faster claims processing shortened insurer payment cycles by around six days, improving working capital by an estimated INR 1-1.5 crore across the network.

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.