Skip to content

RDS  >  Structures  >  PerformanceInsightsMetricDimensionGroup

PerformanceInsightsMetricDimensionGroup

Structure Class

PerformanceInsightsMetricDimensionGroup dataclass

Bases: _SerdeShape

A logical grouping of Performance Insights metrics for a related subject area. For example, the db.sql dimension group consists of the following dimensions:

  • db.sql.id - The hash of a running SQL statement, generated by Performance Insights.

  • db.sql.db_id - Either the SQL ID generated by the database engine, or a value generated by Performance Insights that begins with pi-.

  • db.sql.statement - The full text of the SQL statement that is running, for example, SELECT * FROM employees.

  • db.sql_tokenized.id - The hash of the SQL digest generated by Performance Insights.

Note

Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.

Attributes

dimensions class-attribute instance-attribute
dimensions: list[str] | None = ...

A list of specific dimensions from a dimension group. If this list isn't included, then all of the dimensions in the group were requested, or are present in the response.

group class-attribute instance-attribute
group: str | None = ...

The available dimension groups for Performance Insights metric type.

limit class-attribute instance-attribute
limit: int | None = ...

The maximum number of items to fetch for this dimension group.