Class MySqlQuerySampleDetails
The details of a query sample including the query text, execution time and other details.
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class MySqlQuerySampleDetails
Properties
ExecutionTime
Declaration
[Required(ErrorMessage = "ExecutionTime is required.")]
[JsonProperty(PropertyName = "executionTime")]
public long? ExecutionTime { get; set; }
Property Value
Type | Description |
---|---|
long? | The total amount of time that has been spent executing the query sample. |
Remarks
Required
Host
Declaration
[Required(ErrorMessage = "Host is required.")]
[JsonProperty(PropertyName = "host")]
public string Host { get; set; }
Property Value
Type | Description |
---|---|
string | The host from which the query sample was run. |
Remarks
Required
MysqlInstance
Declaration
[Required(ErrorMessage = "MysqlInstance is required.")]
[JsonProperty(PropertyName = "mysqlInstance")]
public string MysqlInstance { get; set; }
Property Value
Type | Description |
---|---|
string | The MySQL instance against which the query sample was run. |
Remarks
Required
QuerySampleText
Declaration
[Required(ErrorMessage = "QuerySampleText is required.")]
[JsonProperty(PropertyName = "querySampleText")]
public string QuerySampleText { get; set; }
Property Value
Type | Description |
---|---|
string | The query sample mapped by MySQL to a given normalized query. |
Remarks
Required
ThreadId
Declaration
[Required(ErrorMessage = "ThreadId is required.")]
[JsonProperty(PropertyName = "threadId")]
public int? ThreadId { get; set; }
Property Value
Type | Description |
---|---|
int? | The thread id of the connection. |
Remarks
Required
TimeQuerySampleSeen
Declaration
[Required(ErrorMessage = "TimeQuerySampleSeen is required.")]
[JsonProperty(PropertyName = "timeQuerySampleSeen")]
public DateTime? TimeQuerySampleSeen { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the query sample was last seen. |
Remarks
Required
User
Declaration
[Required(ErrorMessage = "User is required.")]
[JsonProperty(PropertyName = "user")]
public string User { get; set; }
Property Value
Type | Description |
---|---|
string | The user who ran the query sample. |
Remarks
Required