Skip to content

Commit c05c65e

Browse files
authored
Merge pull request #80881 from ajlam/master
Update iPerf MySQL & MariaDB
2 parents 323766d + 461a873 commit c05c65e

6 files changed

+57
-23
lines changed

articles/mariadb/concepts-performance-recommendations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ author: ajlam
55
ms.author: andrela
66
ms.service: mariadb
77
ms.topic: conceptual
8-
ms.date: 06/12/2019
8+
ms.date: 06/27/2019
99
---
1010
# Performance Recommendations in Azure Database for MariaDB
1111

12-
**Applies to:** Azure Database for MariaDB 10.2s
12+
**Applies to:** Azure Database for MariaDB 10.2
1313

1414
> [!NOTE]
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.
15+
> Performance Recommendations is in preview.
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/mariadb/concepts-query-performance-insight.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,29 @@ author: ajlam
55
ms.author: andrela
66
ms.service: mariadb
77
ms.topic: conceptual
8-
ms.date: 06/12/2019
8+
ms.date: 06/27/2019
99
---
1010
# Query Performance Insight in Azure Database for MariaDB
1111

1212
**Applies to:** Azure Database for MariaDB 10.2
1313

1414
> [!NOTE]
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.
15+
> Query Performance Insight is in preview.
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

19+
## Common scenarios
20+
21+
### Long running queries
22+
23+
- Identifying longest running queries in the past X hours
24+
- Identifying top N queries that are waiting on resources
25+
26+
### Wait statistics
27+
28+
- Understanding wait nature for a query
29+
- Understanding trends for resource waits and where resource contention exists
30+
1931
## Permissions
2032

2133
**Owner** or **Contributor** permissions required to view the text of the queries in Query Performance Insight. **Reader** can view charts and tables but not query text.
@@ -30,12 +42,21 @@ The [Query Performance Insight](concepts-query-performance-insight.md) view in t
3042

3143
In the portal page of your Azure Database for MariaDB server, select **Query Performance Insight** under the **Intelligent Performance** section of the menu bar.
3244

33-
![Query Performance Insight long running queries](./media/concepts-query-performance-insight/query-performance-insight-landing-page.png)
45+
### Long running queries
3446

3547
The **Long running queries** tab shows the top 5 queries by average duration per execution, aggregated in 15-minute intervals. You can view more queries by selecting from the **Number of Queries** drop down. The chart colors may change for a specific Query ID when you do this.
3648

3749
You can click and drag in the chart to narrow down to a specific time window. Alternatively, use the zoom in and out icons to view a smaller or larger time period respectively.
3850

51+
![Query Performance Insight long running queries](./media/concepts-query-performance-insight/query-performance-insight-landing-page.png)
52+
53+
### Wait statistics
54+
55+
> [!NOTE]
56+
> Wait statistics are meant for troubleshooting query performance issues. It is recommended to be turned on only for troubleshooting purposes.
57+
58+
Wait statistics provides a view of the wait events that occur during the execution of a specific query. Learn more about the wait event types in the [MySQL engine documentation](https://go.microsoft.com/fwlink/?linkid=2098206).
59+
3960
Select the **Wait Statistics** tab to view the corresponding visualizations on waits in the server.
4061

4162
Queries displayed in the wait statistics view are grouped by the queries that exhibit the largest waits during the specified time interval.

articles/mariadb/concepts-query-store.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ author: ajlam
55
ms.author: andrela
66
ms.service: mariadb
77
ms.topic: conceptual
8-
ms.date: 06/12/2019
8+
ms.date: 06/27/2019
99
---
1010
# Monitor Azure Database for MariaDB performance with Query Store
1111

1212
**Applies to:** Azure Database for MariaDB 10.2
1313

1414
> [!NOTE]
15-
> Query Store is in preview. Support for Query Store in the Azure portal is being rolled out and may not yet be available in your region.
15+
> Query Store is in preview.
1616
1717
The Query Store feature in Azure Database for Mariadb 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 MariaDB instance.
1818

@@ -23,10 +23,6 @@ Query store can be used in a number of scenarios, including the following:
2323
- Detecting regressed queries
2424
- Determining the number of times a query was executed in a given time window
2525
- Comparing the average execution time of a query across time windows to see large deltas
26-
- Identifying longest running queries in the past X hours
27-
- Identifying top N queries that are waiting on resources
28-
- Understanding wait nature for a query
29-
- Understanding trends for resource waits and where resource contention exists
3026

3127
## Enabling Query Store
3228

articles/mysql/concepts-performance-recommendations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ author: ajlam
55
ms.author: andrela
66
ms.service: mysql
77
ms.topic: conceptual
8-
ms.date: 05/23/2019
8+
ms.date: 06/27/2019
99
---
1010
# Performance Recommendations in Azure Database for MySQL
1111

1212
**Applies to:** Azure Database for MySQL 5.7
1313

1414
> [!NOTE]
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.
15+
> Performance Recommendations is in preview.
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: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,29 @@ author: ajlam
55
ms.author: andrela
66
ms.service: MySQL
77
ms.topic: conceptual
8-
ms.date: 06/05/2019
8+
ms.date: 06/27/2019
99
---
1010
# Query Performance Insight in Azure Database for MySQL
1111

1212
**Applies to:** Azure Database for MySQL 5.7
1313

1414
> [!NOTE]
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.
15+
> Query Performance Insight is in preview.
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

19+
## Common scenarios
20+
21+
### Long running queries
22+
23+
- Identifying longest running queries in the past X hours
24+
- Identifying top N queries that are waiting on resources
25+
26+
### Wait statistics
27+
28+
- Understanding wait nature for a query
29+
- Understanding trends for resource waits and where resource contention exists
30+
1931
## Permissions
2032

2133
**Owner** or **Contributor** permissions required to view the text of the queries in Query Performance Insight. **Reader** can view charts and tables but not query text.
@@ -30,12 +42,21 @@ The [Query Performance Insight](concepts-query-performance-insight.md) view in t
3042

3143
In the portal page of your Azure Database for MySQL server, select **Query Performance Insight** under the **Intelligent Performance** section of the menu bar.
3244

33-
![Query Performance Insight long running queries](./media/concepts-query-performance-insight/query-performance-insight-landing-page.png)
45+
### Long running queries
3446

3547
The **Long running queries** tab shows the top 5 queries by average duration per execution, aggregated in 15-minute intervals. You can view more queries by selecting from the **Number of Queries** drop down. The chart colors may change for a specific Query ID when you do this.
3648

3749
You can click and drag in the chart to narrow down to a specific time window. Alternatively, use the zoom in and out icons to view a smaller or larger time period respectively.
3850

51+
![Query Performance Insight long running queries](./media/concepts-query-performance-insight/query-performance-insight-landing-page.png)
52+
53+
### Wait statistics
54+
55+
> [!NOTE]
56+
> Wait statistics are meant for troubleshooting query performance issues. It is recommended to be turned on only for troubleshooting purposes.
57+
58+
Wait statistics provides a view of the wait events that occur during the execution of a specific query. Learn more about the wait event types in the [MySQL engine documentation](https://go.microsoft.com/fwlink/?linkid=2098206).
59+
3960
Select the **Wait Statistics** tab to view the corresponding visualizations on waits in the server.
4061

4162
Queries displayed in the wait statistics view are grouped by the queries that exhibit the largest waits during the specified time interval.

articles/mysql/concepts-query-store.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ author: ajlam
55
ms.author: andrela
66
ms.service: mysql
77
ms.topic: conceptual
8-
ms.date: 06/05/2019
8+
ms.date: 06/27/2019
99
---
1010
# Monitor Azure Database for MySQL performance with Query Store
1111

1212
**Applies to:** Azure Database for MySQL 5.7
1313

1414
> [!NOTE]
15-
> Query Store is in preview. Support for Query Store in the Azure portal is being rolled out and may not yet be available in your region.
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

@@ -23,10 +23,6 @@ Query store can be used in a number of scenarios, including the following:
2323
- Detecting regressed queries
2424
- Determining the number of times a query was executed in a given time window
2525
- Comparing the average execution time of a query across time windows to see large deltas
26-
- Identifying longest running queries in the past X hours
27-
- Identifying top N queries that are waiting on resources
28-
- Understanding wait nature for a query
29-
- Understanding trends for resource waits and where resource contention exists
3026

3127
## Enabling Query Store
3228

0 commit comments

Comments
 (0)