Database Center V1BETA API - Class Google::Cloud::DatabaseCenter::V1beta::QueryMetrics (v0.7.0)

Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::QueryMetrics.

QueryMetrics contains the metrics related to the query execution.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#avg_cpu_time

def avg_cpu_time() -> ::Google::Protobuf::Duration
Returns

#avg_cpu_time=

def avg_cpu_time=(value) -> ::Google::Protobuf::Duration
Parameter
Returns

#execution_count

def execution_count() -> ::Integer
Returns
  • (::Integer) — The number of times the query was executed.

#execution_count=

def execution_count=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of times the query was executed.
Returns
  • (::Integer) — The number of times the query was executed.

#metrics_window

def metrics_window() -> ::Google::Cloud::DatabaseCenter::V1beta::QueryMetrics::MetricsWindow
Returns

#metrics_window=

def metrics_window=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::QueryMetrics::MetricsWindow
Parameter
Returns

#rows_processed

def rows_processed() -> ::Integer
Returns
  • (::Integer) — The average number of rows processed by the query across all runs.

#rows_processed=

def rows_processed=(value) -> ::Integer
Parameter
  • value (::Integer) — The average number of rows processed by the query across all runs.
Returns
  • (::Integer) — The average number of rows processed by the query across all runs.

#total_cpu_time

def total_cpu_time() -> ::Google::Protobuf::Duration
Returns

#total_cpu_time=

def total_cpu_time=(value) -> ::Google::Protobuf::Duration
Parameter
Returns