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