Learn what's new in generative AI, vector search, and LangChain integration across Google Cloud databases. Read the blog.
Jump to
AlloyDB for PostgreSQL

AlloyDB for PostgreSQL

A fully managed PostgreSQL—compatible database service for your most demanding enterprise workloads. AlloyDB combines the best of Google with PostgreSQL, for superior performance, scale, and availability.

  • Fully compatible with PostgreSQL, providing flexibility and true portability for your workloads

  • Superior performance, 4x faster than standard PostgreSQL for transactional workloads*

  • Fast, real-time insights, up to 100x faster analytical queries than standard PostgreSQL*

  • AlloyDB AI can help you build a wide range of generative AI applications

  • AlloyDB Omni is a downloadable edition of AlloyDB designed to run anywhere

Benefits

Superior performance, scale, and availability

Scale up and achieve predictable performance and a high availability SLA of 99.99%, inclusive of maintenance, for your most demanding enterprise workloads.

Simplified, ML-enabled management

Automated and machine learning-enabled autopilot systems simplify management by handling database patching, backups, scaling, and replication for you.

Transparent and predictable pricing

Eliminate dependency on high-cost, proprietary databases, and take advantage of transparent and predictable pricing with no proprietary licensing or opaque I/O charges.

Key features

Key features

Fully managed database service

AlloyDB is a fully managed, PostgreSQL-compatible database service with industry-leading performance, availability, and scale. It automates administrative tasks, such as backups, replication, patching, and capacity management, and uses adaptive algorithms and machine learning for PostgreSQL vacuum management, storage and memory management, data tiering, and analytics acceleration, so you can focus on building your applications.

Fast transactional processing

AlloyDB is more than 4x faster than standard PostgreSQL for transactional workloads. It's suitable for the most demanding enterprise workloads, including those that require high transaction throughput, large data sizes, or multiple read replicas. Read connections scale horizontally, backed by low lag, scale-out read replica pools, and support cross-region replicas.

High availability

AlloyDB offers a 99.99% uptime SLA, inclusive of maintenance. It automatically detects and recovers from most database failures within 60 seconds, independent of database size and load. The architecture supports non-disruptive instance resizing and database maintenance.

Real-time business insights

AlloyDB is up to 100x faster than standard PostgreSQL for analytical queries, with zero impact on operational performance when running business intelligence, reporting, and hybrid transactional and analytical workloads (HTAP). Built-in integration with Vertex AI, Google's artificial intelligence platform, allows you to call machine learning models, including generative AI models, directly within a query or transaction without having to write any application code.

Customer-friendly pricing

Pricing is transparent and predictable, with no expensive, restrictive licensing, and no opaque I/O charges. Storage is automatically managed, and you're only charged for what you use, with no additional storage costs for read replicas. A free ultra-fast cache, automatically provisioned in addition to instance memory, allows you to maximize the price-performance ratio. Committed use discounts offer additional savings for 1 to 3 year commitments.

View all features
Endear logo
As our customer base grew, we ran into PostgreSQL vertical scalability limits and problems like CPU, memory and connection exhaustion. We were thrilled that AlloyDB gave us a drop-in PostgreSQL replacement with much more efficient reads and writes. AlloyDB requires less CPUs to hit our throughput and latency goals, lowering our cost by 40-50% and preparing us for the next phase of customer growth.

JP Grace, Chief Technology Officer, Endear

Documentation

Find resources and documentation

Whitepaper

AlloyDB: Google forges its own new PostgreSQL blend

In this research note, analyst Tony Baer of dbInsight analyzes the role of AlloyDB within Google Cloud's databases and analytics portfolio.
Architecture

Introducing AlloyDB for PostgreSQL

In this video, Sandy Ghai, Product Manager at Google, discusses why AlloyDB was built and explains the technology that powers it.
Google Cloud Basics

AlloyDB overview

Learn how AlloyDB offers superior performance, availability, and scale for the most demanding enterprise workloads.
Quickstart

AlloyDB quickstart using the Cloud Console

Learn how to use the Google Cloud Console as a visual interface to get started with AlloyDB.
Tutorial

Configure AlloyDB using the API

Learn how to use the API to configure AlloyDB for your workloads.
Whitepaper

AlloyDB - Transactional (OLTP) Benchmarking Guide

Best practices for running an Online Transactional Processing (OLTP) benchmark.
Whitepaper

AlloyDB - Analytical (OLAP) Benchmarking Guide

Best practices for running an Online Analytical Processing (OLAP) benchmark.
Google Cloud Basics

Learn about AlloyDB's intelligent, database-aware storage

How AlloyDB's horizontally scalable storage layer is optimized for PostgreSQL.
Google Cloud Basics

PostgreSQL the way only Google can deliver it

A deep dive into AlloyDB.

Not seeing what you’re looking for?

Compare features

Compare AlloyDB to other PostgreSQL options on Google Cloud

Which Google Cloud relational database service is right for your application?

Cloud SQL for PostgreSQL

Fully managed, open-source PostgreSQL in the cloud

AlloyDB for PostgreSQL

Full PostgreSQL compatibility with superior performance and scale

PostgreSQL interface for Spanner

Cloud-native with unlimited scalability and PostgreSQL interface and tooling

Key benefits

  • Easiest lift and shift to the cloud

  • Same management as MySQL and SQL Server

  • Lowest cost relational database option

  • 4x faster than standard PostgreSQL for transactional workloads*

  • Hybrid transactional and analytical processing (HTAP)

  • Adaptive, ML-enabled autopilot systems

  • Strong consistency and global scale

  • 99.999% availability SLA

  • For internet-scale applications

Fully managed, open-source PostgreSQL in the cloud

Key benefits

  • Easiest lift and shift to the cloud

  • Same management as MySQL and SQL Server

  • Lowest cost relational database option

Full PostgreSQL compatibility with superior performance and scale

Key benefits

  • 4x faster than standard PostgreSQL for transactional workloads*

  • Hybrid transactional and analytical processing (HTAP)

  • Adaptive, ML-enabled autopilot systems

Cloud-native with unlimited scalability and PostgreSQL interface and tooling

Key benefits

  • Strong consistency and global scale

  • 99.999% availability SLA

  • For internet-scale applications

All features

All features

Built-in generative AI
AlloyDB AI offers high-performance, pgvector-compatible search that runs vector queries up to 10x faster compared to standard PostgreSQL. It helps you generate vector embeddings from within your database, access data stored in open-source gen AI tools, such as LangChain, and access your AI models, whether they're local models in AlloyDB or remote models in Vertex AI.
Intelligent database management
AlloyDB uses adaptive algorithms and ML for PostgreSQL vacuum management, storage and memory management, data tiering, and analytics acceleration. An Index Advisor monitors queries and recommends indexes that can be added to increase performance, and it helps improve query performance by up to 4x, based on our performance tests.
Cross-region replication
Create secondary clusters in different regions for disaster recovery, have them continuously replicated from the primary region, and promote them in case of an outage. Secondary clusters also improve read performance by bringing data closer to your users. AlloyDB's regional replicas deliver more than 25x lower replication lag than standard PostgreSQL for high throughput transactional workloads.
Continuous backup and recovery
Protect your business from data loss with point-in-time recovery to any point within your defined retention window. Restore the database to a specific date and time for development, test and auditing purposes, or recover your production database from user or application errors. You no longer need expensive hardware or software solutions to achieve enterprise-level data protection.
Easy migrations
No matter where your database is located—whether on-premises, on Compute Engine, or in other clouds—Database Migration Service (DMS) can migrate it to AlloyDB securely and with minimal downtime. DMS leverages native PostgreSQL replication capabilities and automated schema and code conversion, as necessary, to maximize the reliability of your migration.

Pricing

Pricing for AlloyDB

Pricing for AlloyDB for PostgreSQL is transparent and predictable with no expensive, proprietary licensing, and no opaque I/O charges.

Get full details on pricing and learn about committed use discounts.

Partners

Accelerate your workloads by working with a partner

Streamline the process of moving to, building, and working with AlloyDB. Read about the expanded partner ecosystem and about Google Cloud Ready - AlloyDB validated partners.

Data integration and migration

  • Airbyte
  • CData Software
  • Arcion
  • Census
  • Confluent
  • Dataddo
  • dbt Labs
  • Denodo
  • Heimdall Data
  • Hightouch
  • integrate.io
  • KingswaySoft
  • Nexla
  • PolyScale
  • Progress DataDirect
  • Retool
  • Skyvia
  • SnapLogic
  • Striim
  • Supermetrics
  • Trifacta
  • Dataiku
  • Deepnote
  • Hasura
  • Hex
  • Incorta
  • MicroStrategy
  • Mode Analytics
  • Sigma Computing
  • Tellius
  • Anomalo
  • Collibra
  • Datadog
  • Dynatrace
  • New Relic
  • Privacera
  • Quest
  • SqlDBM
  • Vaultree
  • Accenture
  • HCL
  • Infosys
  • Bespin Global
  • Bitstrapped
  • Cloud Ace
  • GI Cloud
  • iret
  • LG CNS
  • Niveus Solutions
  • Nomura Research Institute
  • Orange Business Services
  • Persistent Systems
  • Pythian
  • Quantiphi
  • SADA
  • SCSK
  • Searce
  • 66degrees
  • STS
  • Topgate

Google Cloud database products comply with our SLA policies. They may offer different latency or availability guarantees from other Google Cloud services.

*Based on Google Cloud performance tests, March 2022.

Take the next step

Start building on Google Cloud with $300 in free credits and 20+ always free products.

Google Cloud
  • ‪English‬
  • ‪Deutsch‬
  • ‪Español‬
  • ‪Español (Latinoamérica)‬
  • ‪Français‬
  • ‪Indonesia‬
  • ‪Italiano‬
  • ‪Português (Brasil)‬
  • ‪简体中文‬
  • ‪繁體中文‬
  • ‪日本語‬
  • ‪한국어‬
Console
Google Cloud