
Accelerate PostgreSQL migrations using Gemini in Database Migration Service
Google Cloud's Database Migration Service (DMS) now integrates Gemini AI to automate the conversion of stored procedures, triggers, and custom functions when migrating to PostgreSQL. This addresses the complex "last mile" bottleneck caused by proprietary SQL dialects like PL/SQL and T-SQL.
Why it matters
Database teams can reduce manual code rewrite time from months to days, accelerating application modernization and allowing developers to focus on adding new functionality.
The details
- Gemini analyzes full database context including table relationships and cross-procedure references.
- Converted code is displayed side-by-side with original source for real-time review.
- DMS combines deterministic compiler rules with AI synthesis to ensure predictable translation.
Show entities and relationshipsHide entities and relationships
In this article
Key connections
Google owns Gemini in Database Migration Service
Google develops Gemini AI features integrated into Database Migration Service.
Microsoft owns SQL Server
Microsoft develops and licenses SQL Server database system.
Database Migration Service is built with Gemini in Database Migration Service
Database Migration Service incorporates Gemini for AI-assisted procedural code conversion.
Database Migration Service uses PL/pgSQL
Database Migration Service converts database routines into PostgreSQL PL/pgSQL code.
Database Migration Service uses PL/SQL
Database Migration Service converts Oracle PL/SQL code during database migrations.
Database Migration Service uses T-SQL
Database Migration Service converts SQL Server T-SQL code during database migrations.
Show 7 more connectionsShow fewer connections
Cloud SQL uses PostgreSQL
Cloud SQL supports target deployments of PostgreSQL databases.
AlloyDB uses PostgreSQL
AlloyDB provides a fully managed PostgreSQL-compatible database engine.
Google Cloud competes with Oracle in database infrastructure and migrations.
Oracle developed and maintains the PL/SQL procedural database language.
SQL Server uses T-SQL
SQL Server uses T-SQL as its primary database procedural language.
PostgreSQL uses PL/pgSQL
PostgreSQL uses PL/pgSQL for writing stored functions and procedures.
Google Cloud is related to Database Migration Service
Database Migration Service is available within the Google Cloud console.
Related events
Introduction of AI-Assisted Code Conversion Powered by Gemini in Database Migration Service
Get the weekly recap
The stories like this one, picked and explained — once a week, straight to your inbox.