CreateDataPumpParameters¶
- 
class 
oci.database_migration.models.CreateDataPumpParameters(**kwargs)¶ Bases:
objectOptional parameters for Data Pump Export and Import.
Attributes
ESTIMATE_BLOCKSA constant which can be used with the estimate property of a CreateDataPumpParameters. ESTIMATE_STATISTICSA constant which can be used with the estimate property of a CreateDataPumpParameters. TABLE_EXISTS_ACTION_APPENDA constant which can be used with the table_exists_action property of a CreateDataPumpParameters. TABLE_EXISTS_ACTION_REPLACEA constant which can be used with the table_exists_action property of a CreateDataPumpParameters. TABLE_EXISTS_ACTION_SKIPA constant which can be used with the table_exists_action property of a CreateDataPumpParameters. TABLE_EXISTS_ACTION_TRUNCATEA constant which can be used with the table_exists_action property of a CreateDataPumpParameters. TABLE_EXISTS_ACTION_UNSPECIFIEDA constant which can be used with the table_exists_action property of a CreateDataPumpParameters. estimateGets the estimate of this CreateDataPumpParameters. exclude_parametersGets the exclude_parameters of this CreateDataPumpParameters. export_parallelism_degreeGets the export_parallelism_degree of this CreateDataPumpParameters. import_parallelism_degreeGets the import_parallelism_degree of this CreateDataPumpParameters. is_clusterGets the is_cluster of this CreateDataPumpParameters. table_exists_actionGets the table_exists_action of this CreateDataPumpParameters. Methods
__init__(**kwargs)Initializes a new CreateDataPumpParameters object with values from keyword arguments. - 
ESTIMATE_BLOCKS= 'BLOCKS'¶ A constant which can be used with the estimate property of a CreateDataPumpParameters. This constant has a value of “BLOCKS”
- 
ESTIMATE_STATISTICS= 'STATISTICS'¶ A constant which can be used with the estimate property of a CreateDataPumpParameters. 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 CreateDataPumpParameters. 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 CreateDataPumpParameters. 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 CreateDataPumpParameters. 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 CreateDataPumpParameters. This constant has a value of “TRUNCATE”
- 
TABLE_EXISTS_ACTION_UNSPECIFIED= 'UNSPECIFIED'¶ A constant which can be used with the table_exists_action property of a CreateDataPumpParameters. This constant has a value of “UNSPECIFIED”
- 
__init__(**kwargs)¶ Initializes a new CreateDataPumpParameters 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 CreateDataPumpParameters.
 - estimate (str) – The value to assign to the estimate property of this CreateDataPumpParameters. Allowed values for this property are: “BLOCKS”, “STATISTICS”
 - table_exists_action (str) – The value to assign to the table_exists_action property of this CreateDataPumpParameters. Allowed values for this property are: “TRUNCATE”, “REPLACE”, “APPEND”, “SKIP”, “UNSPECIFIED”
 - exclude_parameters (list[oci.database_migration.models.DataPumpExcludeParameters]) – The value to assign to the exclude_parameters property of this CreateDataPumpParameters.
 - import_parallelism_degree (int) – The value to assign to the import_parallelism_degree property of this CreateDataPumpParameters.
 - export_parallelism_degree (int) – The value to assign to the export_parallelism_degree property of this CreateDataPumpParameters.
 
- 
estimate¶ Gets the estimate of this CreateDataPumpParameters. Estimate size of dumps that will be generated.
Allowed values for this property are: “BLOCKS”, “STATISTICS”
Returns: The estimate of this CreateDataPumpParameters. Return type: str 
- 
exclude_parameters¶ Gets the exclude_parameters of this CreateDataPumpParameters. Exclude paratemers for Export and Import.
Returns: The exclude_parameters of this CreateDataPumpParameters. Return type: list[oci.database_migration.models.DataPumpExcludeParameters] 
- 
export_parallelism_degree¶ Gets the export_parallelism_degree of this CreateDataPumpParameters. Maximum number of worker processes that can be used for a Data Pump Export job.
Returns: The export_parallelism_degree of this CreateDataPumpParameters. Return type: int 
- 
import_parallelism_degree¶ Gets the import_parallelism_degree of this CreateDataPumpParameters. 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 CreateDataPumpParameters. Return type: int 
- 
is_cluster¶ Gets the is_cluster of this CreateDataPumpParameters. Set to false to force Data Pump worker process to run on one instance.
Returns: The is_cluster of this CreateDataPumpParameters. Return type: bool 
- 
table_exists_action¶ Gets the table_exists_action of this CreateDataPumpParameters. 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”, “UNSPECIFIED”
Returns: The table_exists_action of this CreateDataPumpParameters. Return type: str 
-