Query time 0.00060
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.083832768,
"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": 15,
"cost": 0.0132998,
"filtered": 93.33333588,
"attached_condition": "a.product_id = 0 and a.`status` = 'A'"
}
}
}
},
{
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["option_id", "lang_code"],
"ref": ["u985510652_ecartify_abhi.a.option_id", "const"],
"loops": 14,
"rows": 1,
"cost": 0.01334136,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'en')"
}
},
{
"table": {
"table_name": "c",
"access_type": "ref",
"possible_keys": ["PRIMARY", "product_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["option_id"],
"ref": ["u985510652_ecartify_abhi.a.option_id"],
"loops": 14,
"rows": 4,
"cost": 0.02116918,
"filtered": 50,
"attached_condition": "c.product_id in (78,79,11,41,81,107,109,91,92,34,15,31,38,80,102,28,280,282,2509,2503,2497,2506,278,2500,3457,7,27)"
}
}
]
}
}
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 |
ali_option_id |
sg_ali_option_id |
option_name |
internal_option_name |
option_text |
description |
inner_hint |
incorrect_message |
comment |
| 7 |
10 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
0 |
|
0 |
0 |
Color |
Adidas hoodie color |
|
|
|
|
|
| 11 |
1 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
10 |
|
0 |
0 |
Color |
Monotone color |
Color |
|
|
|
|
| 7 |
2 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
0 |
0 |
Size |
Apparel Size |
Size |
|
|
|
|
| 11 |
2 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
0 |
0 |
Size |
Apparel Size |
Size |
|
|
|
|
| 15 |
2 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
0 |
0 |
Size |
Apparel Size |
Size |
|
|
|
|
| 27 |
2 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
0 |
0 |
Size |
Apparel Size |
Size |
|
|
|
|
| 28 |
2 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
0 |
0 |
Size |
Apparel Size |
Size |
|
|
|
|
| 31 |
2 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
0 |
0 |
Size |
Apparel Size |
Size |
|
|
|
|
| 34 |
2 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
0 |
0 |
Size |
Apparel Size |
Size |
|
|
|
|
| 38 |
2 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
0 |
0 |
Size |
Apparel Size |
Size |
|
|
|
|
| 41 |
2 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
0 |
0 |
Size |
Apparel Size |
Size |
|
|
|
|