Google Opr Databases
Google Opr Databases
2
Generative AI success starts
with your operational data
Your enterprise depends on extracting You already know that gen AI is the key to unlocking further
business value. It has the power to transform customer
value from your data. You’re already interactions through improved search and personalized
using operational data—like customer assistance. It can supercharge team productivity by assisting
developers and administrators in their tasks. It can perform
information, financial transactions, and routine tasks to free your staff to innovate and create. And so
inventory levels—to improve processes much more.
and customer experience. And now, In this paper, we’ll show you how to harness the full potential
generative AI has raised the potential gen AI with operational databases—and leverage the next
generation of AI tools to improve employee productivity.
of your data by leaps and bounds.
3
Gen AI makes modernization
more urgent than ever
Leading enterprises are using gen AI in their workflows. And And yet, implementing gen AI isn’t as easy as flicking a switch.
this rapid acceleration of gen AI adoption is creating wider Many organizations are discovering that their legacy databases
gaps in the market—as businesses that embrace it continue to are holding them back from the next level of digital transformation.
move ahead, and those that don’t are left behind.
Simplicity
Accuracy Any technology relies on the people using it—and so it’s
imperative that your team work as seamlessly as possible with
An operational database stores and processes your data in
your databases and gen AI technologies. Application
real time, making it the most reliable source of up-to-date
developers know and understand operational databases, and
information. And if you aren’t integrating this data in your gen
they can interact with the apps under development. The basic
AI model, then your enterprise app will fall short of its full
framework already exists to make use of your operational data
capability. The retrieval augmented generation (RAG)
in your enterprise application without having to learn an
technique enables you to leverage fresh or domain-specific
entirely new system.
data into your foundation model—opening up new
opportunities to build gen AI apps that deliver answers that are
accurate, informative, and relevant to your end-users. 5
Use case example
Building a product
search app
Customers expect prompt, personalized interactions. And to Now, we have a customer who is looking for some popular
deliver those unparalleled customer experiences, enterprises toys for kids under five years old. Within the app, they can
are relying on operational databases and gen AI to harness interact with a chatbot to answer a wide range of questions
their application data. You can build applications faster with including availability, pricing, and return policies. When the
modern databases compared to using legacy systems. And in foundation model is augmented by RAG, the chatbot can
today’s competitive landscape, this speed is a top priority. answer these questions based on up-to-date information
about inventory levels.
Let’s see how RAG works in a common scenario. In this case,
let’s look at a shopping app for a toy company that uses a So, instead of simply receiving a recommendation for a child
standard foundation model, augmented by real-time inventory under five, the customer would also be given information
and product information from your operational database. about the store closest to them that has the toy in stock.
That’s the type of personalized response that improves the
conversion into a sale.
Creates prompt 3
with up-to-date data 4 Foundation model constructs an accurate answer based
on your data, such as “Here is a list of popular toys for
kids under five years old in stock.”
4 LLM
Returns answer
based on your data
6
Innovate and transform
with Google Cloud
databases and gen AI
Google Cloud helps organizations build gen AI solutions and
simplify the management of the databases they depend upon.
With Google’s Data Cloud, data teams can use gen AI tools to
activate their enterprise data and use built-in features to easily
apply AI/ML directly to their data. For instance, built-in vector
embedding capabilities in AlloyDB and BigQuery allow users
to store and generate embeddings within their data stores to All of our databases have vector search
help augment their foundation models and support their gen AI
capabilities. That means you don’t have to
use cases.
deal with complex data pipelines to move
Building enterprise gen AI apps faster your data to specialized vector stores.
Furthermore, you can easily perform filter
Across our database portfolio, Google Cloud delivers world-class
vector embedding and search capabilities. Relational databases
and join operations on your data with your
and non-relational databases alike offer gen AI features to provide familiar database interface. To top it all,
a deeper, more meaningful understanding of your data. you get the required enterprise-grade
data protection, availability SLA, security,
Google Cloud databases are simple to integrate with your
and compliance from your database,
developer ecosystem. They support popular open source database
standards like PostgreSQL and HBase, making it easy to migrate giving you the peace of mind to
from legacy databases. future-proof your application.
7
AlloyDB is helping organizations What’s next for AlloyDB
to build gen AI apps
We are continuing to innovate on AlloyDB building the
next generation of AlloyDB AI, which includes new vector
AlloyDB is optimized for enterprise gen AI apps that need
capabilities, easier access to remote models, and secure
real-time and accurate responses. It delivers superior
and flexible natural language support.
performance for transactional, analytical, and vector
workloads. It runs anywhere, including on-premises and on
other clouds, enabling customers to modernize and innovate At Google, we have more than 12 years of experience
wherever they are. innovating on real-world vector algorithms to support some
of our most popular services, including Google Search and
YouTube. We had to invent new ways of indexing and searching
AlloyDB AI is an integrated set of capabilities built into
vectors to meet the most demanding use cases. In addition to
AlloyDB to help developers build performant and scalable
support for open-source pgvector for our PostgreSQL
gen AI applications using their operational data. It helps
databases, we are bringing the next generation of tree-based
developers more easily and efficiently combine the power of
vector capabilities to relational databases. The ScaNN index is
foundation models with their real-time operational data by
a new pgvector-compatible index based on Google’s
providing built-in, end-to-end support for vector
state-of-the-art approximate nearest neighbor algorithms. In
embeddings, and offers:
our performance tests, AlloyDB AI offers up to four times faster
● Easy embeddings generation. With a single line of vector querying than the popular HNSW index in standard
SQL, you can access Google’s embeddings models, PostgreSQL, up to eight times faster index creation, and
including both local models and richer remote typically uses three to four times less memory than the HNSW
models in Vertex AI. index in standard PostgreSQL.
8
Vector search across all Accelerating ecosystem
Google Cloud databases support for LangChain
Vector embeddings and searches are critical for building useful Integration with specific LangChain components simplifies the
and accurate gen AI-powered applications—making it easier to process of incorporating Google databases into applications.
find similar search results across unstructured data such as text By leveraging the power of LangChain with our databases,
and images using a nearest neighbor algorithm. Because vector developers can now easily create context-aware gen AI
searches are so important, we provide built-in vector capabilities applications, faster.
across the entire suite of Google Cloud database offerings for
greater operational simplicity and efficiency. You can now store The LangChain integration provides built-in RAG workflows
and search across vector embeddings using your existing across developers’ preferred data sources, using their choice
databases without the hassle of copying data to another vector of enterprise-grade Google Cloud database. Example use
search solution or learning a separate system. cases include personalized product recommendations,
question answering, document search and synthesis, and
● Cloud SQL for MySQL supports exact nearest neighbor
customer service automation.
search and approximate nearest neighbor search.
Developers can store millions of vectors in the same MySQL
instances they are already using and search against their
vector store.
● Cloud SQL for PostgreSQL supports two search
approaches for balancing speed and accuracy. Approximate
nearest neighbor vector search is ideal for large datasets
where close matches suffice, while exact nearest neighbor
vector search is used for precision.
● AlloyDB for PostgreSQL offers high-performance,
pgvector-compatible search that runs vector queries up to
10 times faster compared to standard PostgreSQL. Your
apps can perform fast similarity searches on complex data
types such as text and images, using approximate nearest
neighbor or exact nearest neighbor algorithms.
● Spanner supports exact nearest neighbor vector search on
datasets containing trillions of vectors for highly
partitionable workloads. It can efficiently reduce the search
space to provide accurate, real-time results with low
latency.
● BigQuery supports approximate nearest-neighbor search
on BigQuery data. This functionality is key to empowering
numerous new data and AI use cases such as semantic
search, similarity detection, and RAG.
● Bigtable will soon offer exact nearest neighbor vector
search on datasets containing trillions of vectors for highly
partitionable workloads. It can efficiently reduce the search
space to provide accurate, real-time results with low
latency.
● Memorystore for Redis provides support for vector
storage, enabling ultra low-latency queries for your gen AI
applications. It’s an ultra-low-latency data store suitable for
use cases such as foundation model semantic caching and
recommendation systems.
● Firestore supports exact nearest neighbor vector search.
Developers can perform vector search on transactional 9
Firestore data without the hassle of copying data to another
vector search solution.
Supercharge
database
development and AI can transform how developers operate,
In a business landscape where agility and responsiveness are 82% of developers spend 30 minutes/day
searching for solutions
key differentiating factors for success, you need to be able to
move fast when market forces change. Database technology is
evolving fast, and database professionals are finding it hard to
stay up-to-date—which hampers both programming quality
25% spend more than an hour searching
for solutions each day
and productivity.
Gemini for Google Cloud changes that. It provides an AI-powered assistant that helps you be more productive and
creative. It can be your writing and coding assistant, creative designer, migration expert, or even your database
administrator. For database users, it can help you in multiple aspects of the database journey across development,
performance optimization, fleet management, governance, and migrations. Gemini for Google Cloud can help you
move away from legacy databases and migrate your data to Google Cloud databases. It can help your developers,
database administrators, and platform engineers do their jobs more efficiently, and become better at what they do,
with a suite of AI-assisted features for managing, and tuning your database.
10
Migration: Leverages foundation models to assess and Fleet management: Database administrators and platform
convert the schema or database resident code before engineers can manage an entire fleet of diverse databases
migrating data. Easily learn new PostgreSQL dialects, using the intelligent dashboards built with AI, proactively
optimize SQL code, and enhance readability for better assessing availability, data protection, security, and
productivity, easier migrations, and higher efficiency. compliance issues without any custom tools or processes.
With the integrated AI assistant in Database Center,
Development: Developers can build and deploy
database teams can interface with the system using natural
applications faster while meeting security and high
language, making it easier to find the information they need
availability needs with Gemini’s ability to generate,
and troubleshoot problems.
fine-tune, and summarize SQL code with simple natural
language instructions. Data governance: Set data policies to improve security,
regulatory compliance, and control. Manage all your data,
Performance optimization: Operators and developers can
across data silos, in one centralized location. Use built-in
address database performance issues through an
data intelligence tools to check data validity and
easy-to-use interface, providing visibility into all database
compliance.
metrics in a single view, saving time and enhancing
productivity. Database Insights automatically analyzes your
workloads, highlights problems, and provides
recommendations to resolve them.
11
Start your
transformation
with Google Cloud
We’re here to guide you. With our years of
experience in implementing these systems for
ourselves and others, we have a solid
understanding of the challenges and
opportunities you’re facing.
● Cloud SQL is a fully managed relational database ● Bigtable is a highly performant, fully managed NoSQL
service for MySQL, PostgreSQL, and SQL Server. database service for large analytical and operational
workloads. It offers up to 99.999% availability, and
Database Migration Service helps simplify
processes more than seven billion requests per second
●
13