Query time 0.00070
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "10.66"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "7.00"
},
"nested_loop": [
{
"table": {
"table_name": "a",
"access_type": "ALL",
"possible_keys": [
"c_status"
],
"rows_examined_per_scan": 7,
"rows_produced_per_join": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.52",
"eval_cost": "0.70",
"prefix_cost": "1.22",
"data_read_per_join": "16K"
},
"used_columns": [
"option_id",
"product_id",
"company_id",
"option_type",
"inventory",
"regexp",
"required",
"multiupload",
"allowed_extensions",
"max_file_size",
"missing_variants_handling",
"status",
"position",
"value"
],
"attached_condition": "((`maniamall_cscart`.`a`.`product_id` in (507029,1587021,359010,363089,431485,435102,673234,796340,435126,291580,2045191,671448,2071779,1440614,1080125,1302583,1395208,1717787,1717796,410762,1717795,1414296,431403,1395206,2055664,1717793,2055661,1717794,2077225,2045209,1414285,2045210,2045188,2045195,2045197,2089927,2071771,2071769,2071772,410760,412861,410763,1460062,1770704,1460060,1510389,1483807,1700015,2072326,2539826,2596605)) and (`maniamall_cscart`.`a`.`status` = 'A'))"
}
},
{
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"option_id",
"lang_code"
],
"key_length": "9",
"ref": [
"maniamall_cscart.a.option_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.75",
"eval_cost": "0.70",
"prefix_cost": "3.67",
"data_read_per_join": "22K"
},
"used_columns": [
"option_id",
"lang_code",
"option_name",
"option_text",
"description",
"comment",
"inner_hint",
"incorrect_message"
]
}
}
]
}
}
}