Source DB Operations
The chapters in this part explain the procedures for upgrading the source DB, Tibero 6.
The steps for the operations are as follows:
Checklist and Check Methods
Executing Export
1. Checklist and Check Methods
Check below items to upgrade from Tibero 6 to Tibero 7.
CHARACTERSET
Check Redo
Check Undo
Check Temp Tablespace
Check User Tablespace
Check Log mode
Check Control file
Check JOB
Check DB Link (Tibero to Tibero, Tibero to Oracle, etc.)
Check External Procedure usage
Check Wrapped PSM(PL/SQL)
Check Directory
Check Object Count
Check Constraint
CHARACTERSET
Check the value for NLS_CHARACTERSET and NLS_NCHAR_CHARACTERSET. Refer to below when creating a target DB.
Check Redo
Check MEMBER per each log group, and size(mb) and MEMBERS per each group.
Check Undo
Check the TABLESPACE_NAME of the UNDO being used in the database, along with the FILE_NAME, size, maxsize, and AUTOEXTENSIBLE status of the associated data files.
Check Temp Tablespace
Check the TABLESPACE_NAME using the Temp file, along with the FILE_NAME, size, AUTOEXTENSIBLE status, and maxsize of the respective file.
Check User Tablespace
Check the TABLESPACE_NAME for Tablespaces excluding the Default Tablespace, along with the FILE_NAME, size, maxsize, and AUTOEXTENSIBLE status of the data files used in each Tablespace.
Check Log mode
Check the log mode, and if it is set to ARCHIVELOG, review LOG_ARCHIVE_DEST, LOG_ARCHIVE_FORMAT, LOG_ARCHIVE_OVERWRITE, and LOG_ARCHIVE_RETRY_TIME.
If there are any settings different from the default values except log mode, configure them in the tip file of the Target DB.
Check Control file
Refer to the path and file name modified when creating the target DB database and modify the path and file name appropriately.
Check JOB
Create JOB manually in the Target DB as it is not migrated.
Check DB Link (Tibero to Tibero, Tibero to Oracle, etc.)
Create DB Link manually in the Target DB as it is not migrated.
Check External Procedure usage
Check the external reference libraries, and if results are found, copy the post-processing files such as so and class files to the same path in the Target DB or recompile them in the Target DB. Libraries are not migrated, so they need to be manually created in the Target DB.
The following is an example of checking external reference libraries.
C External Procedure
JAVA External Procedure
The following is an example checkeing JAVA Class path.
Check Wrapped PSM(PL/SQL)
Wrapped PL/SQL cannot be queried from the DB, so it is not possible to obtain the creation statements for manual creation. Therefore, the original creation statement is required for migration.
Create Wrapped PSM (PL/SQL) manually in the Target DB as it is not migrated.
The following is an example of checking Wrapped PSM (PL/SQL).
Check Directory
Check if the directory used by the External table exists, and if it does, copy and recreate the corresponding file to match the system path in the Target DB.
Check Object Count
Save the query results after execution and check the Object Count.
Check Constraint
Save the query results after execution and check the Constraint.
2. Export
1) Exiting all application connected to DB
End all applications connected to the Source DB to prevent data changes during the export.
The following is an example of checking the connected sessions.
2) Stopping JOB execution
Stop JOB execution to prevent data changes during the export.
The following is an example of stopping JOB number 100.
3) Executing tbexport
Execute the export in Database(FULL) mode of tbexport.
The following is the usage for tbexport.
Category
Details
Username
The account for exporting DB (Choose one from Sys or DBA account.)
Password
The password for exporting DB account
port
The port number for exporting DB
sid
The name for exporting DB
file
The name for created file
log
The name for created log
The following is an example of tbexport usage for Tibero 6 on Source DB server.
Last updated

