Query time 0.00064
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 (522515,241391,1118346,687122,1274272,528832,697795,1108774,1274284,480529,436978,1133394,749157,1732209,611344,1314910,525901,1117762,1313264,611343,1114057,611248,1108257,1444123,563390,612918,1232953,459118,431479,697492,1108259,697773,1108367,1395677,1439066,1903044,696339,1395695,1001748,1026639,1439065,1108324,1032954,1313265,1026634,1108375,1214998,1192887,1058712,880662,612860,410762,1108255,1029048,698147,1118377,697683,1313266,591543,611228,1026635,611260,697649,1006064)) 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"
]
}
}
]
}
}
}