-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsubq11_sj_duplicate-weedout_exp.sql.json
66 lines (66 loc) · 1.64 KB
/
subq11_sj_duplicate-weedout_exp.sql.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "8.05"
},
"duplicates_removal": {
"using_temporary_table": true,
"nested_loop": [
{
"table": {
"table_name": "a",
"access_type": "ALL",
"possible_keys": [
"dept_no"
],
"rows_examined_per_scan": 24,
"rows_produced_per_join": 7,
"filtered": "33.33",
"cost_info": {
"read_cost": "1.85",
"eval_cost": "0.80",
"prefix_cost": "2.65",
"data_read_per_join": "255"
},
"used_columns": [
"dept_no",
"from_date"
],
"attached_condition": "(`employees`.`a`.`from_date` >= DATE'1995-01-01')"
}
},
{
"table": {
"table_name": "d",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"dept_no"
],
"key_length": "16",
"ref": [
"employees.a.dept_no"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.00",
"eval_cost": "0.80",
"prefix_cost": "8.05",
"data_read_per_join": "1K"
},
"used_columns": [
"dept_no",
"dept_name"
]
}
}
]
}
}
}