Query time 0.00838
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.02998589,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "a.position",
"table": {
"table_name": "a",
"access_type": "ALL",
"possible_keys": ["PRIMARY", "c_status"],
"loops": 1,
"rows": 10,
"cost": 0.01159965,
"filtered": 100,
"attached_condition": "a.product_id = 0 and a.`status` = 'A'"
}
}
}
},
{
"table": {
"table_name": "c",
"access_type": "ref",
"possible_keys": ["PRIMARY", "product_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["option_id"],
"ref": ["tmall.a.option_id"],
"loops": 10,
"rows": 1,
"cost": 0.00744492,
"filtered": 45.45454407,
"attached_condition": "c.product_id in (241,240,247,223,225,224)",
"using_index": true
}
},
{
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["option_id", "lang_code"],
"ref": ["tmall.a.option_id", "const"],
"loops": 4.545454545,
"rows": 1,
"cost": 0.008064009,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'en')"
}
}
]
}
}
Result
| cur_product_id |
option_id |
product_id |
company_id |
option_type |
regexp |
required |
multiupload |
allowed_extensions |
max_file_size |
missing_variants_handling |
status |
position |
value |
option_name |
internal_option_name |
option_text |
description |
inner_hint |
incorrect_message |
comment |
| 240 |
11 |
0 |
1 |
C |
|
N |
N |
|
0 |
M |
A |
0 |
|
3G Connectivity |
Apple iPad 3G |
|
|
|
|
|
| 241 |
13 |
0 |
1 |
C |
|
N |
N |
|
0 |
M |
A |
0 |
|
3G Connectivity |
Apple 3G |
|
|
|
|
|
| 240 |
14 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
0 |
|
Memory capacity |
Memory capacity |
|
|
|
|
|
| 241 |
14 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
0 |
|
Memory capacity |
Memory capacity |
|
|
|
|
|
| 247 |
14 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
0 |
|
Memory capacity |
Memory capacity |
|
|
|
|
|
| 247 |
15 |
0 |
1 |
C |
|
N |
N |
|
0 |
M |
A |
0 |
|
3G Connectivity |
Nokia 3G |
|
|
|
|
|
| 247 |
1 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
10 |
|
Color |
Monotone color |
Color |
|
|
|
|