MSSQL To Tibero Migration
MSSQL To Tibero Migration
1. Overview
An Indonesia securities company offers complete capital market investment services for both
individual and institutional customers with more than 20 years of experience.
Tmax had the opportunity to migrate front office system from MSSQL (SQL Server 2016) to our
Tibero. The goal of this project is functional, performance, and scalability.
2. High-level Architecture
a. High-level Design
To-be Diagram
Front Office Area : Application area where end-customer and front office user connected.
Main tasks in Front office are get, show , and generate financial data / report; Modify account/
user data.
Back Office Area : Application area where back office user connected. Main tasks in Back
Office are generate financial calculation , generate regulatory reporting, generate complex
report.
Sync data between front office and backoffice happened twice a day. 1st time before market
open (Market open at 8.30 AM, GMT+7) and at midday (break 1 at 11.30 AM, GMT+7).
3. Migration Strategy
Migration from MSSQL to Tibero using following method:
OS CentOS 7.9
Oracle DB Version Oracle 11gR2
Redo log size 500M x 3
CPU 2
Memory / RAM 8GB
OS Windows
SQL Developer SQL Developer 22.2.1
CPU 8
Memory / RAM JVM 4 GB – 8 GB , OS RAM 16GB
Tibero Version
Tibero6 – FS07_CS_2005 - build (257082)
CPU: 8 VCPU / Node
RAM : 250 GB / Node
b. Required Software
SQL Developer
T-Up is a compatibility analysis and migration utility provided by Tibero DB. This utility
provides functions 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 APIs related to database used in applications can be
supported in Tibero, and analyzes causes for any unsupported items.The migration function
migrates schema objects, such as tables, indexes, and views, and PSM programs from the
source database to Tibero so that they can be used as before.
Network Communication
ROWVERSION
- Sequence
- Trigger
Procedure above has main purpose to search the newly updated / inserted data.
DATEDIFF
return l_result;
end;
/
c. Step-by Step
1. Create Oracle Database instance on Virtual machine
2. Install Oracle SQL Developer
a. SQL Developer
Create a connection from SQL Developer to MSSQL using MSSQL JDBC Driver
Connection created and connected to MSSQL retrieve data
Create Repository Database on Oracle
Create the target migration Database on Oracle
Start to migrate DB
Migration
Check all Tables, procedures, and functions migrated to Oracle DB
If no, re-execute the migration process
Note:
Solution:
Rewrite the stored procedure started with conditional (if-elsif- else)
And put the statement inside one by one
Note: