OptimizerStatisticsCollectionAggregationSummary¶
-
class
oci.database_management.models.
OptimizerStatisticsCollectionAggregationSummary
(**kwargs)¶ Bases:
object
The summary of the Optimizer Statistics Collection, which includes the aggregated number of tasks grouped by status.
Attributes
GROUP_BY_TASK_OBJECTS_STATUS
A constant which can be used with the group_by property of a OptimizerStatisticsCollectionAggregationSummary. GROUP_BY_TASK_STATUS
A constant which can be used with the group_by property of a OptimizerStatisticsCollectionAggregationSummary. completed
Gets the completed of this OptimizerStatisticsCollectionAggregationSummary. failed
Gets the failed of this OptimizerStatisticsCollectionAggregationSummary. group_by
Gets the group_by of this OptimizerStatisticsCollectionAggregationSummary. in_progress
Gets the in_progress of this OptimizerStatisticsCollectionAggregationSummary. pending
Gets the pending of this OptimizerStatisticsCollectionAggregationSummary. skipped
Gets the skipped of this OptimizerStatisticsCollectionAggregationSummary. time_end
Gets the time_end of this OptimizerStatisticsCollectionAggregationSummary. time_start
[Required] Gets the time_start of this OptimizerStatisticsCollectionAggregationSummary. timed_out
Gets the timed_out of this OptimizerStatisticsCollectionAggregationSummary. total
Gets the total of this OptimizerStatisticsCollectionAggregationSummary. unknown
Gets the unknown of this OptimizerStatisticsCollectionAggregationSummary. Methods
__init__
(**kwargs)Initializes a new OptimizerStatisticsCollectionAggregationSummary object with values from keyword arguments. -
GROUP_BY_TASK_OBJECTS_STATUS
= 'TASK_OBJECTS_STATUS'¶ A constant which can be used with the group_by property of a OptimizerStatisticsCollectionAggregationSummary. This constant has a value of “TASK_OBJECTS_STATUS”
-
GROUP_BY_TASK_STATUS
= 'TASK_STATUS'¶ A constant which can be used with the group_by property of a OptimizerStatisticsCollectionAggregationSummary. This constant has a value of “TASK_STATUS”
-
__init__
(**kwargs)¶ Initializes a new OptimizerStatisticsCollectionAggregationSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - group_by (str) – The value to assign to the group_by property of this OptimizerStatisticsCollectionAggregationSummary. Allowed values for this property are: “TASK_STATUS”, “TASK_OBJECTS_STATUS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_start (datetime) – The value to assign to the time_start property of this OptimizerStatisticsCollectionAggregationSummary.
- time_end (datetime) – The value to assign to the time_end property of this OptimizerStatisticsCollectionAggregationSummary.
- pending (int) – The value to assign to the pending property of this OptimizerStatisticsCollectionAggregationSummary.
- in_progress (int) – The value to assign to the in_progress property of this OptimizerStatisticsCollectionAggregationSummary.
- completed (int) – The value to assign to the completed property of this OptimizerStatisticsCollectionAggregationSummary.
- failed (int) – The value to assign to the failed property of this OptimizerStatisticsCollectionAggregationSummary.
- skipped (int) – The value to assign to the skipped property of this OptimizerStatisticsCollectionAggregationSummary.
- timed_out (int) – The value to assign to the timed_out property of this OptimizerStatisticsCollectionAggregationSummary.
- unknown (int) – The value to assign to the unknown property of this OptimizerStatisticsCollectionAggregationSummary.
- total (int) – The value to assign to the total property of this OptimizerStatisticsCollectionAggregationSummary.
-
completed
¶ Gets the completed of this OptimizerStatisticsCollectionAggregationSummary. The number of tasks or objects for which statistics gathering is completed.
Returns: The completed of this OptimizerStatisticsCollectionAggregationSummary. Return type: int
-
failed
¶ Gets the failed of this OptimizerStatisticsCollectionAggregationSummary. The number of tasks or objects for which statistics gathering failed.
Returns: The failed of this OptimizerStatisticsCollectionAggregationSummary. Return type: int
-
group_by
¶ Gets the group_by of this OptimizerStatisticsCollectionAggregationSummary. The optimizer statistics tasks grouped by type.
Allowed values for this property are: “TASK_STATUS”, “TASK_OBJECTS_STATUS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The group_by of this OptimizerStatisticsCollectionAggregationSummary. Return type: str
-
in_progress
¶ Gets the in_progress of this OptimizerStatisticsCollectionAggregationSummary. The number of tasks or objects for which statistics gathering is in progress.
Returns: The in_progress of this OptimizerStatisticsCollectionAggregationSummary. Return type: int
-
pending
¶ Gets the pending of this OptimizerStatisticsCollectionAggregationSummary. The number of tasks or objects for which statistics are yet to be gathered.
Returns: The pending of this OptimizerStatisticsCollectionAggregationSummary. Return type: int
-
skipped
¶ Gets the skipped of this OptimizerStatisticsCollectionAggregationSummary. The number of tasks or objects for which statistics gathering was skipped.
Returns: The skipped of this OptimizerStatisticsCollectionAggregationSummary. Return type: int
-
time_end
¶ Gets the time_end of this OptimizerStatisticsCollectionAggregationSummary. Indicates the end of the hour as the statistics are aggregated per hour.
Returns: The time_end of this OptimizerStatisticsCollectionAggregationSummary. Return type: datetime
-
time_start
¶ [Required] Gets the time_start of this OptimizerStatisticsCollectionAggregationSummary. Indicates the start of the hour as the statistics are aggregated per hour.
Returns: The time_start of this OptimizerStatisticsCollectionAggregationSummary. Return type: datetime
-
timed_out
¶ Gets the timed_out of this OptimizerStatisticsCollectionAggregationSummary. The number of tasks or objects for which statistics gathering timed out.
Returns: The timed_out of this OptimizerStatisticsCollectionAggregationSummary. Return type: int
-
total
¶ Gets the total of this OptimizerStatisticsCollectionAggregationSummary. The total number of tasks or objects for which statistics collection is finished. This number is the sum of all the tasks or objects with various statuses: pending, inProgress, completed, failed, skipped, timedOut, and unknown.
Returns: The total of this OptimizerStatisticsCollectionAggregationSummary. Return type: int
-
unknown
¶ Gets the unknown of this OptimizerStatisticsCollectionAggregationSummary. The number of tasks or objects for which the status of statistics gathering is unknown.
Returns: The unknown of this OptimizerStatisticsCollectionAggregationSummary. Return type: int
-