The aim of this documentation is to describe how to use the Data Migrator to build a database over its architectural items and to populate it with data.
This tool consumes metadata artifacts that could be provided from:
The Data Migrator is a standalone application. It is provided as Linux or Window installer and is launched through a command line.
The Data Migrator enables to work with several kinds of database :
To bulk-load data, Bluage Data Migrator uses POSTGRESQL provided copy
statement.
For MSSQL, Data Migrator provides three data loading modes:
BULK INSERT
statement in default mode. To use this mode, you need to specify it by checking bulkadmin with Microsoft SQL Server Management Studio.To bulk-load data, Data Migrator uses sqlldr
tool which must be installed on your machine with a well-defined path.
Data Migrator tool connects to databases specified in the configuration steps and, for POSTRESQL only, drops and creates the database.
The tool applies all the enabled action steps specified.
For the creation or deletion step, it executes scripts from the sql files included in the input directory of the step.
For the conversion step, it converts the data included in the input directory of the step and put the results in the output directory of the step.
For the data loading step, it loads data included in the input directory of the step to database.
During the data loading step, considered table to fill are taken from sqlModel.json
table list or collected from the sql files if sqlModel.json
is missing. Under the designed data folder (dataFolder
), data files must be stored under folder named as the table name.