The following use cases for migration are supported by DSC:
Figure 1 shows the DSC Migration Process.
This section contains information about the prerequisites to be completed before starting the migration process.
The DSC configuration contains the following custom DB scripts in the DSC/scripts:
These DB scripts are required to support certain input keywords not present in one or more versions of the target DB. These scripts need to be executed once in the target DB prior to migration.
For details about executing custom database scripts, see Custom DB Script Configuration.
Run the following command to connect to the GaussDB(DWS) database:
1 | gsql -h <host_addr_xxx.xxx.xxx.xxx> -d <database_name> -U <user_name> -W <password> -p <port_number> -r |
Run the following command to connect to the GaussDB(DWS) database and execute the .sql file:
1 | gsql -h <host_addr_xxx.xxx.xxx.xxx> -d <database_name> -U <user_name> -W <password> -p <port_number> -f <filename.sql> -o <output_filename> -L <log_filename.log> -r |
If the migration type is Bulk, the input file cannot contain any PL/SQL objects.
Similarly, if the migration type is BLogic, the input files must not contain any DDL/DML.
The DSC configuration contains the following configuration files in the DSC/config folder:
For details about how to update configuration parameters, see DSC Configuration.