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

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

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

QueryStats contains the stats for a particular combination of query_hash, query_string and resource_type.

Inheritance

object > QueryStats

Namespace

Google.Cloud.DatabaseCenter.V1Beta

Assembly

Google.Cloud.DatabaseCenter.V1Beta.dll

Constructors

QueryStats()

public QueryStats()

QueryStats(QueryStats)

public QueryStats(QueryStats other)
Parameter
Name Description
other QueryStats

Properties

InefficientQueryInfo

public InefficientQueryInfo InefficientQueryInfo { get; set; }

Information about inefficient query.

Property Value
Type Description
InefficientQueryInfo

NormalizedQuery

public string NormalizedQuery { get; set; }

The query string is normalized query without any PII data.

Property Value
Type Description
string

QueryHash

public string QueryHash { get; set; }

The query hash of the query.

Property Value
Type Description
string

QueryMetrics

public QueryMetrics QueryMetrics { get; set; }

Metrics related to the query performance.

Property Value
Type Description
QueryMetrics

ResourceIds

public RepeatedField<ResourceId> ResourceIds { get; }

The resource ids for which the query stats are collected.

Property Value
Type Description
RepeatedFieldResourceId

ResourceType

public string ResourceType { get; set; }

The type of the resource. sqladmin.googleapis.com/Instance alloydb.googleapis.com/Cluster alloydb.googleapis.com/Instance

Property Value
Type Description
string

ResourceTypeAsResourceName

public IResourceName ResourceTypeAsResourceName { get; set; }

IResourceName-typed view over the ResourceType resource name property.

Property Value
Type Description
IResourceName