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.
Get started with a 30-day AlloyDB free trial instance.
In addition, new Google Cloud customers get $300 in free credits.
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.
AI-powered assistance and ML-enabled management
Gemini in AlloyDB helps you build applications and manage your database fleet, while automated, ML-enabled autopilot systems handle administrative tasks.
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
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.
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.
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.
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.
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. 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 1 to 3 year commitments.
Customers
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
What's new
Sign up for Google Cloud newsletters to receive product updates, event information, special offers, and more.
Documentation
In this research note, analyst Tony Baer of dbInsight analyzes the role of AlloyDB within Google Cloud's databases and analytics portfolio.
In this video, Sandy Ghai, Product Manager at Google, discusses why AlloyDB was built and explains the technology that powers it.
Learn how AlloyDB offers superior performance, availability, and scale for the most demanding enterprise workloads.
Learn how to use the Google Cloud Console as a visual interface to get started with AlloyDB.
Learn how to use the API to configure AlloyDB for your workloads.
Best practices for running an Online Transactional Processing (OLTP) benchmark.
Best practices for running an Online Analytical Processing (OLAP) benchmark.
How AlloyDB's horizontally scalable storage layer is optimized for PostgreSQL.
Which Google Cloud relational database service is right for your application?
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
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. |
Gemini in AlloyDB | Simplify all aspects of the database journey with AI-powered assistance, helping your teams focus on what matters most. Gemini in AlloyDB, in preview, enables developers, operators, and database administrators to build applications quickly using natural language, and helps manage, optimize and govern an entire fleet of databases within a single pane of glass. |
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, AI-powered schema and code conversion to maximize the reliability of your migration. |
Pricing
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
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.
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.
Start building on Google Cloud with $300 in free credits and 20+ always free products.