How PostgreSQL on Azure helps modernize legacy databases


Our mission is to make PostgreSQL probably the most performant, scalable, and enterprise-ready open database platform out there. With Azure Database for PostgreSQL and the newly launched Azure HorizonDB, we’re delivering on that imaginative and prescient.

In immediately’s digital economic system, enterprise leaders face a relentless problem: how you can ship innovation, scale, and resilience with out spiraling prices or compromising efficiency. On the coronary heart of this problem lies information infrastructure, which is usually one of the crucial crucial and most constrained layers of the enterprise stack.

At Microsoft, we’ve seen firsthand how legacy programs, significantly on-premises databases like Oracle, can turn into a bottleneck to progress. These programs are costly to take care of, troublesome to scale, and more and more out of step with the agility fashionable organizations require. However we additionally perceive that migration isn’t a trivial choice. Considerations about downtime, compatibility, safety, and retraining are actual.

That’s why we’ve spent the final a number of years investing in PostgreSQL. Our mission is to make PostgreSQL probably the most performant, scalable, and enterprise-ready open database platform out there. With Azure Database for PostgreSQL and the newly launched Azure HorizonDB, we’re delivering on that imaginative and prescient.

The price of standing nonetheless

Staying on legacy infrastructure would possibly really feel like a secure selection, nevertheless it’s not often one of the best one. The prices of sustaining growing older on-premises databases are rising. {Hardware} refresh cycles, escalating licensing charges, and the necessity for area of interest experience all add up. Organizations can spend most of their IT budgets and time simply sustaining current programs, leaving little room for innovation.

Some Oracle prospects have cited rising licensing prices, efficiency bottlenecks, and scalability limits as main ache factors. Others have reported excessive assist prices and a necessity for superior AI capabilities as main causes for contemplating a transfer away from Oracle databases.

However migration comes with its personal set of challenges. What in case your purposes aren’t appropriate with a brand new platform? What in case your workforce lacks the talents to handle a brand new system? What if efficiency suffers or what if one thing breaks? These are legitimate considerations, and they’re exactly the challenges we’ve engineered PostgreSQL on Azure to resolve.

Apollo Hospitals: A case research in transformation

Apollo Hospitals, one among Asia’s largest healthcare suppliers, confronted these very questions. With greater than 74 hospitals and over 10,000 beds, Apollo’s digital infrastructure is mission crucial. Their in-house hospital info system, constructed on Oracle, was changing into more and more troublesome to take care of. Efficiency bottlenecks had been impacting care supply, and the price of scaling was unsustainable.

Apollo Hospitals made the daring, strategic choice emigrate their databases to Azure Database for PostgreSQL. Their IT and improvement groups labored carefully with Microsoft and their cloud accomplice to make sure a seamless transition. The outcomes had been transformative. Because the migration, Apollo has seen:

  • 90% of transactions full inside 5 seconds, a major leap in responsiveness for scientific programs.
  • Uptime has improved to 99.95%, making certain that crucial hospital operations stay uninterrupted.
  • Deployment timelines have dropped by 40%, permitting the group to roll out new options and updates sooner than ever earlier than.

Maybe most significantly, Apollo has achieved a 60% discount in operational prices and a 3x enchancment in general system efficiency. Apollo’s story is a strong instance of what’s doable once you pair the fitting expertise with the fitting migration technique.

Smarter Oracle to PostgreSQL migrations with AI-assisted tooling

One of many largest boundaries to migration is the complexity of changing Oracle schemas, saved procedures, and software code. Enterprise purposes typically depend on hundreds of saved procedures, capabilities, and application-side code (Java, .NET, and many others.) constructed round Oracle-specific syntax. Manually rewriting and validating this code is time-consuming, error-prone, and costly.

To deal with this, we launched the AI-assisted Oracle-to-PostgreSQL migration device, now out there in preview as a part of the PostgreSQL extension for Visible Studio Code. This device is powered by GitHub Copilot and a multi-agent AI system that automates the end-to-end conversion course of.

Oracle to PostgreSQL AI-assisted migration device in motion

The device begins by analyzing Oracle schemas and saved procedures, changing them into PostgreSQL-compatible codecs utilizing clever sample recognition and transformation logic. It doesn’t cease on the database layer. It additionally scans software code, similar to Java or .NET, and updates database drivers, rewrites SQL queries, and modifies saved process calls to align with PostgreSQL syntax. The device generates automated unit assessments to validate the transformed logic and runs post-conversion validation in a scratch PostgreSQL surroundings to examine for purposeful parity.

The device makes use of a hybrid AI structure with specialised brokers for migration, validation, and documentation. It reduces guide effort and minimizes human error. The device additionally produces side-by-side comparisons and detailed experiences, giving groups the transparency and management they could have to belief the method. By embedding AI-assisted conversion immediately into the PostgreSQL extension for VS Code, we’re assembly builders the place they work. With GitHub Copilot integration, schema conversion, code refactoring, and validation turn into a part of the identical inside loop as code enhancing and CI/CD. The result’s a streamlined, clever workflow that reduces friction and accelerates supply.

Submit-migration enterprise-grade efficiency, scale, and safety

PostgreSQL on Azure is greater than a cheap various to legacy programs. With Azure Database for PostgreSQL, and the brand new Azure HorizonDB service, a transfer to Azure supplies high-performance, scale, and safety constructed and optimized to your most business-critical enterprise workloads.

Azure Database for PostgreSQL persevering with innovation

With the introduction of v6-series compute SKUs, prospects can now scale vertically as much as 192 vCores. That is best for high-throughput transactional workloads and complicated analytical queries. For workloads that require horizontal scaling, elastic clusters powered by the open-source Citus extension allow distributed PostgreSQL deployments throughout a number of nodes. This structure helps multi-tenant SaaS purposes, IoT platforms, and large-scale analytics with ease.

Storage efficiency in Azure Database for PostgreSQL has additionally taken a leap ahead. SSD v2 storage delivers excessive IOPS and low latency, making certain that even probably the most demanding workloads run easily. Built-in monitoring and tuning instruments like Azure Monitor present real-time insights and automatic optimization, serving to groups keep peak efficiency with out guide intervention.

As all the time, safety stays a high precedence. Azure Database for PostgreSQL consists of enterprise-grade protections similar to Microsoft Defender for Cloud, Entra ID integration, personal endpoints, confidential compute SKUs, and end-to-end encryption. These options assist organizations meet compliance necessities and safeguard delicate information.

And since PostgreSQL is open supply, there aren’t any licensing charges. It’s one of the crucial extensively used databases on the earth, with a vibrant group and deep Microsoft assist.

Azure HorizonDB: The way forward for PostgreSQL at scale

For organizations with excessive efficiency and scale necessities, we’ve launched Azure HorizonDB, which is a brand new, cloud-native PostgreSQL service constructed for probably the most demanding workloads. At present in personal preview, Azure HorizonDB helps as much as 3,072 vCores and 128 TB of auto-scaling storage. It delivers sub-millisecond multi-zone commit latencies and as much as 3x increased throughput than self-managed PostgreSQL. Azure HorizonDB additionally builds on the AI and agentic capabilities of Azure Database for PostgreSQL with built-in AI mannequin administration and DiskANN superior filtering capabilities, making it best for next-generation purposes that require real-time analytics and clever information processing.

As a result of Azure HorizonDB is PostgreSQL-compatible, organizations can begin with Azure Database for PostgreSQL immediately and transfer to Azure HorizonDB if the necessity arises. This enables for a easy transition path with out the necessity for replatforming or rewriting purposes.

Open supply, engineered for the enterprise

Microsoft is proud to be one of many high company contributors to the PostgreSQL undertaking. Our engineering groups have upstreamed key improvements, and we’re dedicated to persevering with this work in order that PostgreSQL stays probably the most succesful and trusted open-source database for the cloud period.

We consider that open-source information platforms like PostgreSQL are foundational to the subsequent technology of clever purposes. Our objective is to make PostgreSQL not solely accessible however distinctive for enterprise workloads. Meaning investing in efficiency, safety, developer expertise, and ecosystem integration.

The payoff: Innovation, agility, and confidence

Migrating to PostgreSQL on Azure isn’t nearly fixing what’s damaged. It’s additionally about unlocking what’s subsequent. Apollo Hospitals, for instance, is now exploring AI-powered scientific dashboards, real-time analytics with Microsoft Cloth, and containerized workloads with Azure Kubernetes Service. Their groups are extra agile, their programs are extra resilient, and their basis is prepared for the long run. As Sridhar Yadla, Apollo’s Normal Supervisor, put it:

We’re not caught reacting to issues. Now we’re considering proactively and how we will evolve.

That’s the facility of PostgreSQL on Azure.

Able to modernize?

In the event you’re contemplating a transfer from Oracle to PostgreSQL, we’ve constructed the instruments, the platform, and the accomplice community that will help you succeed.

Obtain our newest e-book and discover the Azure Database for PostgreSQL documentation to learn to plan, execute, and speed up your journey.