You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/mariadb/concepts-performance-recommendations.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,14 @@ author: ajlam
5
5
ms.author: andrela
6
6
ms.service: mariadb
7
7
ms.topic: conceptual
8
-
ms.date: 06/12/2019
8
+
ms.date: 06/27/2019
9
9
---
10
10
# Performance Recommendations in Azure Database for MariaDB
11
11
12
-
**Applies to:** Azure Database for MariaDB 10.2s
12
+
**Applies to:** Azure Database for MariaDB 10.2
13
13
14
14
> [!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.
16
16
17
17
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.
Copy file name to clipboardExpand all lines: articles/mariadb/concepts-query-performance-insight.md
+24-3Lines changed: 24 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,29 @@ author: ajlam
5
5
ms.author: andrela
6
6
ms.service: mariadb
7
7
ms.topic: conceptual
8
-
ms.date: 06/12/2019
8
+
ms.date: 06/27/2019
9
9
---
10
10
# Query Performance Insight in Azure Database for MariaDB
11
11
12
12
**Applies to:** Azure Database for MariaDB 10.2
13
13
14
14
> [!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.
16
16
17
17
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.
18
18
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
+
19
31
## Permissions
20
32
21
33
**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
30
42
31
43
In the portal page of your Azure Database for MariaDB server, select **Query Performance Insight** under the **Intelligent Performance** section of the menu bar.
32
44
33
-

45
+
### Long running queries
34
46
35
47
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.
36
48
37
49
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.
38
50
51
+

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
+
39
60
Select the **Wait Statistics** tab to view the corresponding visualizations on waits in the server.
40
61
41
62
Queries displayed in the wait statistics view are grouped by the queries that exhibit the largest waits during the specified time interval.
Copy file name to clipboardExpand all lines: articles/mariadb/concepts-query-store.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,14 @@ author: ajlam
5
5
ms.author: andrela
6
6
ms.service: mariadb
7
7
ms.topic: conceptual
8
-
ms.date: 06/12/2019
8
+
ms.date: 06/27/2019
9
9
---
10
10
# Monitor Azure Database for MariaDB performance with Query Store
11
11
12
12
**Applies to:** Azure Database for MariaDB 10.2
13
13
14
14
> [!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.
16
16
17
17
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.
18
18
@@ -23,10 +23,6 @@ Query store can be used in a number of scenarios, including the following:
23
23
- Detecting regressed queries
24
24
- Determining the number of times a query was executed in a given time window
25
25
- 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
0 commit comments