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 :

  1. Installation

  2. Execution of Import

  3. 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.

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.

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.

Category
Details

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

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