Skip to content

Commit 2f1876d

Browse files
authored
Merge pull request #33518 from aravindmahadevan-ms/patch-17
SSMA for Oracle 10.1 release
2 parents 84d7c36 + cdca036 commit 2f1876d

File tree

1 file changed

+95
-93
lines changed

1 file changed

+95
-93
lines changed

docs/ssma/oracle/migrating-oracle-data-into-sql-server-oracletosql.md

Lines changed: 95 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ title: "Migrating Oracle Data into SQL Server (OracleToSQL)"
33
description: Learn how to migrate data from an Oracle database to SQL Server, after you synchronize the converted objects, by using the SSMA for Oracle application.
44
author: cpichuka
55
ms.author: cpichuka
6-
ms.date: "01/19/2017"
6+
ms.reviewer: randolphwest
7+
ms.date: 04/01/2025
78
ms.service: sql
89
ms.subservice: ssma
910
ms.topic: conceptual
@@ -18,111 +19,112 @@ helpviewer_keywords:
1819
- "Oracle Data Migration,Server-Side Migration"
1920
---
2021
# Migrating Oracle Data into SQL Server (OracleToSQL)
21-
After you have successfully synchronized the converted objects with [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], you can migrate data from Oracle to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
22-
22+
23+
After you successfully synchronize the converted objects with [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)], you can migrate data from Oracle to [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] using SQL Server Migration Assistant (SSMA) for Oracle.
24+
2325
> [!IMPORTANT]
24-
> If the engine being used is Server Side Data Migration Engine, then, before you can migrate data, you must install the SSMA for Oracle Extension Pack and the Oracle providers on the computer that is running SSMA. The SQL Server Agent service must also be running. For more information about how to install the extension pack, see [Installing Server Components (OracleToSQL)](./installing-ssma-components-on-sql-server-oracletosql.md)
25-
26+
> If the engine being used is Server Side Data Migration Engine, then before you can migrate data, you must install the SSMA for Oracle Extension Pack and the Oracle providers on the computer that is running SSMA. The SQL Server Agent service must also be running. For more information about how to install the extension pack, see [Installing SSMA components on SQL Server (OracleToSQL)](installing-ssma-components-on-sql-server-oracletosql.md).
27+
2628
[!INCLUDE [entra-id](../../includes/entra-id-hard-coded.md)]
2729

28-
## Setting Migration Options
29-
Before migrating data to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], review the project migration options in the **Project Settings** dialog box.
30-
31-
- By using this dialog box you can set options such as migration batch size, table locking, constraint checking, null value handling, and identity value handling. For more information about the Project Migration Settings, see [Project Settings (Migration) (OracleToSQL)](./project-settings-migration-oracletosql.md).
32-
33-
- The **Migration Engine** in the **Project Settings** dialog box, allows the user to perform the migration process using two types of data migration engines:
34-
35-
1. Client Side Data Migration Engine
36-
37-
2. Server Side Data Migration Engine
38-
39-
**Client Side Data Migration:**
40-
41-
- To initiate data-migration on the client side, select the **Client Side Data Migration Engine** option in the **Project Settings** dialog box.
42-
43-
- In **Project Settings**, the **Client Side Data Migration Engine** option is set.
44-
45-
> [!NOTE]
46-
> The **Client-Side Data Migration Engine** resides inside the SSMA application and is, therefore, not dependent on the availability of the extension pack.
47-
48-
**Server Side Data Migration:**
49-
50-
- During the Server side data migration, the engine resides on the target database. It is installed through the extension pack. For more information on how to install the extension pack, see [Installing Server Components on SQL Server](installing-ssma-components-on-sql-server-oracletosql.md)
51-
52-
- To initiate migration on the server side, select the **Server Side Data Migration Engine** option in the **Project Settings** dialog box.
53-
54-
## Migrating Data to SQL Server
55-
Migrating data is a bulk-load operation that moves rows of data from Oracle tables into [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] tables in transactions. The number of rows loaded into [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] in each transaction is configured in the project settings.
56-
57-
To view migration messages, make sure that the Output pane is visible. Otherwise, from the **View** menu, select **Output**.
58-
59-
**To migrate data**
60-
61-
1. Verify the following:
62-
63-
- The Oracle providers are installed on the computer that is running SSMA.
64-
65-
- You have synchronized the converted objects with the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] database.
66-
67-
2. In Oracle Metadata Explorer, select the objects that contain the data that you want to migrate:
68-
69-
- To migrate data for all schemas, select the check box next to **Schemas**.
70-
71-
- To migrate data or omit individual tables, first expand the schema, expand **Tables**, and then select or clear the check box next to the table.
72-
73-
3. To migrate data, two cases arise:
74-
75-
**Client Side Data Migration:**
76-
77-
- For performing **Client Side Data Migration**, select the **Client Side Data Migration Engine** option in the **Project Settings** dialog box.
78-
79-
**Server Side Data Migration:**
80-
81-
- Before performing data migration on the server side, ensure:
82-
83-
1. The SSMA for Oracle Extension Pack is installed on the instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
84-
85-
2. The SQL Server Agent service is running on the instance of SQL Server.
86-
87-
- For performing **Server Side Data Migration**, select the **Server Side Data Migration Engine** option in the **Project Settings** dialog box.
88-
89-
4. Right-click **Schemas** in Oracle Metadata Explorer, and then click **Migrate Data**. You can also migrate data for individual objects or categories of objects: Right-click the object or its parent folder; select the **Migrate Data** option.
90-
91-
> [!NOTE]
92-
> If the SSMA for Oracle Extension Pack is not installed on the instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], and if **Server Side Data Migration Engine** is selected, then while migrating the data to the target database, the following error is encountered: 'SSMA Data Migration components were not found on SQL Server, server-side data migration will not be possible. Please check if Extension Pack is installed correctly'. Click **Cancel** to terminate the data migration.
93-
94-
5. In the **Connect to Oracle** dialog box, enter the connection credentials, and then click **Connect**. For more information on connecting to Oracle, see [Connect To Oracle (OracleToSQL)](../../ssma/oracle/connect-to-oracle-oracletosql.md)
95-
96-
For connecting to the target database [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], enter the connection credentials in the **Connect to SQL Server** dialog box, and click **Connect**. For more information on connecting to [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], see [Connect to SQL Server](../sybase/connecting-to-sql-server-sybasetosql.md)
97-
98-
Messages will appear in the **Output** pane. When the migration is complete, the **Data Migration Report** appears. If any data did not migrate, click the row that contains the errors, and then click **Details**. When you are finished with the report, click **Close**. For more information on Data Migration Report, see [Data Migration Report (SSMA Common)](../sybase/data-migration-report-sybasetosql.md)
99-
30+
## Set migration options
31+
32+
Before migrating data to [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)], review the project migration options in the **Project Settings** dialog box.
33+
34+
In this dialog box, you can set options such as migration batch size, table locking, constraint checking, null value handling, and identity value handling. For more information about the Project Migration Settings, see [Project Settings (Migration)](project-settings-migration-oracletosql.md).
35+
36+
The **Migration Engine** in the **Project Settings** dialog box, allows the user to perform the migration process using two types of data migration engines:
37+
38+
- Client Side Data Migration Engine
39+
- Server Side Data Migration Engine
40+
41+
### Client Side Data Migration
42+
43+
To initiate data-migration on the client side, select the **Client Side Data Migration Engine** option in the **Project Settings** dialog box.
44+
45+
In **Project Settings**, the **Client Side Data Migration Engine** option is set.
46+
10047
> [!NOTE]
101-
> When SQL Express edition is used as the target database, only client side data migration is allowed and server side data migration is not supported.
48+
> The **Client-Side Data Migration Engine** resides inside the SSMA application and is, therefore, not dependent on the availability of the extension pack.
49+
50+
### Server Side Data Migration
51+
52+
During the Server side data migration, the engine resides on the target database. It's installed through the extension pack. For more information on how to install the extension pack, see [Installing SSMA components on SQL Server](installing-ssma-components-on-sql-server-oracletosql.md)
53+
54+
To initiate migration on the server side, select the **Server Side Data Migration Engine** option in the **Project Settings** dialog box.
55+
56+
## Migrate Data to SQL Server
57+
58+
Migrating data is a bulk-load operation that moves rows of data from Oracle tables into [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] tables in transactions. The number of rows loaded into [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] in each transaction is configured in the project settings.
59+
60+
To view migration messages, make sure that the Output pane is visible. Otherwise, from the **View** menu, select **Output**.
61+
62+
### Migration process
63+
64+
1. Verify the following requirements:
65+
66+
- The Oracle providers are installed on the computer that is running SSMA.
67+
- You have synchronized the converted objects with the [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] database.
10268

103-
## Migrating data at scale (Preview)
69+
1. In Oracle Metadata Explorer, select the objects that contain the data that you want to migrate:
70+
71+
- To migrate data for all schemas, select the check box next to **Schemas**.
72+
73+
- To migrate data or omit individual tables, first expand the schema, expand **Tables**, and then select or clear the check box next to the table.
74+
75+
1. To migrate data, two cases arise:
76+
77+
**Client Side Data Migration:**
78+
79+
- For performing **Client Side Data Migration**, select the **Client Side Data Migration Engine** option in the **Project Settings** dialog box.
80+
81+
**Server Side Data Migration:**
82+
83+
- Before performing data migration on the server side, ensure:
84+
85+
1. The SSMA for Oracle Extension Pack is installed on the instance of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)].
86+
87+
1. The SQL Server Agent service is running on the instance of SQL Server.
88+
89+
- For performing **Server Side Data Migration**, select the **Server Side Data Migration Engine** option in the **Project Settings** dialog box.
90+
91+
1. Right-click **Schemas** in Oracle Metadata Explorer, and then select **Migrate Data**. You can also migrate data for individual objects or categories of objects: Right-click the object or its parent folder; select the **Migrate Data** option.
92+
93+
If the SSMA for Oracle Extension Pack isn't installed on the instance of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)], and if **Server Side Data Migration Engine** is selected, then while migrating the data to the target database, you receive the following error:
94+
95+
```output
96+
SSMA Data Migration components were not found on SQL Server, server-side data migration will not be possible. Please check if Extension Pack is installed correctly.
97+
```
98+
99+
Select **Cancel** to terminate the data migration.
100+
101+
1. In the **Connect to Oracle** dialog box, enter the connection credentials, and then select **Connect**. For more information on connecting to Oracle, see [Connect to Oracle](connect-to-oracle-oracletosql.md)
102+
103+
For connecting to the target database [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)], enter the connection credentials in the **Connect to SQL Server** dialog box, and select **Connect**. For more information on connecting to [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)], see [Connecting to SQL Server](../oracle/connecting-to-sql-server-oracletosql.md).
104+
105+
Messages appear in the **Output** pane. When the migration is complete, the **Data Migration Report** appears. If any data didn't migrate, select the row that contains the errors, and then select **Details**. When you're finished with the report, select **Close**. For more information on Data Migration Report, see [Data Migration Report](../oracle/data-migration-report-oracletosql.md).
106+
107+
> [!NOTE]
108+
> When SQL Express edition is used as the target database, only client side data migration is allowed and server side data migration isn't supported.
104109
105-
When large data size needs to be migrated within a short duration, at scale offline migration is a suitable option. This feature uses the Azure data factory pipeline and the scalability of cloud to migrate on-premises or external Oracle data source to Azure SQL platform whether IaaS VM or SQL PaaS. This capability will create the data factory or use an existing data factory to migrate data to Azure SQL PaaS or SQL VM.
110+
## Migrate data at scale (preview)
106111

107-
1. For large offline migration, click on Migrate data at scale.
112+
When large data size needs to be migrated within a short duration, at scale offline migration is a suitable option. This feature uses Azure Data Migration Service (DMS) in the backend, and the scalability of cloud to migrate on-premises or external Oracle data source to Azure SQL platform, whether using a virtual machine (IaaS VM) or Azure SQL (PaaS). You can create a new DMS service, or use an existing DMS service to migrate data to Azure SQL PaaS or SQL Server on Azure VM.
108113

109-
1. Provide Microsoft Entra/Azure AD account for authentication. Once you enter the username, select **Connect**.
114+
1. For large offline migration, select **Migrate data with DMS (preview)**.
110115

111-
1. Select the tenant and the subscription that already has the Azure SQL VM or Azure SQL database or managed instance configured and click next.
116+
1. Provide Microsoft Entra account for authentication. Once you enter the username, select **Connect**.
112117

113-
1. The next step in the migrate workflow is to provide the data source credentials followed by the target SQL credentials.
118+
1. Select the tenant and the subscription that already has the SQL Server on Azure VM, Azure SQL database, or SQL managed instance configured, and select **Next**.
114119

115-
1. For this migration, either you can use existing Azure resources - resource group and the data factory name or click new to create a resource group and Azure data factory for migration.
120+
1. In the next step of the migration workflow, you can provide the data source, target database, and associated credentials.
116121

117-
1. In order to migrate an external data source, an integration runtime is required. Either click new and follow the steps to create the integration runtime or use an existing integration service. To create an integration service, a gateway installation needs to be configured and a key needs to be supplied to configure integration runtime.
122+
1. When you select your Azure resource, you can use existing resources by selecting the resource group and the data migration service name, or select **New** to create a resource group and Azure migration service for migration.
118123

119-
1. Finally, provide a unique data migration name. Migration name supports characters and numeric values. Avoid any special characters.
124+
1. In order to migrate an external data source, an integration runtime is required. Either select new and follow the steps to create the integration runtime or use an existing integration service. To create an integration service, a gateway installation needs to be configured and a key needs to be supplied to configure integration runtime.
120125

121-
1. If the target tables contain data, it will be truncated and reloaded. A warning dialog box will appear. Select OK to proceed or cancel to avoid truncate and load activity.
126+
1. The Monitor Migrations Wizard automatically opens within a few seconds of initiating the data migration. Select **View** under the activity you wish to monitor, to view a live migration status. You can also view the comprehensive report, which takes you to the Azure portal for more granular monitoring details about the migration activity. You can access the wizard with the **Monitoring** button next to **Migrate data with DMS(preview)**.
122127

123-
1. It takes few minutes to create Azure data factory components. The status bar will provide the progress of the pipeline creation. If the pipeline is created successfully, a message will be written in the output log "A data factory pipeline [PipelineName] is created for the data migration activity."
128+
## Related content
124129

125-
1. For monitoring the data migration, click on the monitoring URL or go to the data factory monitoring page in Azure portal.
126-
127-
## See Also
128-
[Migrating Oracle Databases to SQL Server (OracleToSQL)](../../ssma/oracle/migrating-oracle-databases-to-sql-server-oracletosql.md)
130+
- [Migrate Oracle Databases to SQL Server (OracleToSQL)](migrating-oracle-databases-to-sql-server-oracletosql.md)

0 commit comments

Comments
 (0)