Class OptimizerStatisticsCollectionOperation
The summary of the Optimizer Statistics Collection tasks, which includes details of the Managed Database and the execution.
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class OptimizerStatisticsCollectionOperation
Properties
CompletedCount
Declaration
[JsonProperty(PropertyName = "completedCount")]
public int? CompletedCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of objects for which statistics collection is completed. |
Database
Declaration
[JsonProperty(PropertyName = "database")]
public OptimizerDatabase Database { get; set; }
Property Value
Type | Description |
---|---|
OptimizerDatabase |
DurationInSeconds
Declaration
[Required(ErrorMessage = "DurationInSeconds is required.")]
[JsonProperty(PropertyName = "durationInSeconds")]
public decimal? DurationInSeconds { get; set; }
Property Value
Type | Description |
---|---|
decimal? | The time it takes to complete the operation (in seconds). |
Remarks
Required
EndTime
Declaration
[Required(ErrorMessage = "EndTime is required.")]
[JsonProperty(PropertyName = "endTime")]
public string EndTime { get; set; }
Property Value
Type | Description |
---|---|
string | The end time of the operation. |
Remarks
Required
FailedCount
Declaration
[JsonProperty(PropertyName = "failedCount")]
public int? FailedCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of objects for which statistics collection failed. |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public int? Id { get; set; }
Property Value
Type | Description |
---|---|
int? | The ID of the operation. |
Remarks
Required
InProgressCount
Declaration
[JsonProperty(PropertyName = "inProgressCount")]
public int? InProgressCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of objects for which statistics collection is in progress. |
JobName
Declaration
[Required(ErrorMessage = "JobName is required.")]
[JsonProperty(PropertyName = "jobName")]
public string JobName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the job. |
Remarks
Required
OperationName
Declaration
[Required(ErrorMessage = "OperationName is required.")]
[JsonProperty(PropertyName = "operationName")]
public string OperationName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the operation. |
Remarks
Required
StartTime
Declaration
[Required(ErrorMessage = "StartTime is required.")]
[JsonProperty(PropertyName = "startTime")]
public string StartTime { get; set; }
Property Value
Type | Description |
---|---|
string | The start time of the operation. |
Remarks
Required
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public OptimizerStatisticsCollectionOperation.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
OptimizerStatisticsCollectionOperation.StatusEnum? | The status of the operation such as Completed, and Failed. |
Remarks
Required
Target
Declaration
[Required(ErrorMessage = "Target is required.")]
[JsonProperty(PropertyName = "target")]
public string Target { get; set; }
Property Value
Type | Description |
---|---|
string | The target object type such as Table, Index, and Partition. |
Remarks
Required
Tasks
Declaration
[JsonProperty(PropertyName = "tasks")]
public List<OptimizerStatisticsOperationTask> Tasks { get; set; }
Property Value
Type | Description |
---|---|
List<OptimizerStatisticsOperationTask> | An array of Optimizer Statistics Collection task details. |
TimedOutCount
Declaration
[JsonProperty(PropertyName = "timedOutCount")]
public int? TimedOutCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of objects for which statistics collection timed out. |
TotalObjectsCount
Declaration
[JsonProperty(PropertyName = "totalObjectsCount")]
public int? TotalObjectsCount { get; set; }
Property Value
Type | Description |
---|---|
int? | 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. |