您也可以使用資料庫移轉服務,從舊版 SQL Server 遷移至 Cloud SQL 支援的新版 SQL Server,但前提是必須遵守版本相容性指南。詳情請參閱 Microsoft 說明文件,瞭解 SQL Server 版本支援的版本和版本升級。如需範例,請參閱「支援的版本和版本升級 (SQL Server 2022)」。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-05 (世界標準時間)。"],[[["\u003cp\u003eDatabase Migration Service facilitates both homogeneous migrations (e.g., MySQL to Cloud SQL for MySQL) and heterogeneous migrations (e.g., Oracle to Cloud SQL for PostgreSQL).\u003c/p\u003e\n"],["\u003cp\u003eThe service supports a variety of source databases, including Amazon RDS, self-managed databases, and other cloud platforms like Azure, for migrations to Google Cloud's Cloud SQL, and AlloyDB.\u003c/p\u003e\n"],["\u003cp\u003eMySQL homogeneous migrations support multiple versions and minor versions of source databases such as Amazon RDS, Self-managed MySQL, Cloud SQL for MySQL, Amazon Aurora, and Microsoft Azure Database for MySQL.\u003c/p\u003e\n"],["\u003cp\u003ePostgreSQL homogeneous migrations support multiple versions of source databases such as Amazon RDS, Amazon Aurora, Self-managed PostgreSQL, Cloud SQL for PostgreSQL, and Microsoft Azure Database for PostgreSQL Flexible Server.\u003c/p\u003e\n"],["\u003cp\u003eHeterogeneous migrations are possible from Oracle databases (11g to 21c, including RAC) to Cloud SQL for PostgreSQL (versions 12 to 15) or AlloyDB for PostgreSQL (versions 14, 15), and from SQL Server to Cloud SQL for SQL Server (versions 2017 to 2022).\u003c/p\u003e\n"]]],[],null,["# Supported source and destination databases\n\nYou can use Database Migration Service to migrate your databases to Google Cloud.\nDatabase Migration Service supports both homogeneous migrations, such as MySQL to\nCloud SQL for MySQL, and heterogeneous migrations, such as Oracle to\nCloud SQL for PostgreSQL.\n\nThis page lists the versions of all source and destination databases that\nDatabase Migration Service supports in all migration scenarios. Use this information to\nchoose the source and destination databases for your migration.\n\nHomogeneous migrations supported source and destination databases\n-----------------------------------------------------------------\n\nSelect your homogeneous migration scenario to view which source and destination\ndatabases the migration supports: \n\n### MySQL to Cloud SQL for MySQL\n\n**Supported source databases**\n\n- Amazon RDS 5.6, 5.7, 8.0\n- Self-managed MySQL (on premises or on any cloud VM that you fully control) 5.5, 5.6, 5.7, 8.0\n- Cloud SQL for MySQL 5.6, 5.7, 8.0, 8.4\n- Amazon Aurora 5.6, 5.7, 8.0\n- Microsoft Azure Database for MySQL 5.7, 8.0\n\nFor MySQL 8.0 sources, Database Migration Service also supports the following minor versions:\n8.0.18, 8.0.26, 8.0.27, 8.0.28, 8.0.30, 8.0.31, 8.0.32, 8.0.33, 8.0.34, 8.0.35, 8.0.36, 8.0.37,\n8.0.39, 8.0.40, 8.0.41, 8.0.42.\n\n**Supported destination databases**\n\n- Cloud SQL for MySQL 5.6 and 5.7\n- Cloud SQL for MySQL 8.0 including the following minor versions: 8.0.18, 8.0.26, 8.0.27, 8.0.28, 8.0.30, 8.0.31, 8.0.32, 8.0.33, 8.0.34, 8.0.35, 8.0.36, 8.0.37, 8.0.39, 8.0.40, 8.0.41, 8.0.42.\n- Cloud SQL for MySQL 8.4 with certain limitations. For example, migrations that use physical backup files are not supported for MySQL 8.4 destinations. For more information, see [Known limitations](/database-migration/docs/mysql/known-limitations).\n\n| **Note:** Migrating from a later minor version to an earlier minor version is not recommended.\n\nFor more information, see [Migrate to Cloud SQL for MySQL](/database-migration/docs/mysql/migration-src-and-dest). \n\n### PostgreSQL to Cloud SQL for PostgreSQL\n\n**Supported source databases**\n\n- Amazon RDS 9.6.10+, 10.5+, 11.1+, 12, 13, 14, 15, 16, 17.\n- Amazon Aurora 10.11+, 11.6+, 12.4+, 13.3+, 14.6+, 15.2+, 16, 17.\n- Self-managed PostgreSQL (on premises or on any cloud VM that you fully control) 9.4, 9.5, 9.6, 10, 11, 12, 13, 14, 15, 16, 17.\n- Cloud SQL for PostgreSQL 9.6, 10, 11, 12, 13, 14, 15, 16, 17.\n- Microsoft Azure Database for PostgreSQL Flexible Server: 11+\n\n**Supported destination databases**\n\n- Cloud SQL for PostgreSQL 9.6, 10, 11, 12, 13, 14, 15, 16, 17.\n\nFor more information, see [Migrate to Cloud SQL for PostgreSQL](/database-migration/docs/postgres/migration-src-and-dest). \n\n### PostgreSQL to AlloyDB for PostgreSQL\n\n**Supported source databases**\n\n- Amazon RDS 9.6.10+, 10.5+, 11.1+, 12, 13, 14, 15, 16, 17\n- Amazon Aurora 10.11+, 11.6+, 12.4+, 13.3+, 14, 15, 16, 17\n- Self-managed PostgreSQL (on premises or on any cloud VM that you fully control) 9.4, 9.5, 9.6, 10, 11, 12, 13, 14, 15, 16, 17\n- Cloud SQL 9.6, 10, 11, 12, 13, 14, 15, 16, 17\n\n**Supported destination databases**\n\n- AlloyDB for PostgreSQL 14, 15, 16, 17\n\nFor more information, see\n[Migrate to AlloyDB for PostgreSQL](/database-migration/docs/postgresql-to-alloydb/migration-src-and-dest). \n\n### SQL Server to Cloud SQL for SQL Server\n\nThe following table lists all supported SQL Server source and destination\ndatabases:\n\n\nYou can also use Database Migration Service to migrate from earlier versions of\nSQL Server to later versions supported in Cloud SQL, as long\nas you follow the version compatibility guidelines. For more information,\nsee the supported version and edition upgrades for your SQL Server\nversion in Microsoft documentation. For example, see\n[Supported version and edition upgrades (SQL Server 2022)](https://learn.microsoft.com/en-us/sql/database-engine/install-windows/supported-version-and-edition-upgrades-2022?view=sql-server-ver16#upgrades-from-earlier-versions-to-sql-server-2022).\n\nFor more information, see [Migrate to Cloud SQL for SQL Server](/database-migration/docs/sqlserver/scenario-overview).\n\nHeterogeneous migrations supported source and destination databases\n-------------------------------------------------------------------\n\nSelect your heterogeneous migration scenario to view which source and destination\ndatabases the migration supports: \n\n### Oracle to Cloud SQL for PostgreSQL\n\n**Supported source and destination databases**\n\nDatabase Migration Service supports the following Oracle databases as migration sources:\n\n- Amazon RDS for Oracle\n- Self-hosted deployments, including:\n - Oracle Single Instance Database Deployment\n - Oracle Exadata\n - Oracle Active Data Guard\n - Oracle Real Application Clusters (RAC)\n\nFull support also depends on your source Oracle version.\nThe following table lists all supported versions for heterogeneous Oracle migrations:\n\n**Unsupported source databases**\n\nDatabase Migration Service doesn't support migrating from Oracle Autonomous Database.\n\nFor more information, see [Migrate from Oracle to Cloud SQL for PostgreSQL](/database-migration/docs/oracle-to-postgresql/scenario-overview). \n\n### Oracle to AlloyDB for PostgreSQL\n\n**Supported source and destination databases**\n\nDatabase Migration Service supports the following Oracle databases as migration sources:\n\n- Amazon RDS for Oracle\n- Self-hosted deployments, including:\n - Oracle Single Instance Database Deployment\n - Oracle Exadata\n - Oracle Active Data Guard\n - Oracle Real Application Clusters (RAC)\n\nFull support also depends on your source Oracle version.\nThe following table lists all supported versions for heterogeneous Oracle migrations:\n\n**Unsupported source databases**\n\nDatabase Migration Service doesn't support migrating from Oracle Autonomous Database.\n\nFor more information, see [Migrate from Oracle to AlloyDB for PostgreSQL](/database-migration/docs/oracle-to-alloydb/scenario-overview). \n\n### SQL Server to Cloud SQL for PostgreSQL\n\n**Supported source and destination databases**\n\nThe following table lists all supported SQL Server source and destination databases:\n\n**Unsupported source databases**\n\nDatabase Migration Service doesn't support migrating from the following SQL Server versions:\n\n- SQL Server Standard edition versions from 2008 to 2014\n- SQL Server Express\n- SQL Server Web\n\nFor more information, see\n[Migrate from SQL Server to Cloud SQL for PostgreSQL](/database-migration/docs/sqlserver-to-csql-pgsql/scenario-overview). \n\n### SQL Server to AlloyDB for PostgreSQL\n\n**Supported source and destination databases**\n\nThe following table lists all supported SQL Server source and destination databases:\n\n**Unsupported source databases**\n\nDatabase Migration Service doesn't support migrating from the following SQL Server versions:\n\n- SQL Server Standard edition versions from 2008 to 2014\n- SQL Server Express\n- SQL Server Web\n\nFor more information, see [Migrate from SQL Server to AlloyDB for PostgreSQL](/database-migration/docs/sqlserver-to-alloydb/scenario-overview)."]]