Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
faq:migration-toolkit:optimize-migration-process-large-tables [2019/07/25 11:27]
darya.prikhodkina
— (current)
Line 1: Line 1:
-====== How to Optimize the Migration Process for Large Tables ====== 
  
-There are several ways to reduce migration time and speed up the migration process.\\ 
-  - If there have been no problems during the export you can disable the trace mode. Thus there will be no trace generation which will help to reduce migration time.\\ 
-  - You can split the data into parts and run the migrations simultaneously in our tool. This can be done in two ways:\\ 
-    - **Using Data Options** 
-    - **Using the Queries** 
- 
-=== Using Data Options === 
- 
-When you select “Data Options” tab for tables you see Edit boxes for the start row and the number of rows to be exported (please see below). By varying these numbers in separate instances of SQLWays Wizard (like 1-5000, 5001-10000, etc.) you can run the migration of different parts of data simultaneously. 
- 
-{{:​faq:​migration-toolkit/​data_options.png|}}\\ 
- 
-Please also note that you should uncheck “Generate DDL” option for the processes other than the first one in order to avoid the error of table existence. In this case only data will be migrated. 
- 
-{{:​faq:​migration-toolkit/​ddl_options.png|}}\\ 
- 
- 
-=== Using the Queries === 
- 
-You can export data according to unique index or primary key or any other query condition. To perform this in SQLWays Wizard please select “Use Query” in combo-box shown below. ​ 
-Using this option you can write your own query to select data. DDL statement will be generated according to the selected columns. ​ 
-Table name will be the same as in FROM clause. But we advise you to create empty tables first and then to perform the migration of data.  
-You’ll get errors when trying to create a table but data will be loaded correctly. 
- 
-{{:​faq:​migration-toolkit/​use_queries.png|}}\\ 
- 
-When using any of these solutions please make sure that the “Generate the DROP TABLE statement” check-box from the options page is unchecked. Please also use separate project directories for each migration to prevent project files re-creation. 
- 
-If you face any difficulties or have any questions, please contact our support team: [[[email protected]]] 
- 
-\\ 
----- 
-=== More about Ispirer Systems === 
-[[https://​www.ispirer.com|Ispirer Home Page]] 
-[[https://​www.ispirer.com/​products/​database-migration|Database Migration]] 
-[[https://​www.ispirer.com/​application-conversion|Application Conversion]] 
-[[https://​www.ispirer.com/​download|Downloads]]