Database Center v1beta API - Class QueryMetrics (1.0.0-beta08)

public sealed class QueryMetrics : IMessage<QueryMetrics>, IEquatable<QueryMetrics>, IDeepCloneable<QueryMetrics>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Center v1beta API class QueryMetrics.

QueryMetrics contains the metrics related to the query execution.

Inheritance

object > QueryMetrics

Namespace

Google.Cloud.DatabaseCenter.V1Beta

Assembly

Google.Cloud.DatabaseCenter.V1Beta.dll

Constructors

QueryMetrics()

public QueryMetrics()

QueryMetrics(QueryMetrics)

public QueryMetrics(QueryMetrics other)
Parameter
Name Description
other QueryMetrics

Properties

AvgCpuTime

public Duration AvgCpuTime { get; set; }

The average execution period of the query across all runs.

Property Value
Type Description
Duration

ExecutionCount

public long ExecutionCount { get; set; }

The number of times the query was executed.

Property Value
Type Description
long

MetricsWindow

public QueryMetrics.Types.MetricsWindow MetricsWindow { get; set; }

The window over which the metrics are aggregated.

Property Value
Type Description
QueryMetricsTypesMetricsWindow

RowsProcessed

public long RowsProcessed { get; set; }

The average number of rows processed by the query across all runs.

Property Value
Type Description
long

TotalCpuTime

public Duration TotalCpuTime { get; set; }

The total CPU time consumed by the query across all runs.

Property Value
Type Description
Duration