AlloyDB for PostgreSQL documentation

AlloyDB is a fully-managed, PostgreSQL-compatible database for demanding transactional workloads. It provides enterprise-grade performance and availability while maintaining 100% compatibility with open-source PostgreSQL.

Go to the AlloyDB for PostgreSQL product page for more.

Not sure what database option is right for you? Learn more about our database services.

Start your proof of concept with 300ドル in free credit

  • Get access to Gemini 2.0 Flash Thinking
  • Free monthly usage of popular products, including AI APIs and BigQuery
  • No automatic charges, no commitment

Keep exploring with 20+ always-free products

Access 20+ free products for common use cases, including AI APIs, VMs, data warehouses, and more.

Documentation resources

Find quickstarts and guides, review key references, and get help with common issues.
Explore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services.
Training
Training and tutorials

AlloyDB AI Embedding lab

Get hands-on practice with creating and using vector embeddings using AlloyDB. This codelab guides you through setting up an AlloyDB cluster, integrating it with Vertex AI, and then applying a generative model to data queries.

107 minutes Introductory Free

Training
Training and tutorials

Semantic search with AlloyDB PG_Vector

This lab walks you through building a semantic search web application for searching through movie plot summaries using AlloyDB vector search to find movies and similar movies. Signing in to Google Cloud Qwiklabs is required to access this lab.

135 minutes Introductory Free

Use case
Use cases

Whitepaper: ScaNN for AlloyDB for PostgreSQL

Explains how ScaNN for AlloyDB for PostgreSQL achieves faster performance and improves memory footprint.

ScaNN vector search vector embeddings vector indexing

Use case
Use cases

Best practices for tuning ScaNN indexes

Provides recommendations about how to tune index parameters for optimal balance between recall and QPS.

ScaNN optimization

Related videos

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.