Before using DSC, install it on a Linux or Windows server. DSC supports 64-bit Linux OSs. For details about other OSs supported by DSC, see Table 4.
For example, if the size of the SQL files in the input folder is 100 KB, the target folder must have available disk space of at least 400 KB to process the SQL files.
df -P <Folder path>
ls -l
java -version
echo $JAVA_HOME
export JAVA_HOME=/home/user/Java/jdk1.8.0_141 export PATH=$JAVA_HOME/bin:$PATH
source ~/.bashrc
If the Java installation path does not exist or is incorrect, add the Java path of this PC to Path.
Assume that the Java installation path is C:\Program Files\Java\jdk1.8.0_141\bin and the environment variable in Path is c:\windows\system32;. Set Path to c:\windows\system32;C:\Program Files\Java\jdk1.8.0_141\bin;.
DSC is a command line tool running on the Linux or Windows operating system. It can be used without installation. After downloading the software package, you can decompress it to use it.
Windows:
You can decompress DSC.zip to any folder you need.
Table 1 describes the obtained folders and files.
Linux:
sh install.sh
cd DSC
ls config lib scripts bin input output runDSC.sh runDSC.bat
Folder or File |
Description |
|
---|---|---|
DSC |
bin |
DSC-related JAR package (executable) |
config |
Configuration file of DSC |
|
input |
Input folder |
|
lib |
Library files required for the normal running of DSC |
|
output |
Output folder |
|
scripts |
Customized configuration scripts for Oracle and Teradata migration, which can be executed to implement corresponding functions |
|
runDSC.sh |
Application executed on the Linux OS |
|
runDSC.bat |
Application executed on the Windows OS |
|
changelog |
To notify users of the current modifications |
|
Install.sh |
To set the file permissions for DSC |
|
readme.txt |
Instructions of installation and configuration |
If you do not need DSC, you can uninstall it by deleting the DSC folder.