Ispirer Website Ispirer Capabilities - Amazon Redshift Migration Free Trial

Sqlways.ini File - Section [Redshift]

This article describes sqlways.ini file's [Redshift] section and 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 Amazon Redshift database.
PWD This option sets password that will be used together with the user account to connect to Amazon Redshift database.
PORT This option sets port number that will be used to connect to Amazon Redshift database.
TARGET_VERSION This option sets the version number of the database where import will be done.
CLOUD_PATH This option is required to specify the path on the cloud, where data files will be placed. If value is not set, by default path to the current export folder will be used.
ACCESS_KEY_ID This option sets the access key id that is used to get access to the data files stored on cloud.
SECRET_ACCESS_KEY This option sets the secret access key that is used to get access to the data files stored on cloud.
BIN This option sets the path to the native utility (psql.exe) that will be used by SQLWays Wizard tool to make an import into the Amazon Redshift database.
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”.
TABLESPACE In this option you can specify tablespace name that will be used in CREATE TABLE statements in Redshift.
Default value - Empty.
INDEX_TABLESPACE In this option you can specify tablespace name that will be used in CREATE INDEX statements in Redshift.
Default value - Empty.
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.

Example:

[REDSHIFT]
HOST=hostname
DATABASE=test
USER=postgres
PORT=4444

© 1999-2024, Ispirer Systems, LLC. All Rights Reserved.