Skip to content

Commit 51cdc7e

Browse files
committed
Add deployment disclaimer, update table format
1 parent 92417b7 commit 51cdc7e

File tree

3 files changed

+42
-41
lines changed

3 files changed

+42
-41
lines changed

articles/mysql/concepts-performance-recommendations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.date: 05/23/2019
1212
**Applies to:** Azure Database for MySQL 5.7
1313

1414
> [!NOTE]
15-
> Performance Recommendations is in public preview.
15+
> Performance Recommendations is in preview. Support for Performance Recommendations in the Azure portal is being rolled out and may not yet be available in your region.
1616
1717
The Performance Recommendations feature analyzes your databases to create customized suggestions for improved performance. To produce the recommendations, the analysis looks at various database characteristics including schema. Enable [Query Store](concepts-query-store.md) on your server to fully utilize the Performance Recommendations feature. If performance schema is OFF, turning on Query Store enables performance_schema and a subset of performance schema instruments required for the feature. After implementing any performance recommendation, you should test performance to evaluate the impact of those changes.
1818

articles/mysql/concepts-query-performance-insight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.date: 06/05/2019
1212
**Applies to:** Azure Database for MySQL 5.7
1313

1414
> [!NOTE]
15-
> Query Performance Insight is in public preview.
15+
> Query Performance Insight is in preview. Support for Query Performance Insight in the Azure portal is being rolled out and may not yet be available in your region.
1616
1717
Query Performance Insight helps you to quickly identify what your longest running queries are, how they change over time, and what waits are affecting them.
1818

articles/mysql/concepts-query-store.md

Lines changed: 40 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.date: 06/05/2019
1212
**Applies to:** Azure Database for MySQL 5.7
1313

1414
> [!NOTE]
15-
> Query Store is in public preview.
15+
> Query Store is in preview.
1616
1717
The Query Store feature in Azure Database for MySQL provides a way to track query performance over time. Query Store simplifies performance troubleshooting by helping you quickly find the longest running and most resource-intensive queries. Query Store automatically captures a history of queries and runtime statistics, and it retains them for your review. It separates data by time windows so that you can see database usage patterns. Data for all users, databases, and queries is stored in the **mysql** schema database in the Azure Database for MySQL instance.
1818

@@ -116,56 +116,56 @@ This view returns all the data in Query Store. There is one row for each distinc
116116

117117
| **Name** | **Data Type** | **IS_NULLABLE** | **Description** |
118118
|---|---|---|---|
119-
| schema_name| varchar| NO | Name of the schema |
120-
| query_id| bigint | NO| Unique ID generated for the specific query, if the same query executes in different schema, a new ID will be generated |
121-
| timestamp_id | timestamp| NO| Timestamp in which the query is executed. This is based on the query_store_interval configuration|
122-
| query_digest_text| longtext| NO| The normalized query text after removing all the literals|
123-
| query_text | longtext| NO| First appearance of the actual query with literals|
124-
| query_digest_truncated | bit| YES| Whether the query text has been truncated. Value will be Yes if the query is longer than 1 KB|
125-
| execution_count | bigint| NO| The number of times the query got executed for this timestamp ID / during the configured interval period|
126-
| warning_count | bigint| NO| Number of warnings this query generated during the internal|
127-
| error_count | bigint| NO| Number of errors this query generated during the interval|
128-
| sum_timer_wait | double| YES| Total execution time of this query during the interval|
129-
| avg_timer_wait | double| YES| Average execution time for this query during the interval|
130-
| min_timer_wait | double| YES| Minimum execution time for this query|
131-
| max_timer_wait | double| YES| Maximum execution time|
132-
| sum_lock_time | bigint| NO| Total amount of time spent for all the locks for this query execution during this time window|
133-
| sum_rows_affected | bigint| NO| Number of rows affected|
134-
| sum_rows_sent | bigint| NO| Number of rows sent to client|
135-
| sum_rows_examined | bigint| NO| Number of rows examined|
136-
| sum_select_full_join | bigint| NO| Number of full joins|
137-
| sum_select_scan | bigint| NO| No, of select scans|
138-
| sum_sort_rows | bigint| NO| Number of rows sorted|
139-
| sum_no_index_used | bigint| NO| Number of times when the query did not use any indexes|
140-
| sum_no_good_index_used | bigint| NO| Number of times when the query execution engine did not use any good indexes|
141-
| sum_created_tmp_tables | bigint| NO| Total number of temp tables created|
142-
| sum_created_tmp_disk_tables | bigint| NO| Total number of temp tables created in disk (generates I/O)|
143-
| first_seen | timestamp| NO| The first occurrence (UTC) of the query during the aggregation window|
144-
| last_seen | timestamp| NO| The last occurrence (UTC) of the query during this aggregation window|
119+
| `schema_name`| varchar(64) | NO | Name of the schema |
120+
| `query_id`| bigint(20) | NO| Unique ID generated for the specific query, if the same query executes in different schema, a new ID will be generated |
121+
| `timestamp_id` | timestamp| NO| Timestamp in which the query is executed. This is based on the query_store_interval configuration|
122+
| `query_digest_text`| longtext| NO| The normalized query text after removing all the literals|
123+
| `query_sample_text` | longtext| NO| First appearance of the actual query with literals|
124+
| `query_digest_truncated` | bit| YES| Whether the query text has been truncated. Value will be Yes if the query is longer than 1 KB|
125+
| `execution_count` | bigint(20)| NO| The number of times the query got executed for this timestamp ID / during the configured interval period|
126+
| `warning_count` | bigint(20)| NO| Number of warnings this query generated during the internal|
127+
| `error_count` | bigint(20)| NO| Number of errors this query generated during the interval|
128+
| `sum_timer_wait` | double| YES| Total execution time of this query during the interval|
129+
| `avg_timer_wait` | double| YES| Average execution time for this query during the interval|
130+
| `min_timer_wait` | double| YES| Minimum execution time for this query|
131+
| `max_timer_wait` | double| YES| Maximum execution time|
132+
| `sum_lock_time` | bigint(20)| NO| Total amount of time spent for all the locks for this query execution during this time window|
133+
| `sum_rows_affected` | bigint(20)| NO| Number of rows affected|
134+
| `sum_rows_sent` | bigint(20)| NO| Number of rows sent to client|
135+
| `sum_rows_examined` | bigint(20)| NO| Number of rows examined|
136+
| `sum_select_full_join` | bigint(20)| NO| Number of full joins|
137+
| `sum_select_scan` | bigint(20)| NO| Number of select scans |
138+
| `sum_sort_rows` | bigint(20)| NO| Number of rows sorted|
139+
| `sum_no_index_used` | bigint(20)| NO| Number of times when the query did not use any indexes|
140+
| `sum_no_good_index_used` | bigint(20)| NO| Number of times when the query execution engine did not use any good indexes|
141+
| `sum_created_tmp_tables` | bigint(20)| NO| Total number of temp tables created|
142+
| `sum_created_tmp_disk_tables` | bigint(20)| NO| Total number of temp tables created in disk (generates I/O)|
143+
| `first_seen` | timestamp| NO| The first occurrence (UTC) of the query during the aggregation window|
144+
| `last_seen` | timestamp| NO| The last occurrence (UTC) of the query during this aggregation window|
145145

146146
### mysql.query_store_wait_stats
147147

148148
This view returns wait events data in Query Store. There is one row for each distinct database ID, user ID, query ID, and event.
149149

150150
| **Name**| **Data Type** | **IS_NULLABLE** | **Description** |
151151
|---|---|---|---|
152-
| interval_start | timestamp | NO| Start of the interval (15-minute increment)|
153-
| interval_end | timestamp | NO| End of the interval (15-minute increment)|
154-
| query_id | bigint(20) | NO| Generated unique ID on the normalized query (from query store)|
155-
| query_digest_id | varchar(32) | NO| The normalized query text after removing all the literals (from query store) |
156-
| query_digest_text | longtext | NO| First appearance of the actual query with literals (from query store) |
157-
| event_type | varchar(32) | NO| Category of the wait event |
158-
| event_name | varchar(128) | NO| Name of the wait event |
159-
| count_star | bigint(20) | NO| Number of wait events sampled during the interval for the query |
160-
| sum_timer_wait_ms | double | NO| Total wait time (in milliseconds) of this query during the interval |
152+
| `interval_start` | timestamp | NO| Start of the interval (15-minute increment)|
153+
| `interval_end` | timestamp | NO| End of the interval (15-minute increment)|
154+
| `query_id` | bigint(20) | NO| Generated unique ID on the normalized query (from query store)|
155+
| `query_digest_id` | varchar(32) | NO| The normalized query text after removing all the literals (from query store) |
156+
| `query_digest_text` | longtext | NO| First appearance of the actual query with literals (from query store) |
157+
| `event_type` | varchar(32) | NO| Category of the wait event |
158+
| `event_name` | varchar(128) | NO| Name of the wait event |
159+
| `count_star` | bigint(20) | NO| Number of wait events sampled during the interval for the query |
160+
| `sum_timer_wait_ms` | double | NO| Total wait time (in milliseconds) of this query during the interval |
161161

162162
### Functions
163163

164164
| **Name**| **Description** |
165165
|---|---|
166-
| mysql.az_purge_querystore_data(TIMESTAMP) | Purges all query store data before the given time stamp |
167-
| mysql.az_procedure_purge_querystore_event(TIMESTAMP) | Purges all wait event data before the given time stamp |
168-
| mysql.az_procedure_purge_recommendation(TIMESTAMP) | Purges recommendations whose expiration is before the given time stamp |
166+
| `mysql.az_purge_querystore_data(TIMESTAMP)` | Purges all query store data before the given time stamp |
167+
| `mysql.az_procedure_purge_querystore_event(TIMESTAMP)` | Purges all wait event data before the given time stamp |
168+
| `mysql.az_procedure_purge_recommendation(TIMESTAMP)` | Purges recommendations whose expiration is before the given time stamp |
169169

170170
## Limitations and known issues
171171

@@ -175,4 +175,5 @@ This view returns wait events data in Query Store. There is one row for each dis
175175
- Wait statistics uses sample ti capture a fraction of events. The frequency can be modified using the parameter `query_store_wait_sampling_frequency`.
176176

177177
## Next steps
178+
178179
- Learn more about [Query Performance Insights](concepts-query-performance-insight.md)

0 commit comments

Comments
 (0)