Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data OracleSettings = OracleSettings' {
- useBFile :: Maybe Bool
- standbyDelayTime :: Maybe Int
- failTasksOnLobTruncation :: Maybe Bool
- serverName :: Maybe Text
- directPathNoLog :: Maybe Bool
- extraArchivedLogDestIds :: Maybe [Int]
- securityDbEncryptionName :: Maybe Text
- oraclePathPrefix :: Maybe Text
- secretsManagerAccessRoleArn :: Maybe Text
- useDirectPathFullLoad :: Maybe Bool
- username :: Maybe Text
- allowSelectNestedTables :: Maybe Bool
- readAheadBlocks :: Maybe Int
- archivedLogDestId :: Maybe Int
- replacePathPrefix :: Maybe Bool
- accessAlternateDirectly :: Maybe Bool
- secretsManagerOracleAsmSecretId :: Maybe Text
- securityDbEncryption :: Maybe (Sensitive Text)
- useLogminerReader :: Maybe Bool
- readTableSpaceName :: Maybe Bool
- retryInterval :: Maybe Int
- password :: Maybe (Sensitive Text)
- spatialDataOptionToGeoJsonFunctionName :: Maybe Text
- databaseName :: Maybe Text
- addSupplementalLogging :: Maybe Bool
- secretsManagerOracleAsmAccessRoleArn :: Maybe Text
- asmServer :: Maybe Text
- charLengthSemantics :: Maybe CharLengthSemantics
- archivedLogsOnly :: Maybe Bool
- directPathParallelLoad :: Maybe Bool
- secretsManagerSecretId :: Maybe Text
- additionalArchivedLogDestId :: Maybe Int
- asmPassword :: Maybe (Sensitive Text)
- enableHomogenousTablespace :: Maybe Bool
- parallelAsmReadThreads :: Maybe Int
- numberDatatypeScale :: Maybe Int
- usePathPrefix :: Maybe Text
- asmUser :: Maybe Text
- useAlternateFolderForOnline :: Maybe Bool
- port :: Maybe Int
- newOracleSettings :: OracleSettings
- oracleSettings_useBFile :: Lens' OracleSettings (Maybe Bool)
- oracleSettings_standbyDelayTime :: Lens' OracleSettings (Maybe Int)
- oracleSettings_failTasksOnLobTruncation :: Lens' OracleSettings (Maybe Bool)
- oracleSettings_serverName :: Lens' OracleSettings (Maybe Text)
- oracleSettings_directPathNoLog :: Lens' OracleSettings (Maybe Bool)
- oracleSettings_extraArchivedLogDestIds :: Lens' OracleSettings (Maybe [Int])
- oracleSettings_securityDbEncryptionName :: Lens' OracleSettings (Maybe Text)
- oracleSettings_oraclePathPrefix :: Lens' OracleSettings (Maybe Text)
- oracleSettings_secretsManagerAccessRoleArn :: Lens' OracleSettings (Maybe Text)
- oracleSettings_useDirectPathFullLoad :: Lens' OracleSettings (Maybe Bool)
- oracleSettings_username :: Lens' OracleSettings (Maybe Text)
- oracleSettings_allowSelectNestedTables :: Lens' OracleSettings (Maybe Bool)
- oracleSettings_readAheadBlocks :: Lens' OracleSettings (Maybe Int)
- oracleSettings_archivedLogDestId :: Lens' OracleSettings (Maybe Int)
- oracleSettings_replacePathPrefix :: Lens' OracleSettings (Maybe Bool)
- oracleSettings_accessAlternateDirectly :: Lens' OracleSettings (Maybe Bool)
- oracleSettings_secretsManagerOracleAsmSecretId :: Lens' OracleSettings (Maybe Text)
- oracleSettings_securityDbEncryption :: Lens' OracleSettings (Maybe Text)
- oracleSettings_useLogminerReader :: Lens' OracleSettings (Maybe Bool)
- oracleSettings_readTableSpaceName :: Lens' OracleSettings (Maybe Bool)
- oracleSettings_retryInterval :: Lens' OracleSettings (Maybe Int)
- oracleSettings_password :: Lens' OracleSettings (Maybe Text)
- oracleSettings_spatialDataOptionToGeoJsonFunctionName :: Lens' OracleSettings (Maybe Text)
- oracleSettings_databaseName :: Lens' OracleSettings (Maybe Text)
- oracleSettings_addSupplementalLogging :: Lens' OracleSettings (Maybe Bool)
- oracleSettings_secretsManagerOracleAsmAccessRoleArn :: Lens' OracleSettings (Maybe Text)
- oracleSettings_asmServer :: Lens' OracleSettings (Maybe Text)
- oracleSettings_charLengthSemantics :: Lens' OracleSettings (Maybe CharLengthSemantics)
- oracleSettings_archivedLogsOnly :: Lens' OracleSettings (Maybe Bool)
- oracleSettings_directPathParallelLoad :: Lens' OracleSettings (Maybe Bool)
- oracleSettings_secretsManagerSecretId :: Lens' OracleSettings (Maybe Text)
- oracleSettings_additionalArchivedLogDestId :: Lens' OracleSettings (Maybe Int)
- oracleSettings_asmPassword :: Lens' OracleSettings (Maybe Text)
- oracleSettings_enableHomogenousTablespace :: Lens' OracleSettings (Maybe Bool)
- oracleSettings_parallelAsmReadThreads :: Lens' OracleSettings (Maybe Int)
- oracleSettings_numberDatatypeScale :: Lens' OracleSettings (Maybe Int)
- oracleSettings_usePathPrefix :: Lens' OracleSettings (Maybe Text)
- oracleSettings_asmUser :: Lens' OracleSettings (Maybe Text)
- oracleSettings_useAlternateFolderForOnline :: Lens' OracleSettings (Maybe Bool)
- oracleSettings_port :: Lens' OracleSettings (Maybe Int)
Documentation
data OracleSettings Source #
Provides information that defines an Oracle endpoint.
See: newOracleSettings
smart constructor.
OracleSettings' | |
|
Instances
newOracleSettings :: OracleSettings Source #
Create a value of OracleSettings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:useBFile:OracleSettings'
, oracleSettings_useBFile
- Set this attribute to Y to capture change data using the Binary Reader
utility. Set UseLogminerReader
to N to set this attribute to Y. To use
Binary Reader with Amazon RDS for Oracle as the source, you set
additional attributes. For more information about using this setting
with Oracle Automatic Storage Management (ASM), see
Using Oracle LogMiner or DMS Binary Reader for CDC.
$sel:standbyDelayTime:OracleSettings'
, oracleSettings_standbyDelayTime
- Use this attribute to specify a time in minutes for the delay in standby
sync. If the source is an Oracle Active Data Guard standby database, use
this attribute to specify the time lag between primary and standby
databases.
In DMS, you can create an Oracle CDC task that uses an Active Data Guard standby instance as a source for replicating ongoing changes. Doing this eliminates the need to connect to an active database that might be in production.
$sel:failTasksOnLobTruncation:OracleSettings'
, oracleSettings_failTasksOnLobTruncation
- When set to true
, this attribute causes a task to fail if the actual
size of an LOB column is greater than the specified LobMaxSize
.
If a task is set to limited LOB mode and this option is set to true
,
the task fails instead of truncating the LOB data.
$sel:serverName:OracleSettings'
, oracleSettings_serverName
- Fully qualified domain name of the endpoint.
$sel:directPathNoLog:OracleSettings'
, oracleSettings_directPathNoLog
- When set to true
, this attribute helps to increase the commit rate on
the Oracle target database by writing directly to tables and not writing
a trail to database logs.
$sel:extraArchivedLogDestIds:OracleSettings'
, oracleSettings_extraArchivedLogDestIds
- Specifies the IDs of one more destinations for one or more archived redo
logs. These IDs are the values of the dest_id
column in the
v$archived_log
view. Use this setting with the archivedLogDestId
extra connection attribute in a primary-to-single setup or a
primary-to-multiple-standby setup.
This setting is useful in a switchover when you use an Oracle Data Guard database as a source. In this case, DMS needs information about what destination to get archive redo logs from to read changes. DMS needs this because after the switchover the previous primary is a standby instance. For example, in a primary-to-single standby setup you might apply the following settings.
archivedLogDestId=1; ExtraArchivedLogDestIds=[2]
In a primary-to-multiple-standby setup, you might apply the following settings.
archivedLogDestId=1; ExtraArchivedLogDestIds=[2,3,4]
Although DMS supports the use of the Oracle RESETLOGS
option to open
the database, never use RESETLOGS
unless it's necessary. For more
information about RESETLOGS
, see
RMAN Data Repair Concepts
in the Oracle Database Backup and Recovery User's Guide.
$sel:securityDbEncryptionName:OracleSettings'
, oracleSettings_securityDbEncryptionName
- For an Oracle source endpoint, the name of a key used for the
transparent data encryption (TDE) of the columns and tablespaces in an
Oracle source database that is encrypted using TDE. The key value is the
value of the SecurityDbEncryption
setting. For more information on
setting the key name value of SecurityDbEncryptionName
, see the
information and example for setting the securityDbEncryptionName
extra
connection attribute in
Supported encryption methods for using Oracle as a source for DMS
in the Database Migration Service User Guide.
$sel:oraclePathPrefix:OracleSettings'
, oracleSettings_oraclePathPrefix
- Set this string attribute to the required value in order to use the
Binary Reader to capture change data for an Amazon RDS for Oracle as the
source. This value specifies the default Oracle root used to access the
redo logs.
$sel:secretsManagerAccessRoleArn:OracleSettings'
, oracleSettings_secretsManagerAccessRoleArn
- The full Amazon Resource Name (ARN) of the IAM role that specifies DMS
as the trusted entity and grants the required permissions to access the
value in SecretsManagerSecret
. The role must allow the iam:PassRole
action. SecretsManagerSecret
has the value of the Amazon Web Services
Secrets Manager secret that allows access to the Oracle endpoint.
You can specify one of two sets of values for these permissions. You can
specify the values for this setting and SecretsManagerSecretId
. Or you
can specify clear-text values for UserName
, Password
, ServerName
,
and Port
. You can't specify both. For more information on creating
this SecretsManagerSecret
and the SecretsManagerAccessRoleArn
and
SecretsManagerSecretId
required to access it, see
Using secrets to access Database Migration Service resources
in the Database Migration Service User Guide.
$sel:useDirectPathFullLoad:OracleSettings'
, oracleSettings_useDirectPathFullLoad
- Set this attribute to Y to have DMS use a direct path full load. Specify
this value to use the direct path protocol in the Oracle Call Interface
(OCI). By using this OCI protocol, you can bulk-load Oracle target
tables during a full load.
$sel:username:OracleSettings'
, oracleSettings_username
- Endpoint connection user name.
$sel:allowSelectNestedTables:OracleSettings'
, oracleSettings_allowSelectNestedTables
- Set this attribute to true
to enable replication of Oracle tables
containing columns that are nested tables or defined types.
$sel:readAheadBlocks:OracleSettings'
, oracleSettings_readAheadBlocks
- Set this attribute to change the number of read-ahead blocks that DMS
configures to perform a change data capture (CDC) load using Oracle
Automatic Storage Management (ASM). You can specify an integer value
between 1000 (the default) and 200,000 (the maximum).
$sel:archivedLogDestId:OracleSettings'
, oracleSettings_archivedLogDestId
- Specifies the ID of the destination for the archived redo logs. This
value should be the same as a number in the dest_id column of the
v$archived_log view. If you work with an additional redo log
destination, use the AdditionalArchivedLogDestId
option to specify the
additional destination ID. Doing this improves performance by ensuring
that the correct logs are accessed from the outset.
$sel:replacePathPrefix:OracleSettings'
, oracleSettings_replacePathPrefix
- Set this attribute to true in order to use the Binary Reader to capture
change data for an Amazon RDS for Oracle as the source. This setting
tells DMS instance to replace the default Oracle root with the specified
usePathPrefix
setting to access the redo logs.
$sel:accessAlternateDirectly:OracleSettings'
, oracleSettings_accessAlternateDirectly
- Set this attribute to false
in order to use the Binary Reader to
capture change data for an Amazon RDS for Oracle as the source. This
tells the DMS instance to not access redo logs through any specified
path prefix replacement using direct file access.
$sel:secretsManagerOracleAsmSecretId:OracleSettings'
, oracleSettings_secretsManagerOracleAsmSecretId
- Required only if your Oracle endpoint uses Advanced Storage Manager
(ASM). The full ARN, partial ARN, or friendly name of the
SecretsManagerOracleAsmSecret
that contains the Oracle ASM connection
details for the Oracle endpoint.
$sel:securityDbEncryption:OracleSettings'
, oracleSettings_securityDbEncryption
- For an Oracle source endpoint, the transparent data encryption (TDE)
password required by AWM DMS to access Oracle redo logs encrypted by TDE
using Binary Reader. It is also the TDE_Password
part of the
comma-separated value you set to the Password
request parameter when
you create the endpoint. The SecurityDbEncryptian
setting is related
to this SecurityDbEncryptionName
setting. For more information, see
Supported encryption methods for using Oracle as a source for DMS
in the Database Migration Service User Guide.
$sel:useLogminerReader:OracleSettings'
, oracleSettings_useLogminerReader
- Set this attribute to Y to capture change data using the Oracle LogMiner
utility (the default). Set this attribute to N if you want to access the
redo logs as a binary file. When you set UseLogminerReader
to N, also
set UseBfile
to Y. For more information on this setting and using
Oracle ASM, see
Using Oracle LogMiner or DMS Binary Reader for CDC
in the DMS User Guide.
$sel:readTableSpaceName:OracleSettings'
, oracleSettings_readTableSpaceName
- When set to true
, this attribute supports tablespace replication.
$sel:retryInterval:OracleSettings'
, oracleSettings_retryInterval
- Specifies the number of seconds that the system waits before resending a
query.
Example: retryInterval=6;
$sel:password:OracleSettings'
, oracleSettings_password
- Endpoint connection password.
$sel:spatialDataOptionToGeoJsonFunctionName:OracleSettings'
, oracleSettings_spatialDataOptionToGeoJsonFunctionName
- Use this attribute to convert SDO_GEOMETRY
to GEOJSON
format. By
default, DMS calls the SDO2GEOJSON
custom function if present and
accessible. Or you can create your own custom function that mimics the
operation of SDOGEOJSON
and set
SpatialDataOptionToGeoJsonFunctionName
to call it instead.
$sel:databaseName:OracleSettings'
, oracleSettings_databaseName
- Database name for the endpoint.
$sel:addSupplementalLogging:OracleSettings'
, oracleSettings_addSupplementalLogging
- Set this attribute to set up table-level supplemental logging for the
Oracle database. This attribute enables PRIMARY KEY supplemental logging
on all tables selected for a migration task.
If you use this option, you still need to enable database-level supplemental logging.
$sel:secretsManagerOracleAsmAccessRoleArn:OracleSettings'
, oracleSettings_secretsManagerOracleAsmAccessRoleArn
- Required only if your Oracle endpoint uses Advanced Storage Manager
(ASM). The full ARN of the IAM role that specifies DMS as the trusted
entity and grants the required permissions to access the
SecretsManagerOracleAsmSecret
. This SecretsManagerOracleAsmSecret
has the secret value that allows access to the Oracle ASM of the
endpoint.
You can specify one of two sets of values for these permissions. You can
specify the values for this setting and
SecretsManagerOracleAsmSecretId
. Or you can specify clear-text values
for AsmUserName
, AsmPassword
, and AsmServerName
. You can't
specify both. For more information on creating this
SecretsManagerOracleAsmSecret
and the
SecretsManagerOracleAsmAccessRoleArn
and
SecretsManagerOracleAsmSecretId
required to access it, see
Using secrets to access Database Migration Service resources
in the Database Migration Service User Guide.
$sel:asmServer:OracleSettings'
, oracleSettings_asmServer
- For an Oracle source endpoint, your ASM server address. You can set this
value from the asm_server
value. You set asm_server
as part of the
extra connection attribute string to access an Oracle server with Binary
Reader that uses ASM. For more information, see
Configuration for change data capture (CDC) on an Oracle source database.
$sel:charLengthSemantics:OracleSettings'
, oracleSettings_charLengthSemantics
- Specifies whether the length of a character column is in bytes or in
characters. To indicate that the character column length is in
characters, set this attribute to CHAR
. Otherwise, the character
column length is in bytes.
Example: charLengthSemantics=CHAR;
$sel:archivedLogsOnly:OracleSettings'
, oracleSettings_archivedLogsOnly
- When this field is set to Y
, DMS only accesses the archived redo logs.
If the archived redo logs are stored on Oracle ASM only, the DMS user
account needs to be granted ASM privileges.
$sel:directPathParallelLoad:OracleSettings'
, oracleSettings_directPathParallelLoad
- When set to true
, this attribute specifies a parallel load when
useDirectPathFullLoad
is set to Y
. This attribute also only applies
when you use the DMS parallel load feature. Note that the target table
cannot have any constraints or indexes.
$sel:secretsManagerSecretId:OracleSettings'
, oracleSettings_secretsManagerSecretId
- The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret
that contains the Oracle endpoint connection
details.
$sel:additionalArchivedLogDestId:OracleSettings'
, oracleSettings_additionalArchivedLogDestId
- Set this attribute with ArchivedLogDestId
in a primary/ standby
setup. This attribute is useful in the case of a switchover. In this
case, DMS needs to know which destination to get archive redo logs from
to read changes. This need arises because the previous primary instance
is now a standby instance after switchover.
Although DMS supports the use of the Oracle RESETLOGS
option to open
the database, never use RESETLOGS
unless necessary. For additional
information about RESETLOGS
, see
RMAN Data Repair Concepts
in the Oracle Database Backup and Recovery User's Guide.
$sel:asmPassword:OracleSettings'
, oracleSettings_asmPassword
- For an Oracle source endpoint, your Oracle Automatic Storage Management
(ASM) password. You can set this value from the asm_user_password
value. You set this value as part of the comma-separated value that you
set to the Password
request parameter when you create the endpoint to
access transaction logs using Binary Reader. For more information, see
Configuration for change data capture (CDC) on an Oracle source database.
$sel:enableHomogenousTablespace:OracleSettings'
, oracleSettings_enableHomogenousTablespace
- Set this attribute to enable homogenous tablespace replication and
create existing tables or indexes under the same tablespace on the
target.
$sel:parallelAsmReadThreads:OracleSettings'
, oracleSettings_parallelAsmReadThreads
- Set this attribute to change the number of threads that DMS configures
to perform a change data capture (CDC) load using Oracle Automatic
Storage Management (ASM). You can specify an integer value between 2
(the default) and 8 (the maximum). Use this attribute together with the
readAheadBlocks
attribute.
$sel:numberDatatypeScale:OracleSettings'
, oracleSettings_numberDatatypeScale
- Specifies the number scale. You can select a scale up to 38, or you can
select FLOAT. By default, the NUMBER data type is converted to precision
38, scale 10.
Example: numberDataTypeScale=12
$sel:usePathPrefix:OracleSettings'
, oracleSettings_usePathPrefix
- Set this string attribute to the required value in order to use the
Binary Reader to capture change data for an Amazon RDS for Oracle as the
source. This value specifies the path prefix used to replace the default
Oracle root to access the redo logs.
$sel:asmUser:OracleSettings'
, oracleSettings_asmUser
- For an Oracle source endpoint, your ASM user name. You can set this
value from the asm_user
value. You set asm_user
as part of the extra
connection attribute string to access an Oracle server with Binary
Reader that uses ASM. For more information, see
Configuration for change data capture (CDC) on an Oracle source database.
$sel:useAlternateFolderForOnline:OracleSettings'
, oracleSettings_useAlternateFolderForOnline
- Set this attribute to true
in order to use the Binary Reader to
capture change data for an Amazon RDS for Oracle as the source. This
tells the DMS instance to use any specified prefix replacement to access
all online redo logs.
$sel:port:OracleSettings'
, oracleSettings_port
- Endpoint TCP port.
oracleSettings_useBFile :: Lens' OracleSettings (Maybe Bool) Source #
Set this attribute to Y to capture change data using the Binary Reader
utility. Set UseLogminerReader
to N to set this attribute to Y. To use
Binary Reader with Amazon RDS for Oracle as the source, you set
additional attributes. For more information about using this setting
with Oracle Automatic Storage Management (ASM), see
Using Oracle LogMiner or DMS Binary Reader for CDC.
oracleSettings_standbyDelayTime :: Lens' OracleSettings (Maybe Int) Source #
Use this attribute to specify a time in minutes for the delay in standby sync. If the source is an Oracle Active Data Guard standby database, use this attribute to specify the time lag between primary and standby databases.
In DMS, you can create an Oracle CDC task that uses an Active Data Guard standby instance as a source for replicating ongoing changes. Doing this eliminates the need to connect to an active database that might be in production.
oracleSettings_failTasksOnLobTruncation :: Lens' OracleSettings (Maybe Bool) Source #
When set to true
, this attribute causes a task to fail if the actual
size of an LOB column is greater than the specified LobMaxSize
.
If a task is set to limited LOB mode and this option is set to true
,
the task fails instead of truncating the LOB data.
oracleSettings_serverName :: Lens' OracleSettings (Maybe Text) Source #
Fully qualified domain name of the endpoint.
oracleSettings_directPathNoLog :: Lens' OracleSettings (Maybe Bool) Source #
When set to true
, this attribute helps to increase the commit rate on
the Oracle target database by writing directly to tables and not writing
a trail to database logs.
oracleSettings_extraArchivedLogDestIds :: Lens' OracleSettings (Maybe [Int]) Source #
Specifies the IDs of one more destinations for one or more archived redo
logs. These IDs are the values of the dest_id
column in the
v$archived_log
view. Use this setting with the archivedLogDestId
extra connection attribute in a primary-to-single setup or a
primary-to-multiple-standby setup.
This setting is useful in a switchover when you use an Oracle Data Guard database as a source. In this case, DMS needs information about what destination to get archive redo logs from to read changes. DMS needs this because after the switchover the previous primary is a standby instance. For example, in a primary-to-single standby setup you might apply the following settings.
archivedLogDestId=1; ExtraArchivedLogDestIds=[2]
In a primary-to-multiple-standby setup, you might apply the following settings.
archivedLogDestId=1; ExtraArchivedLogDestIds=[2,3,4]
Although DMS supports the use of the Oracle RESETLOGS
option to open
the database, never use RESETLOGS
unless it's necessary. For more
information about RESETLOGS
, see
RMAN Data Repair Concepts
in the Oracle Database Backup and Recovery User's Guide.
oracleSettings_securityDbEncryptionName :: Lens' OracleSettings (Maybe Text) Source #
For an Oracle source endpoint, the name of a key used for the
transparent data encryption (TDE) of the columns and tablespaces in an
Oracle source database that is encrypted using TDE. The key value is the
value of the SecurityDbEncryption
setting. For more information on
setting the key name value of SecurityDbEncryptionName
, see the
information and example for setting the securityDbEncryptionName
extra
connection attribute in
Supported encryption methods for using Oracle as a source for DMS
in the Database Migration Service User Guide.
oracleSettings_oraclePathPrefix :: Lens' OracleSettings (Maybe Text) Source #
Set this string attribute to the required value in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This value specifies the default Oracle root used to access the redo logs.
oracleSettings_secretsManagerAccessRoleArn :: Lens' OracleSettings (Maybe Text) Source #
The full Amazon Resource Name (ARN) of the IAM role that specifies DMS
as the trusted entity and grants the required permissions to access the
value in SecretsManagerSecret
. The role must allow the iam:PassRole
action. SecretsManagerSecret
has the value of the Amazon Web Services
Secrets Manager secret that allows access to the Oracle endpoint.
You can specify one of two sets of values for these permissions. You can
specify the values for this setting and SecretsManagerSecretId
. Or you
can specify clear-text values for UserName
, Password
, ServerName
,
and Port
. You can't specify both. For more information on creating
this SecretsManagerSecret
and the SecretsManagerAccessRoleArn
and
SecretsManagerSecretId
required to access it, see
Using secrets to access Database Migration Service resources
in the Database Migration Service User Guide.
oracleSettings_useDirectPathFullLoad :: Lens' OracleSettings (Maybe Bool) Source #
Set this attribute to Y to have DMS use a direct path full load. Specify this value to use the direct path protocol in the Oracle Call Interface (OCI). By using this OCI protocol, you can bulk-load Oracle target tables during a full load.
oracleSettings_username :: Lens' OracleSettings (Maybe Text) Source #
Endpoint connection user name.
oracleSettings_allowSelectNestedTables :: Lens' OracleSettings (Maybe Bool) Source #
Set this attribute to true
to enable replication of Oracle tables
containing columns that are nested tables or defined types.
oracleSettings_readAheadBlocks :: Lens' OracleSettings (Maybe Int) Source #
Set this attribute to change the number of read-ahead blocks that DMS configures to perform a change data capture (CDC) load using Oracle Automatic Storage Management (ASM). You can specify an integer value between 1000 (the default) and 200,000 (the maximum).
oracleSettings_archivedLogDestId :: Lens' OracleSettings (Maybe Int) Source #
Specifies the ID of the destination for the archived redo logs. This
value should be the same as a number in the dest_id column of the
v$archived_log view. If you work with an additional redo log
destination, use the AdditionalArchivedLogDestId
option to specify the
additional destination ID. Doing this improves performance by ensuring
that the correct logs are accessed from the outset.
oracleSettings_replacePathPrefix :: Lens' OracleSettings (Maybe Bool) Source #
Set this attribute to true in order to use the Binary Reader to capture
change data for an Amazon RDS for Oracle as the source. This setting
tells DMS instance to replace the default Oracle root with the specified
usePathPrefix
setting to access the redo logs.
oracleSettings_accessAlternateDirectly :: Lens' OracleSettings (Maybe Bool) Source #
Set this attribute to false
in order to use the Binary Reader to
capture change data for an Amazon RDS for Oracle as the source. This
tells the DMS instance to not access redo logs through any specified
path prefix replacement using direct file access.
oracleSettings_secretsManagerOracleAsmSecretId :: Lens' OracleSettings (Maybe Text) Source #
Required only if your Oracle endpoint uses Advanced Storage Manager
(ASM). The full ARN, partial ARN, or friendly name of the
SecretsManagerOracleAsmSecret
that contains the Oracle ASM connection
details for the Oracle endpoint.
oracleSettings_securityDbEncryption :: Lens' OracleSettings (Maybe Text) Source #
For an Oracle source endpoint, the transparent data encryption (TDE)
password required by AWM DMS to access Oracle redo logs encrypted by TDE
using Binary Reader. It is also the TDE_Password
part of the
comma-separated value you set to the Password
request parameter when
you create the endpoint. The SecurityDbEncryptian
setting is related
to this SecurityDbEncryptionName
setting. For more information, see
Supported encryption methods for using Oracle as a source for DMS
in the Database Migration Service User Guide.
oracleSettings_useLogminerReader :: Lens' OracleSettings (Maybe Bool) Source #
Set this attribute to Y to capture change data using the Oracle LogMiner
utility (the default). Set this attribute to N if you want to access the
redo logs as a binary file. When you set UseLogminerReader
to N, also
set UseBfile
to Y. For more information on this setting and using
Oracle ASM, see
Using Oracle LogMiner or DMS Binary Reader for CDC
in the DMS User Guide.
oracleSettings_readTableSpaceName :: Lens' OracleSettings (Maybe Bool) Source #
When set to true
, this attribute supports tablespace replication.
oracleSettings_retryInterval :: Lens' OracleSettings (Maybe Int) Source #
Specifies the number of seconds that the system waits before resending a query.
Example: retryInterval=6;
oracleSettings_password :: Lens' OracleSettings (Maybe Text) Source #
Endpoint connection password.
oracleSettings_spatialDataOptionToGeoJsonFunctionName :: Lens' OracleSettings (Maybe Text) Source #
Use this attribute to convert SDO_GEOMETRY
to GEOJSON
format. By
default, DMS calls the SDO2GEOJSON
custom function if present and
accessible. Or you can create your own custom function that mimics the
operation of SDOGEOJSON
and set
SpatialDataOptionToGeoJsonFunctionName
to call it instead.
oracleSettings_databaseName :: Lens' OracleSettings (Maybe Text) Source #
Database name for the endpoint.
oracleSettings_addSupplementalLogging :: Lens' OracleSettings (Maybe Bool) Source #
Set this attribute to set up table-level supplemental logging for the Oracle database. This attribute enables PRIMARY KEY supplemental logging on all tables selected for a migration task.
If you use this option, you still need to enable database-level supplemental logging.
oracleSettings_secretsManagerOracleAsmAccessRoleArn :: Lens' OracleSettings (Maybe Text) Source #
Required only if your Oracle endpoint uses Advanced Storage Manager
(ASM). The full ARN of the IAM role that specifies DMS as the trusted
entity and grants the required permissions to access the
SecretsManagerOracleAsmSecret
. This SecretsManagerOracleAsmSecret
has the secret value that allows access to the Oracle ASM of the
endpoint.
You can specify one of two sets of values for these permissions. You can
specify the values for this setting and
SecretsManagerOracleAsmSecretId
. Or you can specify clear-text values
for AsmUserName
, AsmPassword
, and AsmServerName
. You can't
specify both. For more information on creating this
SecretsManagerOracleAsmSecret
and the
SecretsManagerOracleAsmAccessRoleArn
and
SecretsManagerOracleAsmSecretId
required to access it, see
Using secrets to access Database Migration Service resources
in the Database Migration Service User Guide.
oracleSettings_asmServer :: Lens' OracleSettings (Maybe Text) Source #
For an Oracle source endpoint, your ASM server address. You can set this
value from the asm_server
value. You set asm_server
as part of the
extra connection attribute string to access an Oracle server with Binary
Reader that uses ASM. For more information, see
Configuration for change data capture (CDC) on an Oracle source database.
oracleSettings_charLengthSemantics :: Lens' OracleSettings (Maybe CharLengthSemantics) Source #
Specifies whether the length of a character column is in bytes or in
characters. To indicate that the character column length is in
characters, set this attribute to CHAR
. Otherwise, the character
column length is in bytes.
Example: charLengthSemantics=CHAR;
oracleSettings_archivedLogsOnly :: Lens' OracleSettings (Maybe Bool) Source #
When this field is set to Y
, DMS only accesses the archived redo logs.
If the archived redo logs are stored on Oracle ASM only, the DMS user
account needs to be granted ASM privileges.
oracleSettings_directPathParallelLoad :: Lens' OracleSettings (Maybe Bool) Source #
When set to true
, this attribute specifies a parallel load when
useDirectPathFullLoad
is set to Y
. This attribute also only applies
when you use the DMS parallel load feature. Note that the target table
cannot have any constraints or indexes.
oracleSettings_secretsManagerSecretId :: Lens' OracleSettings (Maybe Text) Source #
The full ARN, partial ARN, or friendly name of the
SecretsManagerSecret
that contains the Oracle endpoint connection
details.
oracleSettings_additionalArchivedLogDestId :: Lens' OracleSettings (Maybe Int) Source #
Set this attribute with ArchivedLogDestId
in a primary/ standby
setup. This attribute is useful in the case of a switchover. In this
case, DMS needs to know which destination to get archive redo logs from
to read changes. This need arises because the previous primary instance
is now a standby instance after switchover.
Although DMS supports the use of the Oracle RESETLOGS
option to open
the database, never use RESETLOGS
unless necessary. For additional
information about RESETLOGS
, see
RMAN Data Repair Concepts
in the Oracle Database Backup and Recovery User's Guide.
oracleSettings_asmPassword :: Lens' OracleSettings (Maybe Text) Source #
For an Oracle source endpoint, your Oracle Automatic Storage Management
(ASM) password. You can set this value from the asm_user_password
value. You set this value as part of the comma-separated value that you
set to the Password
request parameter when you create the endpoint to
access transaction logs using Binary Reader. For more information, see
Configuration for change data capture (CDC) on an Oracle source database.
oracleSettings_enableHomogenousTablespace :: Lens' OracleSettings (Maybe Bool) Source #
Set this attribute to enable homogenous tablespace replication and create existing tables or indexes under the same tablespace on the target.
oracleSettings_parallelAsmReadThreads :: Lens' OracleSettings (Maybe Int) Source #
Set this attribute to change the number of threads that DMS configures
to perform a change data capture (CDC) load using Oracle Automatic
Storage Management (ASM). You can specify an integer value between 2
(the default) and 8 (the maximum). Use this attribute together with the
readAheadBlocks
attribute.
oracleSettings_numberDatatypeScale :: Lens' OracleSettings (Maybe Int) Source #
Specifies the number scale. You can select a scale up to 38, or you can select FLOAT. By default, the NUMBER data type is converted to precision 38, scale 10.
Example: numberDataTypeScale=12
oracleSettings_usePathPrefix :: Lens' OracleSettings (Maybe Text) Source #
Set this string attribute to the required value in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This value specifies the path prefix used to replace the default Oracle root to access the redo logs.
oracleSettings_asmUser :: Lens' OracleSettings (Maybe Text) Source #
For an Oracle source endpoint, your ASM user name. You can set this
value from the asm_user
value. You set asm_user
as part of the extra
connection attribute string to access an Oracle server with Binary
Reader that uses ASM. For more information, see
Configuration for change data capture (CDC) on an Oracle source database.
oracleSettings_useAlternateFolderForOnline :: Lens' OracleSettings (Maybe Bool) Source #
Set this attribute to true
in order to use the Binary Reader to
capture change data for an Amazon RDS for Oracle as the source. This
tells the DMS instance to use any specified prefix replacement to access
all online redo logs.
oracleSettings_port :: Lens' OracleSettings (Maybe Int) Source #
Endpoint TCP port.