Query time 0.00041
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "62.67"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "22.00"
},
"nested_loop": [
{
"table": {
"table_name": "a",
"access_type": "ALL",
"possible_keys": [
"c_status"
],
"rows_examined_per_scan": 53,
"rows_produced_per_join": 22,
"filtered": "41.51",
"cost_info": {
"read_cost": "9.87",
"eval_cost": "4.40",
"prefix_cost": "14.27",
"data_read_per_join": "50K"
},
"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": "((`portal`.`a`.`product_id` in (47544,47645,47646,47649,47651,47652,47656,47660,47676,47677,47678,47686,47690,47692,47693,47697,47698,47699,47700,47701,47703,47771)) and (`portal`.`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": [
"portal.a.option_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 22,
"filtered": "100.00",
"cost_info": {
"read_cost": "22.00",
"eval_cost": "4.40",
"prefix_cost": "40.67",
"data_read_per_join": "74K"
},
"used_columns": [
"option_id",
"lang_code",
"option_name",
"internal_option_name",
"option_text",
"description",
"comment",
"inner_hint",
"incorrect_message"
]
}
}
]
}
}
}