This page explains This page covers the following topics: By using Spanner, Vertex AI RAG Engine provides a consistent, highly available, and scalable database for your application. To learn more about Google Spanner, see Spanner. Vertex AI RAG Engine always stores your RAG corpus and file resource metadata in You can scale your The following tiers are available: Scaled tier: A production-scale instance recommended for large datasets, performance-sensitive workloads, and production environments. This tier configures the underlying Spanner instance to autoscale from 1 to 10 nodes (1,000 to 10,000 processing units). Basic tier (Default): A cost-effective, low-compute instance fixed at 100 processing units (0.1 nodes). This tier is recommended for the following use cases: Unprovisioned tier: Deletes the To retrieve your current project configuration, use the To change your project's tier, use the RagManagedDb
, its underlying technology, its role in Vertex AI RAG Engine, and how to manage its configuration.
RagManagedDb
and its role as a managed database for Vertex AI RAG Engine.RagManagedDb
instance based on performance and cost requirements.RagManagedDb
tier configuration.What is RagManagedDb?
RagManagedDb
is an enterprise-ready, fully-managed Google Spanner instance that Vertex AI RAG Engine uses to store its resources. You can also optionally use it as the vector database of choice for your RAG corpora.RagManagedDb
, even if you use a different vector database. When you use RagManagedDb
as your vector database, it also stores and manages the vector embeddings of your documents. The vector database retrieves relevant documents based on the semantic similarity between a document and a given query.Manage tiers
RagManagedDb
instance based on your usage and performance requirements by selecting a tier. The tier is a project-level setting that you configure in the RagEngineConfig
resource.
RagManagedDb
.RagManagedDb
instance and all associated data, which stops service billing. This action is irreversible and disables the Vertex AI RAG Engine service for the project. To use the service again, you must update the tier by calling the UpdateRagEngineConfig
API. For more information on billing, see Vertex AI RAG Engine billing.Get the project configuration
GetRagEngineConfig
API. For code samples, see the following:Update the project configuration
UpdateRagEngineConfig
API. For code samples, see the following:What's next
RagManagedDb
, including how to manage your tier configuration and the RAG corpus-level retrieval strategy, see Use RagManagedDb with Vertex AI RAG Engine.
Understanding RagManagedDb
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-08-26 UTC.