Class QueryMetrics (0.9.0)

QueryMetrics(mapping=None, *, ignore_unknown_fields=False, **kwargs)

QueryMetrics contains the metrics related to the query execution.

Attributes

Name Description
execution_count int
The number of times the query was executed.
avg_cpu_time google.protobuf.duration_pb2.Duration
The average execution period of the query across all runs.
total_cpu_time google.protobuf.duration_pb2.Duration
The total CPU time consumed by the query across all runs.
rows_processed int
The average number of rows processed by the query across all runs.
metrics_window google.cloud.databasecenter_v1beta.types.QueryMetrics.MetricsWindow
The window over which the metrics are aggregated.

Classes

MetricsWindow

MetricsWindow(value)

Enum to represent the window over which the metrics are aggregated.