OptimizerStatisticsCollectionOperationSummary

class oci.database_management.models.OptimizerStatisticsCollectionOperationSummary(**kwargs)

Bases: object

The summary of the Optimizer Statistics Collection operation.

Attributes:

STATUS_COMPLETED

A constant which can be used with the status property of a OptimizerStatisticsCollectionOperationSummary.

STATUS_FAILED

A constant which can be used with the status property of a OptimizerStatisticsCollectionOperationSummary.

STATUS_IN_PROGRESS

A constant which can be used with the status property of a OptimizerStatisticsCollectionOperationSummary.

STATUS_TIMED_OUT

A constant which can be used with the status property of a OptimizerStatisticsCollectionOperationSummary.

STATUS_UNKNOWN

A constant which can be used with the status property of a OptimizerStatisticsCollectionOperationSummary.

completed_count

Gets the completed_count of this OptimizerStatisticsCollectionOperationSummary.

duration_in_seconds

[Required] Gets the duration_in_seconds of this OptimizerStatisticsCollectionOperationSummary.

end_time

[Required] Gets the end_time of this OptimizerStatisticsCollectionOperationSummary.

failed_count

Gets the failed_count of this OptimizerStatisticsCollectionOperationSummary.

id

[Required] Gets the id of this OptimizerStatisticsCollectionOperationSummary.

in_progress_count

Gets the in_progress_count of this OptimizerStatisticsCollectionOperationSummary.

job_name

[Required] Gets the job_name of this OptimizerStatisticsCollectionOperationSummary.

operation_name

[Required] Gets the operation_name of this OptimizerStatisticsCollectionOperationSummary.

start_time

[Required] Gets the start_time of this OptimizerStatisticsCollectionOperationSummary.

status

[Required] Gets the status of this OptimizerStatisticsCollectionOperationSummary.

target

[Required] Gets the target of this OptimizerStatisticsCollectionOperationSummary.

timed_out_count

Gets the timed_out_count of this OptimizerStatisticsCollectionOperationSummary.

total_objects_count

Gets the total_objects_count of this OptimizerStatisticsCollectionOperationSummary.

Methods:

__init__(**kwargs)

Initializes a new OptimizerStatisticsCollectionOperationSummary object with values from keyword arguments.

STATUS_COMPLETED = 'COMPLETED'

A constant which can be used with the status property of a OptimizerStatisticsCollectionOperationSummary. This constant has a value of “COMPLETED”

STATUS_FAILED = 'FAILED'

A constant which can be used with the status property of a OptimizerStatisticsCollectionOperationSummary. This constant has a value of “FAILED”

STATUS_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the status property of a OptimizerStatisticsCollectionOperationSummary. This constant has a value of “IN_PROGRESS”

STATUS_TIMED_OUT = 'TIMED_OUT'

A constant which can be used with the status property of a OptimizerStatisticsCollectionOperationSummary. This constant has a value of “TIMED_OUT”

STATUS_UNKNOWN = 'UNKNOWN'

A constant which can be used with the status property of a OptimizerStatisticsCollectionOperationSummary. This constant has a value of “UNKNOWN”

__init__(**kwargs)

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

Parameters
  • id (int) – The value to assign to the id property of this OptimizerStatisticsCollectionOperationSummary.

  • operation_name (str) – The value to assign to the operation_name property of this OptimizerStatisticsCollectionOperationSummary.

  • target (str) – The value to assign to the target property of this OptimizerStatisticsCollectionOperationSummary.

  • job_name (str) – The value to assign to the job_name property of this OptimizerStatisticsCollectionOperationSummary.

  • status (str) – The value to assign to the status property of this OptimizerStatisticsCollectionOperationSummary. Allowed values for this property are: “IN_PROGRESS”, “COMPLETED”, “FAILED”, “TIMED_OUT”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • start_time (str) – The value to assign to the start_time property of this OptimizerStatisticsCollectionOperationSummary.

  • end_time (str) – The value to assign to the end_time property of this OptimizerStatisticsCollectionOperationSummary.

  • duration_in_seconds (float) – The value to assign to the duration_in_seconds property of this OptimizerStatisticsCollectionOperationSummary.

  • completed_count (int) – The value to assign to the completed_count property of this OptimizerStatisticsCollectionOperationSummary.

  • in_progress_count (int) – The value to assign to the in_progress_count property of this OptimizerStatisticsCollectionOperationSummary.

  • failed_count (int) – The value to assign to the failed_count property of this OptimizerStatisticsCollectionOperationSummary.

  • timed_out_count (int) – The value to assign to the timed_out_count property of this OptimizerStatisticsCollectionOperationSummary.

  • total_objects_count (int) – The value to assign to the total_objects_count property of this OptimizerStatisticsCollectionOperationSummary.

property completed_count

Gets the completed_count of this OptimizerStatisticsCollectionOperationSummary. The number of objects for which statistics collection is completed.

Returns

The completed_count of this OptimizerStatisticsCollectionOperationSummary.

Return type

int

property duration_in_seconds

[Required] Gets the duration_in_seconds of this OptimizerStatisticsCollectionOperationSummary. The time it takes to complete the operation (in seconds).

Returns

The duration_in_seconds of this OptimizerStatisticsCollectionOperationSummary.

Return type

float

property end_time

[Required] Gets the end_time of this OptimizerStatisticsCollectionOperationSummary. The end time of the operation.

Returns

The end_time of this OptimizerStatisticsCollectionOperationSummary.

Return type

str

property failed_count

Gets the failed_count of this OptimizerStatisticsCollectionOperationSummary. The number of objects for which statistics collection failed.

Returns

The failed_count of this OptimizerStatisticsCollectionOperationSummary.

Return type

int

property id

[Required] Gets the id of this OptimizerStatisticsCollectionOperationSummary. The ID of the operation.

Returns

The id of this OptimizerStatisticsCollectionOperationSummary.

Return type

int

property in_progress_count

Gets the in_progress_count of this OptimizerStatisticsCollectionOperationSummary. The number of objects for which statistics collection is in progress.

Returns

The in_progress_count of this OptimizerStatisticsCollectionOperationSummary.

Return type

int

property job_name

[Required] Gets the job_name of this OptimizerStatisticsCollectionOperationSummary. The name of the job.

Returns

The job_name of this OptimizerStatisticsCollectionOperationSummary.

Return type

str

property operation_name

[Required] Gets the operation_name of this OptimizerStatisticsCollectionOperationSummary. The name of the operation.

Returns

The operation_name of this OptimizerStatisticsCollectionOperationSummary.

Return type

str

property start_time

[Required] Gets the start_time of this OptimizerStatisticsCollectionOperationSummary. The start time of the operation.

Returns

The start_time of this OptimizerStatisticsCollectionOperationSummary.

Return type

str

property status

[Required] Gets the status of this OptimizerStatisticsCollectionOperationSummary. The status of the operation such as Completed, and Failed.

Allowed values for this property are: “IN_PROGRESS”, “COMPLETED”, “FAILED”, “TIMED_OUT”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The status of this OptimizerStatisticsCollectionOperationSummary.

Return type

str

property target

[Required] Gets the target of this OptimizerStatisticsCollectionOperationSummary. The target object type such as Table, Index, and Partition.

Returns

The target of this OptimizerStatisticsCollectionOperationSummary.

Return type

str

property timed_out_count

Gets the timed_out_count of this OptimizerStatisticsCollectionOperationSummary. The number of objects for which statistics collection timed out.

Returns

The timed_out_count of this OptimizerStatisticsCollectionOperationSummary.

Return type

int

property total_objects_count

Gets the total_objects_count of this OptimizerStatisticsCollectionOperationSummary. The total number of objects for which statistics is collected. This number is the sum of all the objects with various statuses: completed, inProgress, failed, and timedOut.

Returns

The total_objects_count of this OptimizerStatisticsCollectionOperationSummary.

Return type

int