Query time 0.00040
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.047070462,
"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": 13,
"cost": 0.0129738,
"filtered": 100,
"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.a.option_id", "const"],
"loops": 13,
"rows": 1,
"cost": 0.01244692,
"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.a.option_id"],
"loops": 13,
"rows": 1,
"cost": 0.01335861,
"filtered": 100,
"attached_condition": "c.product_id in (312419,391002,390979,390978,391013,391014,390986,112217,391009,400923,391023,312417,312421,390994,312426,312427,312428,312429,312430,312431,312432,312433,461018,390974,391026,391008,393787,400916,312423,390980,400921,400925,400922,400924,312420,460961,390977,390984,390981,391005,391003,390987,391006,391004,391007,391028,460952,391015)"
}
}
]
}
}
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 |
| 390981 |
2 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
20 |
|
Size |
Apparel Size |
Size |
|
|
|
|