Chapter 2. T-Up

Table of Contents

2.1. Overview
2.2. Main Screen
2.3. Compatibility Analysis
2.3.1. Analysis Screen
2.3.2. Compatibility Analysis Targets
2.4. Migration Functions
2.4.1. Migration Options Screen
2.4.2. Migration Progress Screen
2.4.3. Migration Report Screen
2.4.4. Migration Targets
2.5. User Privileges for Migration
2.6. Compatibility Analysis Example
2.7. Migration Example

This chapter introduces T-Up utility and describes how to use it.

2.1. Overview

T-Up is a compatibility analysis and migration utility provided by Tibero DB.

This utility provides function for analyzing compatibility before migration and migrating all or partial database schema objects to Tibero. Compatibility analysis determines if the source database's schema objects, SQL statements, and database related application APIs can be supported in Tiberoanalyzes causes for any unsupported items. The migration function migrates schema objects, such as tables, indexes, and views, PSM programs, etc. from the source database to Tibero DB so that they can be used as before.

The following are the functions provided by T-Up utility.

  • Compatibility Analysis

    • Evaluates compatibility of source database's schema objects, SQL statements, and application APIs.

    • Provides analysis result report in HTML.

  • Migration

    • Migrates user selected data to Tibero.

    • Migrates schema objects, such as tables, indexes, views, and synonyms, and various constraints defined on the tables.

    • Migrates privileges and roles.

    • Provides information about the target database for migration.

    • Provides various migration methods with the [Option] button.

    • Displays migration progress through the Progress screen.

Note

T-Up is implemented in Java, and requires Java 6 or later. Before starting T-Up, the target database's JDBC driver file path must be set to the classpath setting in the execution script.

2.2. Main Screen

The following is the main T-Up utility screen used for both compatibility analysis and migration.

[Figure 2.1] Main Screen

Main Screen


  • Source

    • Source Database Connection Information

      The following describes each item in the Source section.

      ItemDescription
      AddressIP Address of the source database.
      PortPort number of the source database.
      DatabaseSID of the source database.
      User IDUser ID for the source database.
      PasswordUser password for the source database.
      DB TypeSource database type.
      PropertiesAdditional source database connection information.
    • Source Database Schema Tree

      Schema tree allows the user to select data for migration and displays the database character set setting. The schema tree is made up of three hierarchy levels. The root node represents the source database, its child nodes are the schemas, and their child nodes are the tables that belong to the schemas. Data can be selected in the following three modes:

      • Select All Mode

        Select the database name to select all of its schemas. If any schema is deselected, the selection mode automatically switches to Schema mode.

        [Figure 2.2] Select All Mode

        Select All Mode

      • Schema Mode

        Select a schema name to select all objects of the schema. If any table element is deselected, the selection mode automatically switches to Table mode.

        [Figure 2.3] Schema Mode

        Schema Mode

      • Table Mode

        Select a table to select all of its table elements. .

        [Figure 2.4] Table Mode

        Table Mode

      The database character set settings of the source database include:

      • Charset

      • NCharset

  • Tibero

    • Tibero Database Connection Information

      The following describes each item in the Tibero section.

      ItemDescription
      AddressIP Address of Tibero.
      PortPort number of Tibero.
      DatabaseSID of Tibero.
      User IDUser ID for Tibero.
      PasswordUser password for Tibero.

    • Tibero Database Schema Tree

      Same as the source database.

  • Buttons

    The following describes the buttons in the main T-Up screen.

    ButtonDescription
    [Connect]Connect to the target database.
    [Analyze]Display the Compatibility Analysis Options screen.
    [Option]Display the Migration Options screen.
    [Migrate]Start migration.
    [Close]Quit T-Up.

2.3. Compatibility Analysis

This section describes the screens and functions of the Compatibility Analysis screen in T-Up.

2.3.1. Analysis Screen

The following is the Analysis screen for compatibility analysis. Use this screen to select items for analysis and analysis file, and monitor analysis progress.

[Figure 2.5] Analysis Screen

Analysis Screen


  • Target to Analyze

    Select target items for compatibility analysis.

    • Data Dictionary

      Evaluates compatibility of source database's schema objects, such as tables, indexes, and views. This requires connection to the source database, and at least one schema must be selected as for the Select All and Schema modes.

      Select 'Data Dictionary' option for 'Target to Analyze' to enable Syntax in the following File Information section. For detailed information, refer to "File Information".

    • SQL File

      Evaluates compatibility of source database's SQLs, such as DDL, DML, Query, and PSM. This does not require connection to the database since SQLs are inputted in file format.

      The available file input methods are 'Directory' and 'File'. The Directory method searches all directories below the selected directory and selects all discovered files for analysis. The File method selects only a specific file for analysis.

      Select 'SQL File' for 'Target to Analyze' to enable Syntax and Search in the following File Information section. For detailed information, refer to "File Information".

    • API Source

      Evaluates compatibility of application APIs that use the source database. This does not require connection to the database since the source codes are inputted in file format. The file input method is same as the SQL File option.

      Select 'API Source' for 'Target to Analyze' to enable Syntax and Search in the following File Information section. For detailed information, refer to "File Information".

  • File Information

    • Syntax

      Select the input method. For 'Data Dictionary', select Dictionary Table or SQL History. Dictionary Table analyzes compatibility of schema objects in a source database, and SQL History reads and analyzes SQLs saved in cache of a source database. For 'SQL File', select the database type. For 'API Source', select OCI or ODP.NET.

    • Search

      Displays the following screen for selecting directories and files for analysis.

      [Figure 2.6] Directory/File Selection Screen

      Directory/File Selection Screen

    • Location

      Path of the selected directory or file.

  • Report Options

    Select the analysis report options.

    • Remove Duplicated Errors

      If this option is selected, duplicate errors are not included in the report.

  • Analysis

    Click [Run Analysis] to run the compatibility analysis using the selected options. The progress is shown in the Progress Status section. Log messages include analysis progress information, related stats, errors, and completion messages.

  • Buttons

    The following describes the buttons in the Analysis screen.

    ButtonDescription
    [Syntax]Select the file format of the analysis targets.
    [Directory]Select the directory of the target files.
    [File]Select a single file to analyze.
    [Run Analysis]Start compatibility analysis.
    [Close]Close Analysis screen.

2.3.2. Compatibility Analysis Targets

Compatibility analysis can be performed by target type (Data Dictionary, SQL File, or API Source). The following describes the support scope for each analysis target according to the source DBMS type.

Oracle

  • Data Dictionary

    The following are the Oracle Data Dictionary schema objects for analysis.

    Schema ObjectSchema ObjectSchema ObjectSchema Object
    ASSOCIATIONCLUSTERCONTEXTDATABASE LINK
    DIMENSIONDIRECTORYFUNCTIONINDEX
    INDEX TYPEJAVA SOURCELIBRARYMATERIALIZED VIEW
    MATERIALIZED VIEW LOGOPERATOROUTLINEPACKAGE
    PROCEDUREPROFILERESOURCEROLE
    SEQUENCESYNONYMTABLETABLESPACE
    TRIGGERTYPEVIEW
  • SQL File

    The following are the Oracle SQL File statements for analysis.

    StatementStatementStatementStatement
    ANALYZEALTERANONYMOUS BLOCKASSOCIATE
    AUDITCALLCOMMENTCREATE
    DELETEDROPGRANTINSERT
    LOCKMERGEPURGERENAME
    REVOKESELECTTRUNCATEUPDATE
  • API Source

    The following are the Oracle API Source types for analysis.

    APIAPI
    OCIODP.NET

2.4. Migration Functions

This section describes the migration related screens and functions in T-Up.

2.4.1. Migration Options Screen

The following describes the Migration Options screen.

[Figure 2.7] Migration Options Pop-up

Migration Options Pop-up


  • DDL

    DDL is the first migration step that selects the SQL statement to create database objects in Tibero. In this step, select DDL related options including schema object types of DDL and which DDLs to execute.

    • Type Selection

      Select the schema object types to migrate.

      ItemDescription
      Migrates All ObjectsExtract DDLs for all supported object types.
      Migrates Objects by TypeExtract DDLs for the selected object types.

      Click the view details button ([...]) to display the object type selection pop-up.

    • Execute DDLs

      Option to execute the extracted DDLs on the target database. Deselect this option to skip the create SQL statement execution for already existing objects, such as tables, in the target database.

  • Data Transfer

    The next step is the data transfer step that migrates the actual data from the source database to Tibero.

    ItemDescription
    Transfer Table DataOption to migrate table data.
    Use Direct Path LoadMigrate table data via direct path load method.
    Use Batch InsertMigrate table data via Batch Insert method.
    Concurrent ThreadThread count to use for migrating multiple tables in batch.
  • Conversion

    The following describes the data conversion options.

    ItemDescription
    Read as BytesMigrating data, which was stored using database settings and different character set, in a table column for storing character string such as char and varchar types may cause the characters to be broken. To prevent this, use this option to migrate character strings as binary data.
    Real Characterset

    Data can also be broken if there is data besides table data that was entered using a character set other than the database character set. To prevent this, use this option to explicitly specify the actual character set used for migration.

    This option can only be used if the Read as Bytes setting is enabled. This option affects PSMs, DDLs, table comments, and table column comments.

    Double Character Column Size

    If the character sets of the source database and Tibero are different, the length of the converted character string may be different from the source data.

    This may cause the column data to exceed its length limit and migration to fail. To prevent this, use this option to double the length limit for character string columns of the source database in the target database.

    Truncate Data Exceeded Max LengthOption to truncate or cause an error if the column length exceed the maximum length allowed in Tibero.
    Remove Double QuotationOption to ignore case-sensitivity of object names for migration. If not set, they must be enclosed in double quotes (" ") to preserve case-sensitivity of object names.

    This option only supports table and column objects, and not text format objects like PSM sources.

    Type Conversion TableOption to supplement compatibility for mismatched column types that can exist between the source and Tibero databases. This value may vary depending on the database type.
  • Verification

    The following describes the data verification options.

    ItemDescription
    Verify Table Data

    Option to verify the table data migration result.

    Compares all table data one-by-one between the source and Tibero databases. This may take some time if there is a lot of data.

2.4.2. Migration Progress Screen

The user can check the migration progress from the Migration Progress screen.

[Figure 2.8] Migration Progress Screen

Migration Progress Screen


  • Displayed Items

    ItemDescription
    Current Schema

    Current schema information.

    Current Schema shows the remaining number of schemas that need to be migrated and the number of schemas that have been migrated up to now. The status displays 'COMPLETE' once migration is complete.

    Current Stage

    Current stage of the schema being processed.

    Shows data type of the schema, and displays 'COMPLETE' once migration is complete.

    Stage Progress

    Progress of the current stage.

    Shows the remaining number of data records that need to be migrated and the number of data records that have been migrated up to now.

    Created ObjectsNumber of objects that have been successfully created.
    ErrorsTotal number of error occurrences up to now.
    Data Migrator #Represents each thread that is processing table data. Shows the table name being processed by each thread and the progress percentage. Total number of threads is as specified in the 'Concurrent Threads' setting among the data transmission options of the Option screen.
  • Buttons

    ButtonDescription
    [Show Report]Report screen that shows the migration result. For detailed information, refer to “2.4.3. Migration Report Screen”.
    [OK]Disabled during migration, and enabled when all migration tasks have been performed. Click this button to finish the migration process.
    [Cancel]Cancel the migration process. Disabled when migration is not in progress.

2.4.3. Migration Report Screen

The Migration Report screen shows the migration results.

[Figure 2.9] Migration Report Screen

Migration Report Screen


2.4.4. Migration Targets

T-Up utility supports the following three migration modes that each support a different migration scope.

  • Select All Mode

    Migrates all schema objects in the database.

  • Schema Mode

    Migrates only the selected schemas, objects that belong to the schemas, and objects related to the schemas.

  • Table Mode

    Migrates only the selected tables and objects related to the table schemas.

The following shows the object types supported in each mode.

ItemSelect AllSchema ModeTable Mode
TABLESPACE
ROLE
SYSTEM PRIVILEGE
OBJECT PRIVILEGE
SYNONYM
SEQUENCE
TABLE
INDEX
CONSTRAINT
MATERIALIZED VIEW
VIEW
PSM

All user passwords are reset to the default value of 'tibero' in the target database after migration.

Depending on the user's privilege, the Grantor of Object Privilege can be changed to the logged-in user or the object owner.

The following is a simple example.

# User logs in with DBA privilege
create user owuser identified by tibero;
grant resource, connect to owuser;
create user gtuser1 identified by tibero;
grant resource, connect to gtuser1;
create user gtuser2 identified by tibero;

# owuser logs in
create table grantest1 ( c1 varchar2(20) );
grant select on grantest1 to gtuser1  with grant option;

# gtuser1 logs in
grant select on owuser.grantest1 to gtuser2;

If permissions are granted in the previous order, a different Grantor is created for Object Privilege. Since T-Up does not have connection information about the user of such Grantor, migration is performed in batch and the Grantor information may not match between the source and target. If user A is the Grantor and user B is the Grantee, first grant permission to A, log in as A, and then grant permission to B.

2.4.4.1. Supported Objects

Select the source database in the Source connection information section of the Main screen. The following are the items and supported schema objects that need to be considered for each database type.

  • Migration may fail if the default value expression is not supported in Tibero.

  • Migration may fail if the character size, precision of numbers, etc. exceed the range supported by Tibero.

Oracle
  • Main Screen - Source Connection Info

    Set the Connect As information. Click [Properties] to open Options screen. Select an option among NORMAL, SYSDBA, or SYSOPER. (Default value: NORMAL)

    Note

    If SYSDBA or SYSOPER is selected, remote login may be prohibited depending on the settings in Oracle. To resolve this issue, set REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE. Refer to Oracle documentation for more information.

  • Options Screen - Data Conversion Options

    In the Options screen, set the column type conversion options in the Type Conversion Table.

    LONG and LONG RAW columns are not recommended for use in Oracle 8x or later versions. It is only supported for backward compatibility with Oracle 7x or earlier versions. Use this option to convert the LONG and LONG RAW columns with CLOB and BLOB types respectively, or to keep them as is.

The following table shows the Oracle object types that are supported for Oracle to Tibero migration.

OracleTiberoNote
ConstraintConstraintPrimary Key, Foreign Key, Check, and Ref Constraint are supported for migration. Primary Key indexes/constraints are mapped to constraints. DDLs are created for check constraint expressions by using the statements in Oracle DD.
IndexIndexR-TREE, Domain Index are not supported.
Materialized ViewMaterialized View 
Materialized View LogMaterialized View Log 
PrivilegePrivilege 
PSMPSM 
RoleRole 
SchemaSchema 
SequenceSequence 
SynonymSynonym 
TableTable 
TablespaceTablespace 
ViewView 

The following table shows the data type mapping for Oracle to Tibero migration.

OracleData Type (Tibero)Note
blobBLOB 
binary_floatBINARY_FLOAT 
binary_doubleBINARY_DOUBLE 
characterCHAR 
clobCLOB 
dateDATE 
interval day to secondINTERVAL DAY(2) TO SECOND(6) 
interval year to monthINTERVAL YEAR(2) TO MONTH 
longLONG 
long rawLONG RAW 
ncharNCHAR 
nclobNCLOB 
numberNUMBER 
nvarchar2NVARCHAR2 
rowidROWID 
timeTIME 
timestampTIMESTAMP 
timestamp with time zoneTIMESTAMP WITH TIME ZONE 
timestamp with local time zoneTIMESTAMP(6) WITH LOCAL TIME ZONE 
varcharVARCHAR 
varchar2VARCHAR2 
xmltypeXMLTYPE 

Note

BFILE and spatial data types are not supported for migration.

Tibero

JDBC driver is used for connection when both the source and target databases are Tibero. The JDBC driver included in T-Up must be compatible with both databases, and it is recommended to use the latest JDBC driver version.

Sybase Adaptive Server Enterprise

The following table shows the differences between Sybase Adaptive Server Enterprise (ASE) 15 and Tibero.

Sybase ASETiberoNote
UserSchemaTibero schema consists of both DB schema and DB user.
SegmentSegmentASE does not use tablespaces. Each object is directly saved in a segment. When migrating, a tablespace is created using the segment name, and then objects are allocated to the tablespace.
Tablespace
RoleRole 
TableTableOnly user tables are migrated.
ViewViewMigration can be performed using DDLs created using ASE stored procedure, sp_helptext. Note that the syntax may not be fully compatible.
IndexIndexTable indexes except function based indexes are migrated.
RuleConstraintPrimary Key, Unique, Not Null, Check, and Referential constraints can be migrated.
System ProtectSystem PrivilegeMigration is only possible when the items in System Protect and Privilege matches between ASE and Tibero
Object Privilege
Transact SQLPSMNot supported.
SQLJ Procedure
Scalar Function

Informix

The Informix server name must be set in the Properties of the Source Connection Info section on the Main screen. Click [Properties] from the Main screen to display a pop-up for entering the Informix server name.

SQL Server

The following table shows the schema object types for SQL Server to Tibero migration.

Most of detailed options, such as storage by object, are not supported.

SQL ServerTiberoNote
SchemaSchema 
TableTable 
ViewViewNot supported.
IndexIndexUnique indexes/constraints are mapped to indexes.
PrivilegePrivilegeNot supported.
RoleRoleNot supported.
SequenceSequenceNot supported.
TablespaceTablespaceNot supported.
IndexIndex 
ConstraintConstraintPrimary Key, Foreign Key, Check are not supported for migration. Primary Key indexes/constraints are mapped to constraints. Foreign Key update rules are not supported.
SynonymSynonymNot supported.
Public SynonymNot Supported 
Materialized ViewMaterialized ViewNot supported.
PSMPSMNot supported.

The following table shows the data type mapping for SQL Server to Tibero migration.

SQL ServerData Type (Tibero)Note
bigintNUMBER(19) 
binaryRAWData is truncated if its length exceeds 2000 characters.
bitNUMBER(1) 
charCHARMaximum column length is 2000 (MAX_CHAR_SIZE), and data is truncated if its length exceeds this value.
cursorNot Supported 
dateDATE 
datetimeTIMESTAMP(3) 
datetime2TIMESTAMP(7) 
datetimeoffsetTIMESTAMP WITH TIMEZONE 
decimalNUMBER 
double precisionBINARY_DOUBLE 
floatBINARY_FLOAT or BINARY_DOUBLEPrecision between 1 and 24 is mapped to BINARY_FLOAT, and between 25 and 53 is mapped to BINARY_DOUBLE.
hyierachyidNot Supported 
imageBLOB 
intNUMBER(10) 
moneyNUMBER(19, 4) 
ncharNCHARData is truncated if its length exceeds 2000 characters.
numericNUMBER 
nvarcharNVARCHARData is truncated if its length exceeds 4000 characters.
ntextNCLOB 
realBINARY_FLOAT 
smalldatetimeDATE 
smallintNUMBER(5) 
smallmoneyNUMBER(10, 4) 
sql_variantLONG RAW 
tableNot Supported 
textCLOB 
timeTIME(7) 
timestampRAW(8) 
tinyintNUMBER(3) 
uniqueidentifierVARCHAR(36) 
varbinaryRAWData is truncated if its length exceeds 2000 characters, and RAW(max) is mapped to BLOB.
varcharVARCHARData is truncated if its length exceeds 8000 characters. Note that varchar max size may vary depending on the Target DB version.
xmlXMLTYPE 

Note

Spatial type columns are not supported.

PostgreSQL

The following table shows the object types for PostgreSQL to Tibero migration. Most of detailed options, such as storage by object, are not supported.

PostgreSQLTiberoNote
TablespaceTablespaceNot supported.
RoleRoleNot supported.
SchemaSchema (=User)Tibero treats schema and user as same objects, but PostgreSQL differentiates schema (namespace) and user objects. T-Up converts PostgreSQL schema (namespace) objects to Tibero schema (=Tibero user) objects. PostgreSQL user objects are not migrated as Tibero user(=Tibero Schema) objects.
User
PrivilegePrivilegeNot supported.
Public SynonymNot supported.
SequenceSequenceNot supported.
TableTable 
IndexIndexUnique indexes/constraints are mapped to indexes.
ConstraintConstraintPrimary Key, Foreign Key, and Check are supported for migration. Primary Key indexes/constraints are mapped to constraints. DDLs are created for check constraint expressions by using the statements in PostgreSQL DD, and migration may fail due to differences in case-sensitivity handling between Tibero and PostgreSQL. Foreign Key update rules are not supported. Only CASCADE and SET NULL are supported for delete rules.
SynonymSynonymNot supported.
Materialized ViewMaterialized ViewNot supported.
ViewViewNot supported.
PSMNot supported.

The following table shows the data type mapping for PostgreSQL to Tibero migration.

PostgreSQLData Type (Tibero)Note
smallintNUMBER(5) 
integerNUMBER(10) 
bigintNUMBER(19) 
decimalNUMBER 
numericNUMBER 
realBINARY_FLOAT 
double precisionBINARY_DOUBLE 
floatBINARY_FLOAT 또는 BINARY_DOUBLEPrecision between 1 and 24 is mapped to BINARY_FLOAT, and between 25 and 53 is mapped to BINARY_DOUBLE.
moneyNUMBER 
characterCHAR 
character varyingVARCHAR 
textVARCHAR(65532) 
dateDATE 
timeTIME(6) 
time with time zoneTIMEMapped to a time value in the timezone.
timestampTIMESTAMP(6) 
timestamp with time zoneTIMESTAMP(6) WITH TIME ZONEUses the timezone returned when querying data for migration.
intervalNot Supported 
booleanCHAR(1) 
cidrVARCHAR(43) 
inetVARCHAR(43) 
macaddrVARCHAR(17) 
BITVARCHAR 
BIT VARYINGVARCHAR 
byteaRAW(2000) 
uuidVARCHAR(40) 
xmlXMLTYPE 

Note

Array column types are not supported, and only Nullable and Default value are supported among additional options.

DB2 LUW

The following table shows the object types for DB2 LUW 10.5 to Tibero migration. Most of detailed options, such as storage by object, are not supported.

DB2 LUWData Type (Tibero)Note
TablespaceTablespaceNot supported.
SchemaSchema (=User) 
TableTable 
IndexIndexUnique indexes/constraints are mapped to indexes.
ViewView 
Materialized Query TableMaterialized View 
ConstraintConstraintCheck, Unique, Primary key, and Foreign key constraints are supported for migration. Foreign key's Update rule is not supported. Only the 'NO ACTION', 'CASCADE', and 'SET NULL' options for the Delete rule are supported, and the 'RESTRIC' option is not supported.
PrivilegePrivilege

System privilege grants 'CREATE SYNONYM', 'CREATE MATERIALIZED VIEW', 'CREATE VIEW', and 'CREATE SESSION' privileges and 'RESOURCE' role to migration target schemas.

Object privilege has DB2 schema's owner and definer privileges. It grants table-related 'UPDATE', 'REFERENCE', 'SELECT', 'INSERT', 'INDEX', 'DELETE', and 'ALTER' privileges.

Public AliasPublic Synonym 
AliasSynonym 
SequenceSequence 
PSMPSMNot supported.

The following table shows the data type mapping for DB2 LUW to Tibero migration.

DB2 LUWData Type (Tibero)Note
numericNUMBER 
smallintNUMBER(6) 
integer(=int)NUMBER(11) 
bigintNUMBER(19) 
decimalFLOAT 
floatBINARY_FLOAT 
decfloatFLOAT 
doubleBINARY_DOUBLE 
realBINARY_FLOAT 
characterCHAR 
binaryCHAR 
varbinaryVARCHAR2 
varcharVARCHAR2 
graphicVARCHAR2 
vargraphicVARCHAR2 
blobBLOB 
clobCLOB 
dbclobCLOB 
dateDATE 
timeTIME 
timestampTIMESTAMP 
xmlXMLTYPE 

2.5. User Privileges for Migration

The user must be granted appropriate permissions for migration tasks before the user connects to the source and target databases. Otherwise, the migration may fail. For example, the user cannot query the source table to migrate without SELECT ANY TABLE privilege. In general, it is recommended to use an account with DBA privilege, and more detailed privileges that are required depends on the database type and the object types that are selected for migration in the Options screen.

For example, the following privileges are required when connecting to Oracle to perform migration in Select All mode.

  • CONNECT

  • SELECT ANY TABLE

  • SELECT ANY DICTIONARY

    SELECT ANY DICTIONARY privilege may not include SELECT privilege on the SYS DATA DICTIONARY TABLE, in which case additional privileges are required on the following tables.

    • constraint : sys.user$, sys.con$, sys.cdef$

    • mview : sys.snap$

  • ALTER SESSION

If the target database is Tibero, the user must possess the following privileges.

  • CONNECT

  • SELECT ANY TABLE

  • SELECT ANY DICTIONARY

  • RESOURCE

  • ALTER SESSION

2.6. Compatibility Analysis Example

The following describes how to use the compatibility analysis function in T-Up.

  1. To use Data Dictionary for analysis, enter the source database connection information from the Main screen in T-Up and then click [Connect]. Once connected to the source database, select the desired schemas, and then click [Analyze].

    [Figure 2.10] Compatibility Analysis Main Screen

    Compatibility Analysis Main Screen

  2. The following Analysis screen is displayed. Select the Data Dictionary option for Target to Analyze, and then click [Run Analysis] to start the analysis.

    [Figure 2.11] Analysis Screen (1)

    Analysis Screen (1)

  3. Progress and brief log messages are displayed during the analysis. When the analysis is complete, HTML report is created and displayed in a web browser.

    [Figure 2.12] Analysis Screen (2)

    Analysis Screen (2)

  4. The following is the main Compatibility Analysis Report screen. The version and connection information is printed on the top, and overall compatibility rate statistics are printed in the Summary section.

    [Figure 2.13] Compatibility Analysis Report - Statistics

    Compatibility Analysis Report - Statistics

  5. The following screen shows details about the unsupported items that are listed at the bottom of the report. Click on a row in the result list to see the analyzed statement with unsupported parts shown in red.

    [Figure 2.14] Compatibility Analysis Report - Details

    Compatibility Analysis Report - Details

  6. To use SQL File or API Source for analysis, click [Analyze] from the Main screen without having to connect to the source database. Select 'SQL File' or 'API Source' for Target to Analyze which enables the File Information section.

    [Figure 2.15] Analysis - SQL File

    Analysis - SQL File

  7. Click [Directory] or [File] to open the following pop-up. Select a directory or file to use for the analysis.

    [Figure 2.16] Analysis - Directory/File Selection Screen

    Analysis - Directory/File Selection Screen

  8. When a directory or file is selected, the path is shown under 'Location'. Click [Run Analysis] to start the analysis. When the SQL File or API Source analysis is complete, the Compatibility Analysis Report is also displayed in a web browser as in the Data Dictionary analysis.

    [Figure 2.17] Analysis - SQL File

    Analysis - SQL File

2.7. Migration Example

The following describes how to use the migration function in T-Up.

  1. Start T-Up utility to display the following Main screen.

    [Figure 2.18] Migration Main Screen

    Migration Main Screen

  2. Enter the source database connection information from the Main screen in T-Up and then click [Connect].

    [Figure 2.19] Migration - Source Database Connection Information

    Migration - Source Database Connection Information

  3. Enter the User ID, password, etc. for Tibero database, and then click [Connect].

    [Figure 2.20] Migration - Target Database Connection Information

    Migration - Target Database Connection Information

  4. Click [Option], select the desired options, and then click [OK].

    [Figure 2.21] Migration - Migration Options Screen

    Migration - Migration Options Screen

  5. Select the items to migrate from the source database schema tree, and then click [Run] to start the migration.

    [Figure 2.22] Migration - Select & Execute

    Migration - Select & Execute

  6. The following migration progress is displayed in the Progress screen during the migration. The progress logs can be seen at the bottom of the screen.

    [Figure 2.23] Migration - Migration Progress

    Migration - Migration Progress

  7. Click [Show Report] during or after the migration to view the following Report screen.

    [Figure 2.24] Migration - Report Screen

    Migration - Report Screen

  8. When the migration tasks are complete, close the Progress screen and the following message is displayed. Enter [OK].

    [Figure 2.25] Migration - Completion Screen

    Migration - Completion Screen