AlloyDB for PostgreSQL (original) (raw)

AlloyDB logo

100% PostgreSQL-compatible database that runs anywhere

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

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.

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.

AlloyDB Omni on GCE

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 service Overview Key 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 cloudSame management as the MySQL and SQL Server enginesLowest 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 consistency99.999% availability SLASupport for relational and non-relational workloads

Overview

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

Key benefits

Try AlloyDB free to enjoy:

Overview

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

Key benefits

Learn more about how Cloud SQL provides:

Overview

Cloud-native with unlimited scalability and PostgreSQL interface and tooling

Key benefits

Learn more about Spanner if you need:

How It Works

AlloyDB provides full compatibility with open source PostgreSQL, including popular extensions, with higher performance and scalability. Each cluster has a primary instance and an optional read pool with multiple read nodes, and you can replicate to secondary clusters in separate regions. AlloyDB features continuous backup and offers high availability with non-disruptive maintenance for most workloads. It uses adaptive algorithms to eliminate many routine administration tasks.

Andi Gutmans in front of a bookshelf

A deep dive into AlloyDB with Andi Gutmans

Common Uses

Transactional workloads

Learning resources

Learning resources

Analytical workloads

Learning resources

Learning resources

Generative AI applications

Learning resources

Learning resources

Database modernization

Learning resources

Learning resources

Multicloud and hybrid cloud

Learning resources

Learning resources

Pricing

How AlloyDB pricing works Pricing for AlloyDB for PostgreSQL is transparent and predictable with no expensive, proprietary licensing, and no opaque I/O charges.
Service Description Price (USD)
Compute vCPUs Starting at$0.06608per vCPU hour
Memory Starting at $0.0112per GB hour
Storage Regional cluster storage Starting at $0.0004109per GB hour
Backup storage Starting at$0.000137per GB hour
Networking Data transfer in FREE
Data transfer within region FREE
Inter-region data transfer Starting at$0.02per GB
Outbound traffic into the internet Starting at$0.08per GB
Specialty networking services Varies

How AlloyDB pricing works

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

Description

Price (USD)

Starting at

$0.06608

per vCPU hour

Description

Starting at

$0.0112

per GB hour

Description

Price (USD)

Starting at

$0.0004109

per GB hour

Description

Starting at

$0.000137

per GB hour

Description

Price (USD)

FREE

Data transfer within region

Description

FREE

Inter-region data transfer

Description

Outbound traffic into the internet

Description

Specialty networking services

Description

Varies

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.

Partners & Integration

Accelerate your workloads by working with a partner

Data integration and migration

Business intelligence and analytics

Data governance, security, and observability

Systems integration - global

Systems integration - regional

Data integration and migration

Business intelligence and analytics

Data governance, security, and observability

Systems integration - global

Systems integration - regional