-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
RecommendedActionsGet.json
39 lines (39 loc) · 1.44 KB
/
RecommendedActionsGet.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"parameters": {
"api-version": "2018-06-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"resourceGroupName": "testResourceGroupName",
"serverName": "testServerName",
"advisorName": "Index",
"recommendedActionName": "Index-1"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.Sql/servers/testServerName/advisors/Index/recommendedActions/Index-1",
"name": "Index-1",
"type": "Microsoft.DBforMariaDB/servers/advisors/recommendedActions",
"properties": {
"advisorName": "Index",
"sessionId": "c63c2114-e2a4-4c7a-98c1-85577d1a5d50",
"actionId": 1,
"createdTime": "2019-05-01T23:43:24Z",
"expirationTime": "2019-05-08T23:43:24Z",
"reason": "Column `movies_genres`.`movie_id` appear in Join On clause(s).",
"recommendationType": "Add",
"details": {
"engine": "InnoDB",
"script": "alter table `movies`.`movies_genres` add index `idx_movie_id` (`movie_id`)",
"queryIds": "779",
"indexName": "idx_movie_id",
"indexType": "BTREE",
"tableName": "movies_genres",
"schemaName": "movies",
"indexColumns": "`movies_genres`.`movie_id`",
"parentTableName": "movies_genres"
}
}
}
}
}
}