This is the Trace Id: 8e6d50698b9c43906c7ef7e73a8fd41a
Skip to main content
Azure

Azure Database for PostgreSQL

Innovate with a fully managed, AI-ready PostgreSQL database.
Enjoy built-in AI capabilities, mission-critical performance, and enterprise-grade security.
OVERVIEW

Build AI apps with a PostgreSQL database

  • Use native vector search, local embeddings, and the Azure AI extension within the Postgres database to build smarter generative AI apps and agents.
  • Focus on application innovation with a fully managed PostgreSQL database with up to 99.99% uptime and high availability.
  • Build with your favorite PostgreSQL extensions and popular frameworks and languages with support for the latest community versions.
  • 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.

Vector embeddings

Generate embeddings within the database rather than remotely for reduced latency and predictable cost.

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.
A young woman in a denim jacket using a tablet in a clothing store with racks of clothes in the background.
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

  • 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.
A person sitting at a table using a computer
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.