This is the Trace Id: bfa07db81d61b6c0d862533e63f7266a
Skip to main content
Azure

Azure Database for PostgreSQL

Innovate with a fully managed, AI-ready PostgreSQL database.

Drive transformation with Azure Accelerate for Databases

Modernize your data for AI with experts and investments.
OVERVIEW

Build faster with a fully-managed, AI-ready PostgreSQL database

  • Build generative AI features where your data lives. Use pgvector for native vector search and the AI extension to enable semantic search and RAG, and call models directly from Postgres.
  • Keep transactional, operational, and AI data in a single managed database. Reduce application complexity and network latency by avoiding external vector stores or custom AI pipelines.
  • Maintain consistent performance as AI usage grows with built‑in intelligence that helps optimize indexes and query execution. Focus on building features instead of tuning databases for every new workload.
  • Work with full compatibility with open‑source PostgreSQL and popular frameworks. Develop and manage databases using familiar tools, including the PostgreSQL extension for Visual Studio Code, without vendor lock‑in.
Back to tabs
FEATURES

Intelligence, scale, and reliability built in

Azure_ai extension

Call large language models (LLMs) and build rich generative AI applications within the database.

Vector search

Enable vector similarity search in Postgres using the pgvector extension.

Autonomous tuning

Take advantage of ML algorithms to boost performance.

Mirroring in Fabric

Query and analyze your data with near real-time Azure Database for PostgreSQL data replication into Microsoft Fabric.

Distributed PostgreSQL

Transform Postgres into a distributed database to achieve high performance at scale with elastic clusters.

High availability

Keep your applications always available with built-in high availability that minimizes downtime and automatically handles failures.

Migration service

Simplify the process of migrating PostgreSQL to Azure with online and offline migration options.

Microsoft PostgreSQL extension for VS Code

Connect, query, and manage Postgres databases seamlessly within the coding environment.

Built-in security and compliance

Remediate risk and protect your data with network security, full enterprise identity management and access control, and data encryption in transit, in use and at rest.
34K Full-time equivalent engineers dedicated to security initiatives at Microsoft.

Learn more Image of hands on keyboard
15K Partners with specialized security expertise.

Learn more
>100 Compliance certifications, including more than 50 specific to global regions and countries. Learn more
A young woman in a denim jacket using a tablet in a clothing store with racks of clothes in the background.
Pricing

Flexible options so you only pay for what you need

CUSTOMER STORIES

See how customers are innovating with Azure Database for PostgreSQL

FAQ

Frequently asked questions

  • Yes. Azure Database for PostgreSQL and Azure HorizonDB are fully managed, AI-ready relational database services built on the open-source PostgreSQL engine.
  • Azure Database for PostgreSQL is a fully managed cloud database service built on the open-source PostgreSQL engine. Azure provisions the infrastructure and automatically handles patching, backups, high availability, and scaling. You connect using standard PostgreSQL tools while Azure manages the rest. Read the Azure Database for PostgreSQL documentation to learn more.
  • Key benefits include fully managed operations with automatic patching and upgrades, a 99.99% SLA with zone-redundant high availability, up to 58% lower TCO versus on-premises PostgreSQL, built-in AI capabilities with vector search and Azure AI integration, enterprise-grade security and compliance, and flexible on-demand scaling.
  • Microsoft is a strong supporter of the open-source community. Some of our most widely adopted and vibrant developer tools and frameworks, such as GitHub, Visual Studio Code, and .NET are open source. For PostgreSQL specifically, our team has made 450+ commits to PostgreSQL core over the last 10 years. Read the Microsoft Open Source blog.
  • You can create an Azure Database for PostgreSQL server in minutes using the Azure portal, Azure CLI, or the PostgreSQL extension for Visual Studio Code. Choose your PostgreSQL version, select a compute tier and storage size, configure networking, and Azure provisions and manages the server for you. Quickstart guides on Microsoft Learn walk you through each step.
  • Azure Database for PostgreSQL is available in more than 60 Azure regions in the Americas, Europe, and Asia Pacific.
  • Read the Azure SLA for details.
  • Azure supports online and offline migrations. Learn more about options for migrating to Azure Database for PostgreSQL.
  • Azure offers several managed database alternatives. Azure SQL Database provides a fully managed SQL Server engine for T-SQL workloads. Azure Database for MySQL supports MySQL applications. Azure Cosmos DB serves NoSQL and multi-model scenarios. Azure HorizonDB offers a PostgreSQL-compatible option for the most demanding, high-performance workloads.
  • Azure SQL Database uses Microsoft's SQL Server engine and T-SQL, ideal for SQL Server. Azure Database for PostgreSQL uses the open-source PostgreSQL engine with full open source compatibility and compatibility with popular extensions. Both are fully managed by Azure; your choice depends on whether your applications require SQL Server or PostgreSQL.
  • Yes. Azure Database for PostgreSQL is AI-ready with native vector support via pgvector, DiskANN for high-performance vector indexing, and the Azure AI extension for calling large language models directly from your database enabling scenarios like Retrieval-Augmented Generation (RAG), semantic search, and intelligent agents.
  • Yes. With an Azure free account, you get up to 750 hours of Burstable compute and 32 GB of storage per month for 12 months at no cost. This is enough to run a small PostgreSQL server continuously, ideal for development, testing, or evaluation before committing to paid usage. Learn more about the Azure free account here.

Next Steps

Women working on the laptop and smiling

Choose the Azure account that’s right for you  

Pay as you go or try Azure for free. 
man with curly hair smilling while working on the laptop

Explore Azure databases

Make data your strategic asset. Modernize or build Al-ready apps with intelligent cloud databases.
  1. [1]
    The Economic Benefits of Migrating On-premises Databases to Azure Database for PostgreSQL, a commissioned report from ESG distributed by TechTarget, March 2025.