Target DB Operations
The chapters in this part explain the procedures for installing target DB, Tibero 7.
The steps for the operations are as follows :
Installation
Execution of Import
Post-processing
1. Installation
The installation process for Tibero 7 is as follows:
1) Basic procedure
Refer to “Tibero Installation Guide” for basic procedure.
2) File configuration
Tibero Initial Parameter(tip file)
The TIP is under the file name $TB_SID.tip in $TB_HOME/config.
Some parameters used in Tibero 6 may have been changed or removed, so it is necessary to check their applicability in Tibero 7.
Additionally, if hidden parameters starting with _ are being used, their applicability in Tibero 7 should also be verified.
tbdsn.tbr
The basic syntax of tbdsn.tbr is the same as in Tibero 6, and previously used aliases should be added.
Additional files
If the following configuration files are used in the Source DB, they should also be applied to the corresponding configuration files in Tibero 7.
ESQL
C/JAVA External Procedure
DB Link related Gateway
External Procedure (Copy so or class file) If the OS and BIT of the source DB and target DB are the same, copy them, and if they are different, recompile using the original source.
Directory related file Copy the files from the query result of "Check Directory” in Checklist and Check Methods.
3) Creating Database
Modify settings to align with the settings of Tibero6 referring to "Checklist and Check Methods", and create database. Post-processing should be applied in Archivelog mode.
4) Executing system.sh
2. Import
The steps for importing is as follows.
1) Creating User Tablespace
Open the tibero6_exp.log file, which was generated from tbexport, and refer to CREATE TABLESPACE syntaxes to adjust the data file paths and size. However, the SYSTEM, UNDO, TEMP, USR parts created in CREATE DATABASE will not be created.
If you import without pre-creating the tablespace, it will generate data files with the source DB information as-is. In this case, it may create data files in unintended paths, leading to errors in creating data files, and unnecessary storage usage.
2) Creating User
Open the tibero6_exp.log file, which was generated from tbexport,, and refer to CREATE USER syntaxes to adjust the USER’s password, default_tablespace, and other settings.
When an export executed in Tibero6 is imported in Tibero7, the default encryption method of both versions changes. If the user has not been created in advance, user creation will fail.
3) Executing tbimport
Copy the exported data file, and import them in Database(FULL) mode of tbimport.
The following command is for using tbimport on Target DB server.
Username
The account for importing DB (Choose one from Sys or DBA account.)
Password
The password for importing DB account
port
The port number for importing DB
sid
The name for importing DB
file
The name for imorted file in Tibero 6
log
The name for created log
The following is an example of tbimport usage for Tibero 7 on Source DB server.
3. Post-processing
1) Processing for Unsupported lists
Execute the following syntaxes in a form of Source DB script for unsupported lists.
JOB
DB LINK
External Procedure - Library
External Procedure – JAVA SOURCE
Wrapped PL/SQL
Change the path of the directory
2) Applying Archive mode
Apply this mode if the Tibero 6 was in Archive mode, or if Archive operation is required.
Exiting DB
Booting Mount mode
Changing mode
Exiting DB and booting DB
Confirming
Last updated