Skip to content

Commit 754963c

Browse files
Merge pull request #6509 from EnterpriseDB/release/2025-02-18b
Release: 2025-02-18b
2 parents e6f7f65 + 0848789 commit 754963c

File tree

1 file changed

+13
-24
lines changed

1 file changed

+13
-24
lines changed

product_docs/docs/migration_toolkit/55/07_invoking_mtk/08_mtk_command_options.mdx

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ To control details of the migration, append migration options when you run Migra
1717

1818
The command options that work with Migration Toolkit are grouped by their behavior, as shown in the table.
1919

20-
| Feature | Relevant options |
21-
|---------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
22-
| [Offline migration options](#offline-migration-options) | -offlineMigration |
23-
| [Import options](#import-options) | -sourcedbtype, -targetdbtype, -schemaOnly, -dataOnly |
24-
| [Schema creation options](#schema-creation-options) | -dropSchema, -targetSchema |
25-
| [Schema object selection options](#schema-object-selection-options) | -allTables, -tables, -excludeTables,<br /><br />-constraints, -ignoreCheckConstFilter,<br /><br />-skipCKConst, -skipFKConst,<br /><br />-skipColDefaultClause,<br /><br />-indexes, -triggers,<br /><br />-allViews, -views, -excludeViews,<br /><br />-allSequences, -sequences, -excludeSequences,<br /><br />-allProcs, -procs, -excludeProcs,<br /><br />-allFuncs, -funcs, -excludeFuncs,<br /><br />-checkFunctionBodies,<br /><br />-allPackages, -packages, -excludePackages,<br /><br />-allDomains, -domains,<br /><br />-allQueues, -queues, -excludeQueues,<br /><br />-allRules,<br /><br />-allgroups, -groups |
26-
| [Migration options](#migration-options) | -truncLoad, -enableConstBeforeDataLoad,<br /><br />-retryCount, -safeMode, -fastCopy,<br /><br />-analyze, vacuumAnalyze, -replaceNullChar,<br /><br />-copyDelimiter, -batchSize,<br /><br />-cpBatchSize, -lobBatchSize,<br /><br />-fetchSize, -filterProp,<br /><br />-customColTypeMapping, -customColTypeMappingFile,<br /><br />-mapVirtualToRegular |
27-
| [Connection retry options](#connection-retry-options) | -connRetryCount, -connRetryInterval, -abortOnConnFailure |
28-
| [Oracle-specific options](#oracle-specific-options) | -allUsers, -users,<br /><br />-allProfiles, -profiles,<br /><br />-importPartitionAsTable,<br /><br />-objectTypes,<br /><br />-copyViaDBLinkOra, -allDBLinks,<br /><br />-allSynonyms, -allPublicSynonyms, -excludeSynonyms,<br /><br />-allPrivateSynonyms, -useOraCase,<br /><br />-skipUserSchemaCreation |
29-
| [Miscellaneous options](#miscellaneous-options) | -help, -logDir, -logFileCount, -logFileSize, -logBadSQL -verbose, -version |
30-
| [Migration options for parallel data loading](#migration-options-for-parallel-data-loading) | -loaderCount, -parallelLoadRowLimit, -tableLoaderLimit |
31-
| [Specify options in file](mtk_command_options_in_file) | -optionsFile |
20+
| Feature | Relevant options |
21+
|---------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
22+
| [Offline migration options](#offline-migration-options) | -offlineMigration |
23+
| [Import options](#import-options) | -sourcedbtype, -targetdbtype, -schemaOnly, -dataOnly |
24+
| [Schema creation options](#schema-creation-options) | -dropSchema, -targetSchema |
25+
| [Schema object selection options](#schema-object-selection-options) | -allTables, -tables, -excludeTables,<br /><br />-constraints, -ignoreCheckConstFilter,<br /><br />-skipCKConst, -skipFKConst,<br /><br />-skipColDefaultClause,<br /><br />-indexes, -triggers,<br /><br />-allViews, -views, -excludeViews,<br /><br />-allSequences, -sequences, -excludeSequences,<br /><br />-allProcs, -procs, -excludeProcs,<br /><br />-allFuncs, -funcs, -excludeFuncs,<br /><br />-checkFunctionBodies,<br /><br />-allPackages, -packages, -excludePackages,<br /><br />-allDomains,<br /><br />-allQueues, -queues, -excludeQueues<br /><br />-allRules,<br /><br />-allgroups, -groups |
26+
| [Migration options](#migration-options) | -truncLoad, -enableConstBeforeDataLoad,<br /><br />-retryCount, -safeMode, -fastCopy,<br /><br />-analyze, vacuumAnalyze, -replaceNullChar,<br /><br />-copyDelimiter, -batchSize,<br /><br />-cpBatchSize, -lobBatchSize,<br /><br />-fetchSize, -filterProp<br /><br />-customColTypeMapping, -customColTypeMappingFile<br /><br />-mapVirtualToRegular |
27+
| [Connection retry options](#connection-retry-options) | -connRetryCount, -connRetryInterval, -abortOnConnFailure |
28+
| [Oracle-specific options](#oracle-specific-options) | -allUsers, -users,<br /><br />-allProfiles, -profiles,<br /><br />-importPartitionAsTable,<br /><br />-objectTypes,<br /><br />-copyViaDBLinkOra, -allDBLinks<br /><br />-allSynonyms, -allPublicSynonyms, -excludeSynonyms,<br /><br />-allPrivateSynonyms, -useOraCase,<br /><br />-skipUserSchemaCreation |
29+
| [Miscellaneous options](#miscellaneous-options) | -help, -logDir, -logFileCount, -logFileSize, -logBadSQL -verbose, -version |
30+
| [Migration options for parallel data loading](#migration-options-for-parallel-data-loading) | -loaderCount, -parallelLoadRowLimit, -tableLoaderLimit |
31+
| [Specify options in file](mtk_command_options_in_file) | -optionsFile |
3232

3333
<div id="offline_migration" class="registered_link"></div>
3434

@@ -344,20 +344,9 @@ When migrating multiple schemas or all schemas (with the `-allSchemas` option),
344344

345345
For example: `-allSchemas -allPackages -excludePackages comp_schema.my_package1,finance_schema.mypackage2`
346346

347-
### `-domains <domain_list>`
348-
349-
Import the selected domain, enumeration, and composite types from the source database. `<domain_list>` is a comma-separated list of domain names with no intervening space characters.
350-
This option is valid only when the source database is either PostgreSQL, EDB Postgres Advanced Server or Microsoft SQL Server and the target database is PostgreSQL or EDB Postgres Advanced Server.
351-
352-
!!!note
353-
Composite user-defined types or UDTs aren't supported in migrations from Microsoft SQL Server. Only simple UDTs are supported.
354-
355-
Composite types hold multiple fields, a table, or structured data, whereas simple types represent a single value.
356-
!!!
357-
358347
### `-allDomains`
359348

360-
Import all domain, enumeration, and composite types from the source database. This option is valid only when the source database is either PostgreSQL, EDB Postgres Advanced Server or Microsoft SQL Server and the target database is PostgreSQL or EDB Postgres Advanced Server.
349+
Import all domain, enumeration, and composite types from the source database. This option is valid only when both the source and target are stored on a Postgres host.
361350

362351
### `-allQueues`
363352

0 commit comments

Comments
 (0)