Ispirer Ispirer
 


Ispirer Home Page Ispirer SQLWays Product Page Request SQLWays

Sqlways.ini File - Section [Greenplum]

This article describes sqlways.ini file [Greenplum] section and the options it contains.

Option name Description
HOST This option sets the host name where import will be done.
DATABASE This option sets the database name where import will be done.
USER This option sets user account that will be used to connect to Greenplum database.
PWD This option sets password that will be used together with the user account to connect to Greenplum database.
PORT This option sets port number that will be used to connect to Greenplum database.
TARGET_VERSION This option sets the version number of the database where import will be done.
BIN Specifies the directory where PSQL.exe utility is located.
TABLESPACE In this option can be specified tablespace name that will be used in CREATE TABLE statements in Greenplum.
Default value - Empty.
INDEX_TABLESPACE In this option can be specified tablespace name that will be used in CREATE INDEX statements in Greenplum.
Default value - Empty.
DISTRIBUTED_BY_ON_PK This option was created for Oracle to Greenplum direction of migration. 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 is based 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.
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. 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 exact record in the database. By default this option is set to “Yes”. This means that all the CREATE TABLE statements will be created with the WITH OIDS option.
Possible values - “Yes”, “No” or Empty.
Default value - “Yes”.

Example:

[greenplum]
DISTRIBUTED_BY_ON_PK=Yes


Ispirer Home Page Ispirer SQLWays Product Page Request SQLWays

sqlways/command-line/sqlways-ini/greenplum-section.txt · Last modified: September 21, 2018, 02:15:26 PM by alexandr.kirpichny
 
© 1999-2018, Ispirer Systems Ltd.
All Rights Reserved.  Privacy Statement