← 返回首页
Azure Database for PostgreSQL | Microsoft Azure
This is the Trace Id: e604d9813adb542f9fa9e861cc90d1dc
Skip to main content
Azure
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 AI apps with a PostgreSQL database

  • AI integration in the database

    Use native vector search, local embeddings, and the Azure AI extension within the Postgres database to build smarter generative AI apps and agents.
  • Enterprise performance

    Focus on application innovation with a fully managed PostgreSQL database with up to 99.99% uptime and high availability.
  • Full open-source compatibility

    Build with your favorite PostgreSQL extensions and popular frameworks and languages with support for the latest community versions.
  • Lower total cost of ownership (TCO)

    Save up to 58% in TCO compared to on-premises from simplified infrastructure, management, deployment, and operations.
FEATURES

Power PostgreSQL apps with built-in AI

Azure AI extension

Use language models and build rich generative AI applications within the database.

Vector search

Use generative AI to add new capabilities such as integration with machine learning (ML) models and scalability to Postgres applications.

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.

Support for distributed PostgreSQL

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

Familiar features and extensions

Work with JSONB, geospatial support, rich indexing, Cron, PostGIS, PLV8, Ruby on Rails, Python with Django, Java, and Node.js.

High availability and scaling

Get automated maintenance, patching, and updates. Provision in minutes and scale compute or storage with near-zero downtime.

Migration service

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

Microsoft Visual Studio Code extension

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

Embedded security and compliance

34,000
Full-time equivalent engineers dedicated to security initiatives at Microsoft.
15,000
Partners with specialized security expertise.
 
>100
Compliance certifications, including over 50 specific to global regions and countries.
Pricing

Find the right PostgreSQL offering that fits your needs

Scale compute and storage independently and pay only for what you use with Postgres as a service.

Build AI apps using Azure Database for PostgreSQL

Learn how to build AI-powered applications within Azure Database for PostgreSQL with this new learning path.
CUSTOMER STORIES

See how customers are innovating with Azure Database for PostgreSQL

FAQ

Frequently asked questions

Expand all
Collapse all
  • 01/

    Does Azure offer a PostgreSQL database?

    Yes. Azure Database for PostgreSQL and Azure HorizonDB are fully managed, AI-ready relational database services built on the open-source PostgreSQL engine.
  • 02/

    How does Azure Database for PostgreSQL work?

    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.
  • 03/

    What are the benefits of Azure Database for PostgreSQL?

    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.
  • 04/

    How does Microsoft contribute to the PostgreSQL cloud open-source community?

    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.
  • 05/

    How do you set up Azure Database for PostgreSQL?

    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.
  • 06/

    Where is Azure Database for PostgreSQL available?

    Azure Database for PostgreSQL is available in more than 60 Azure regions in the Americas, Europe, and Asia Pacific.
  • 07/

    What is the service-level agreement (SLA)?

    Read the Azure SLA for details.
  • 08/

    Can I scale up compute and storage independently?

  • 09/

    What migration options are available?

    Azure supports online and offline migrations. Learn more about options for migrating to Azure Database for PostgreSQL.
  • 10/

    What is the alternative 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.
  • 11/

    What is the difference between Azure SQL Database and Azure Database for PostgreSQL?

    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.
  • 12/

    Can I use Azure Database for PostgreSQL for AI applications?

    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.
  • 13/

    Can I try Azure Database for PostgreSQL for free?

    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

Choose the Azure account that’s right for you

Pay as you go or try Azure free for up to 30 days.

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.