DataPumpParameters

class oci.database_migration.models.DataPumpParameters(**kwargs)

Bases: object

Optional parameters for Data Pump Export and Import.

Attributes

ESTIMATE_BLOCKS A constant which can be used with the estimate property of a DataPumpParameters.
ESTIMATE_STATISTICS A constant which can be used with the estimate property of a DataPumpParameters.
TABLE_EXISTS_ACTION_APPEND A constant which can be used with the table_exists_action property of a DataPumpParameters.
TABLE_EXISTS_ACTION_REPLACE A constant which can be used with the table_exists_action property of a DataPumpParameters.
TABLE_EXISTS_ACTION_SKIP A constant which can be used with the table_exists_action property of a DataPumpParameters.
TABLE_EXISTS_ACTION_TRUNCATE A constant which can be used with the table_exists_action property of a DataPumpParameters.
estimate Gets the estimate of this DataPumpParameters.
exclude_parameters Gets the exclude_parameters of this DataPumpParameters.
export_parallelism_degree Gets the export_parallelism_degree of this DataPumpParameters.
import_parallelism_degree Gets the import_parallelism_degree of this DataPumpParameters.
is_cluster Gets the is_cluster of this DataPumpParameters.
table_exists_action Gets the table_exists_action of this DataPumpParameters.

Methods

__init__(**kwargs) Initializes a new DataPumpParameters object with values from keyword arguments.
ESTIMATE_BLOCKS = 'BLOCKS'

A constant which can be used with the estimate property of a DataPumpParameters. This constant has a value of “BLOCKS”

ESTIMATE_STATISTICS = 'STATISTICS'

A constant which can be used with the estimate property of a DataPumpParameters. This constant has a value of “STATISTICS”

TABLE_EXISTS_ACTION_APPEND = 'APPEND'

A constant which can be used with the table_exists_action property of a DataPumpParameters. This constant has a value of “APPEND”

TABLE_EXISTS_ACTION_REPLACE = 'REPLACE'

A constant which can be used with the table_exists_action property of a DataPumpParameters. This constant has a value of “REPLACE”

TABLE_EXISTS_ACTION_SKIP = 'SKIP'

A constant which can be used with the table_exists_action property of a DataPumpParameters. This constant has a value of “SKIP”

TABLE_EXISTS_ACTION_TRUNCATE = 'TRUNCATE'

A constant which can be used with the table_exists_action property of a DataPumpParameters. This constant has a value of “TRUNCATE”

__init__(**kwargs)

Initializes a new DataPumpParameters object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • is_cluster (bool) – The value to assign to the is_cluster property of this DataPumpParameters.
  • estimate (str) – The value to assign to the estimate property of this DataPumpParameters. Allowed values for this property are: “BLOCKS”, “STATISTICS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • table_exists_action (str) – The value to assign to the table_exists_action property of this DataPumpParameters. Allowed values for this property are: “TRUNCATE”, “REPLACE”, “APPEND”, “SKIP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • exclude_parameters (list[oci.database_migration.models.DataPumpExcludeParameters]) – The value to assign to the exclude_parameters property of this DataPumpParameters.
  • import_parallelism_degree (int) – The value to assign to the import_parallelism_degree property of this DataPumpParameters.
  • export_parallelism_degree (int) – The value to assign to the export_parallelism_degree property of this DataPumpParameters.
estimate

Gets the estimate of this DataPumpParameters. Estimate size of dumps that will be generated.

Allowed values for this property are: “BLOCKS”, “STATISTICS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The estimate of this DataPumpParameters.
Return type:str
exclude_parameters

Gets the exclude_parameters of this DataPumpParameters. Exclude paratemers for Export and Import.

Returns:The exclude_parameters of this DataPumpParameters.
Return type:list[oci.database_migration.models.DataPumpExcludeParameters]
export_parallelism_degree

Gets the export_parallelism_degree of this DataPumpParameters. Maximum number of worker processes that can be used for a Data Pump Export job.

Returns:The export_parallelism_degree of this DataPumpParameters.
Return type:int
import_parallelism_degree

Gets the import_parallelism_degree of this DataPumpParameters. Maximum number of worker processes that can be used for a Data Pump Import job. For an Autonomous Database, ODMS will automatically query its CPU core count and set this property.

Returns:The import_parallelism_degree of this DataPumpParameters.
Return type:int
is_cluster

Gets the is_cluster of this DataPumpParameters. Set to false to force Data Pump worker process to run on one instance.

Returns:The is_cluster of this DataPumpParameters.
Return type:bool
table_exists_action

Gets the table_exists_action of this DataPumpParameters. IMPORT: Specifies the action to be performed when data is loaded into a preexisting table.

Allowed values for this property are: “TRUNCATE”, “REPLACE”, “APPEND”, “SKIP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The table_exists_action of this DataPumpParameters.
Return type:str