About Ispirer Systems

Ispirer Home Page Database Migration Application Conversion Downloads


Sqlways.ini File - Section [ENTERPRISEDB]

This article describes sqlways.ini file's [ENTERPRISEDB] section and the options it contains.

Option name Description
HOST This option sets the host name where import will be performed.
DATABASE This option sets the database name where import will be performed.
USER This option sets the user account that will be used to connect to ENTERPRISEDB database.
PWD This option sets the password that will be used together with the user account to connect to ENTERPRISEDB database.
PORT This option sets the port number that will be used to connect to ENTERPRISEDB database.
TARGET_VERSION This option sets the version number of the database where import will be performed.
BIN Specifies the directory where PSQL.exe utility is located.
TABLESPACE In this option you can specify the tablespace name that will be used in CREATE TABLE statements in ENTERPRISEDB.
Default value - Empty.
INDEX_TABLESPACE In this option you can specify tablespace name that will be used in CREATE INDEX statements in ENTERPRISEDB.
Default value - Empty.
DISTRIBUTED_BY_ON_PK This option was created for Oracle to ENTERPRISEDB migration direction. When this option is set to ‘Yes’ (default value is ‘No’) DISTRIBUTED BY clause is added to CREATE TABLE statement during conversion.
The following rules are applied:
1) If converted table has primary key, DISTRIBUTED BY clause includes all columns that are included in primary key. All UNIQUE INDEXES and UNIQUE constrains are discarded.
2) If converted table has only UNIQUE INDEXES, DISTRIBUTED BY clause bases on the UNIQUE INDEX that has the least number of columns. All other UNIQUE INDEXES and UNIQUE CONSTRAINTS are discarded.
USE_SOURCE_TABLESPACE_NAMES This option defines whether the original tablespace names will be used in the converted object definitions or not.
Possible values - “Yes”, “No” or Empty.
Default value - “No” or Empty.
TABLES_WITH_OIDS This option defines whether the tables will be created with OID or not. OID column is a system column created for each table. It contains the unique identifier for the row of data in the database and can be used as a unique pointer to the certain record in the database. By default this option is set to “No”. This means that all the CREATE TABLE statements will be created with the WITH OIDS option.
Possible values - “Yes”, “No” or Empty.
Default value - “No”.

Example:

[ENTERPRISEDB]
DISTRIBUTED_BY_ON_PK=Yes