AlloyDB logo

AlloyDB

100% PostgreSQL-compatible database that runs anywhere

Power your most demanding enterprise workloads with superior performance, availability, and scale, and supercharge them with AI.

Get started with a 30-day AlloyDB free trial instance.

In addition, new Google Cloud customers get $300 in free credits.

Features

Better price-performance

AlloyDB is more than 4x faster for transactional workloads and provides up to 2x better price-performance compared to self-managed PostgreSQL.* 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. Committed use discounts offer additional savings for one to three year commitments.

Fully featured vector database

AlloyDB AI can help you build a wide range of generative AI applications. It uses the Google ScaNN index, the technology that powers services like Google Search and YouTube, to scale to over a billion vectors and deliver up to 4 times faster vector queries than the HNSW index in standard PostgreSQL.* It also helps you generate vector embeddings from within your database, access data stored in open-source gen AI tools such as LangChain, and access AI models in Vertex AI and other platforms.

Runs anywhere

AlloyDB Omni is a downloadable edition of AlloyDB, designed to run anywhere—in your data center, on your laptop, at the edge, and in any cloud. It’s powered by the same engine that underlies the cloud-based AlloyDB service and provides the same functionality. AlloyDB Omni is a fraction of the cost of legacy databases, so it’s an attractive way to modernize to an enterprise-grade version of PostgreSQL with support from a Tier 1 vendor.

AI-driven development and operations

Simplify all aspects of the database journey with AI-powered assistance, helping your teams focus on what matters most. AlloyDB Studio offers a query editor where you can use Gemini to write SQL and analyze your data using natural language prompts. Database Center, in Preview, provides a comprehensive view of your database fleet with intelligent performance and security recommendations, and you can enable Gemini for an easy-to-use chat interface to ask questions and get optimization recommendations.

Real-time business insights

Thanks to its built-in columnar engine, 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). You can also stream data or use federated queries with BigQuery and call machine learning models in Vertex AI directly within a query or transaction.

Fully managed database service

AlloyDB is a fully managed database service with cloud-scale architecture and 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 management, memory management, data tiering, and analytics acceleration, so you can focus on building your applications.

PostgreSQL compatibility

PostgreSQL has emerged in recent years as a leading alternative to legacy, proprietary databases because of its rich functionality, ecosystem extensions, and enterprise readiness. AlloyDB is fully compatible with PostgreSQL, providing flexibility and true portability for your workloads. It’s easy to migrate existing workloads and bring your existing PostgreSQL skills over.

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, with planned operations incurring less than 1 second of application downtime. Read pools are updated with zero downtime.

Scalability

Scale AlloyDB instances up and down to support almost any workload and deploy up to 20 read replicas for read scalability. You can also 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. Regional replicas deliver more than 25x lower replication lag than standard PostgreSQL for high throughput transactional workloads. They also improve read performance by bringing data closer to your users.

Secure access and connectivity

AlloyDB encrypts data in transit and at rest. It supports private connectivity with Virtual Private Cloud (VPC) for secure connectivity to your applications, and allows you to access your database instances via private IP without going through the internet or using external IP addresses. You can manage your own encryption keys to encrypt data at rest for your database and your backups, and you can choose between Identity and Access Management (IAM) and PostgreSQL user roles for database authentication.

Customer-friendly pricing

Eliminate your dependency on high-cost, proprietary databases, and take advantage of transparent and predictable pricing with no proprietary licensing or 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. An 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 one to three year commitments. And AlloyDB Omni offers another simple and affordable deployment option.

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, testing, and auditing purposes, or recover your production database from user or application errors. You no longer need expensive hardware and software solutions to achieve enterprise-level data protection.

Easy migrations

No matter where your source 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. Gemini adds AI-powered assistance for heterogeneous database migrations, helping you review and convert database-resident code and offering full explanability. For an assessment of your migration needs, try the Database Modernization Program.

Compare PostgreSQL options on Google Cloud

Google Cloud serviceOverviewKey benefits

AlloyDB

Full PostgreSQL compatibility, with superior performance and scale and the most comprehensive generative AI support

Try AlloyDB free to enjoy:

  • 4x faster performance for transactional workloads*
  • Hybrid transactional and analytical processing (HTAP)
  • Scalability for the most demanding enterprise workloads

Cloud SQL

Fully managed, standard version of open source PostgreSQL in the cloud

Learn more about how Cloud SQL provides:

  • Easiest lift and shift to the cloud
  • Same management as the MySQL and SQL Server engines
  • Lowest cost relational database option

Spanner

Cloud-native with unlimited scalability and PostgreSQL interface and tooling

Learn more about Spanner if you need:

  • Unlimited scale and global consistency
  • 99.999% availability SLA
  • Support for relational and non-relational workloads

AlloyDB

Overview

Full PostgreSQL compatibility, with superior performance and scale and the most comprehensive generative AI support

Key benefits

Try AlloyDB free to enjoy:

  • 4x faster performance for transactional workloads*
  • Hybrid transactional and analytical processing (HTAP)
  • Scalability for the most demanding enterprise workloads

Cloud SQL

Overview

Fully managed, standard version of open source PostgreSQL in the cloud

Key benefits

Learn more about how Cloud SQL provides:

  • Easiest lift and shift to the cloud
  • Same management as the MySQL and SQL Server engines
  • Lowest cost relational database option

Spanner

Overview

Cloud-native with unlimited scalability and PostgreSQL interface and tooling

Key benefits

Learn more about Spanner if you need:

  • Unlimited scale and global consistency
  • 99.999% availability SLA
  • Support for relational and non-relational workloads

Common Uses

Transactional workloads

The future of PostgreSQL is here

AlloyDB is fully PostgreSQL-compatible but is more than 4x faster for transactional workloads, making it ideal for e-commerce, financial applications, gaming, and any other workload that demands high throughput and fast response times. Independent scaling of compute and storage, an ultra-fast cache, and intelligent database management give your applications room to grow and eliminate tedious database administration tasks.

The future of PostgreSQL is here

AlloyDB is fully PostgreSQL-compatible but is more than 4x faster for transactional workloads, making it ideal for e-commerce, financial applications, gaming, and any other workload that demands high throughput and fast response times. Independent scaling of compute and storage, an ultra-fast cache, and intelligent database management give your applications room to grow and eliminate tedious database administration tasks.

Analytical workloads

Get real-time business insights

As a data analyst, you can get real-time insights by running queries directly on your AlloyDB operational database. With its built-in, automatically managed columnar engine, AlloyDB is up to 100x faster than standard PostgreSQL for analytical queries, making it ideal for real-time business intelligence dashboards, fraud detection, customer behavior analysis, inventory optimization, and personalization.

Analytical workloads diagram

Get real-time business insights

As a data analyst, you can get real-time insights by running queries directly on your AlloyDB operational database. With its built-in, automatically managed columnar engine, AlloyDB is up to 100x faster than standard PostgreSQL for analytical queries, making it ideal for real-time business intelligence dashboards, fraud detection, customer behavior analysis, inventory optimization, and personalization.

Analytical workloads diagram

Generative AI applications

Build gen AI apps with state-of-the-art models

As generative AI gets integrated into every type of application, the operational database becomes essential for storing and searching vectors and grounding models in enterprise data. AlloyDB AI offers fast vector search, helps you generate vector embeddings from within your database, and offers access to AI models on Vertex AI and other platforms.

Build gen AI apps with state-of-the-art models

As generative AI gets integrated into every type of application, the operational database becomes essential for storing and searching vectors and grounding models in enterprise data. AlloyDB AI offers fast vector search, helps you generate vector embeddings from within your database, and offers access to AI models on Vertex AI and other platforms.

Database modernization

Move your apps to modern, fully managed databases

Whether you're an existing PostgreSQL user or you're looking to transition from legacy databases, you have a path to fully managed databases in the cloud. Database Migration Service (DMS) can help with assessment, conversion, and migration so you can experience the enhanced performance, scalability, and reliability of AlloyDB while maintaining full PostgreSQL compatibility.

Move your apps to modern, fully managed databases

Whether you're an existing PostgreSQL user or you're looking to transition from legacy databases, you have a path to fully managed databases in the cloud. Database Migration Service (DMS) can help with assessment, conversion, and migration so you can experience the enhanced performance, scalability, and reliability of AlloyDB while maintaining full PostgreSQL compatibility.

Multicloud and hybrid cloud

Run anywhere, at a fraction of the cost

While the cloud is the typical destination for database migrations, you may need to keep some workloads on premises to meet regulatory or data sovereignty requirements, and you might need to run them on other clouds or at the edge. AlloyDB Omni is a downloadable edition of AlloyDB that’s powered by the same engine as the cloud-based service and offers the same functionality, so you can standardize on a single database across all platforms.


Run anywhere, at a fraction of the cost

While the cloud is the typical destination for database migrations, you may need to keep some workloads on premises to meet regulatory or data sovereignty requirements, and you might need to run them on other clouds or at the edge. AlloyDB Omni is a downloadable edition of AlloyDB that’s powered by the same engine as the cloud-based service and offers the same functionality, so you can standardize on a single database across all platforms.


Pricing

How AlloyDB pricing worksPricing for AlloyDB for PostgreSQL is transparent and predictable with no expensive, proprietary licensing, and no opaque I/O charges.
ServiceDescriptionPrice (USD)

Compute

vCPUs

Starting at

$0.06608

per vCPU hour

Memory

Starting at

$0.0112

per GB hour

Storage

Regional cluster storage

Starting at

$0.0004109

per GB hour

Backup storage

Starting at

$0.000137

per GB hour

Networking

Data transfer in

FREE

Data transfer within region

FREE

Inter-region data transfer

Starting at

$0.02

per GB

Outbound traffic into the internet

Starting at

$0.08

per GB

Specialty networking services

Varies

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

*Based on Google Cloud performance tests.

How AlloyDB pricing works

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

Compute

Description

vCPUs

Price (USD)

Starting at

$0.06608

per vCPU hour

Memory

Description

Starting at

$0.0112

per GB hour

Storage

Description

Regional cluster storage

Price (USD)

Starting at

$0.0004109

per GB hour

Backup storage

Description

Starting at

$0.000137

per GB hour

Networking

Description

Data transfer in

Price (USD)

FREE

Data transfer within region

Description

FREE

Inter-region data transfer

Description

Starting at

$0.02

per GB

Outbound traffic into the internet

Description

Starting at

$0.08

per GB

Specialty networking services

Description

Varies

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

*Based on Google Cloud performance tests.

PRICING CALCULATOR

Estimate your monthly AlloyDB costs, including region specific pricing and fees.

CUSTOM QUOTE

Connect with our sales team to get a custom quote for your organization.

Start your proof of concept

Get started with a 30-day AlloyDB free trial instance

Learn how to use AlloyDB

Learn about the key benefits of AlloyDB

Compare AlloyDB to self-managed PostgreSQL

Build gen AI applications with AlloyDB

Business Case

Learn from customers using AlloyDB


Endear

"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

Read customer story

Featured benefits and customers

Demand more from your database? AlloyDB offers superior speed, reliability, and ease of use.

With a downloadable version, AlloyDB can tackle any project, anywhere.

AlloyDB is perfect for building gen AI apps and is equipped with its own impressive AI capabilities.

  • B4A logo
  • Writer logo
  • Apex Fintech Solutions logo
  • Loyal Guru logo

Partners & Integration

Accelerate your workloads by working with a partner
  • Airbyte logo
  • CData logo
  • Aiven logo
  • Arcion logo
  • Confluent logo
  • Dataddo logo
  • dbt Labs
  • Denodo logo
  • Heimdall Data logo
  • Hightouch logo
  • Integrate.io logo
  • KingswaySoft logo
  • Nexla logo
  • PolyScale logo
  • Progress DataDirect logo
  • Retool logo
  • Skyvia logo
  • SnapLogic logo
  • Striim logo
  • Supermetrics logo
  • Trifacta logo
  • Airbyte logo
  • CData logo
  • Aiven logo
  • Arcion logo
  • Confluent logo
  • Dataddo logo
  • dbt Labs
  • Denodo logo
  • Heimdall Data logo
  • Hightouch logo
  • Integrate.io logo
  • KingswaySoft logo
  • Nexla logo
  • PolyScale logo
  • Progress DataDirect logo
  • Retool logo
  • Skyvia logo
  • SnapLogic logo
  • Striim logo
  • Supermetrics logo
  • Trifacta logo
  • Dataiku logo
  • Hasura logo
  • Hex.tech logo
  • Incorta logo
  • MicroStrategy logo
  • ModeAnalytics logo
  • Sigma Computing logo
  • Tellius logo
  • Anomalo logo
  • Collibra logo
  • Datadog logo
  • Dynatrace logo
  • New Relic logo
  • Privacera logo
  • Quest logo
  • SqlDBM logo
  • Vaultree logo
  • Accenture logo
  • HCL logo
  • Infosys logo
  • Bespin Global logo
  • Bitstrapped logo
  • Cloud Ace logo
  • GI Cloud logo
  • iret logo
  • LG CNS logo
  • Niveus logo
  • NRI logo
  • Orange Business Services logo
  • Persistent logo
  • Pythian logo
  • Quantiphi logo
  • SADA logo
  • SCSK logo
  • Searce logo
  • 66degrees logo
  • STS logo
  • Topgate logo

Streamline the process of moving to, building, and working with AlloyDB. Read about Google Cloud Ready - AlloyDB validated partners and visit the partner directory for a full list of AlloyDB partners.

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