Query time 0.00037
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "9.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "6.00"
},
"nested_loop": [
{
"table": {
"table_name": "a",
"access_type": "ALL",
"possible_keys": [
"c_status"
],
"rows_examined_per_scan": 6,
"rows_produced_per_join": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.51",
"eval_cost": "0.60",
"prefix_cost": "1.11",
"data_read_per_join": "13K"
},
"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": "((`dbggbern`.`a`.`product_id` in (6303,6304,5801,5802,5800,5799,5803,5804,7197,7195,7196,7190,7189,7194,7191,5032,5033,7674,7675,6967,6966,6645,6644,6647,6648,4352,4354,5391,5392,5388,5390,5389,5396,5395,5394,5034,5035,5030,5031,5168,5169,6982,6132,7150,7149,7148,7151,6768)) and (`dbggbern`.`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": [
"dbggbern.a.option_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.50",
"eval_cost": "0.60",
"prefix_cost": "3.21",
"data_read_per_join": "20K"
},
"used_columns": [
"option_id",
"lang_code",
"option_name",
"internal_option_name",
"option_text",
"description",
"comment",
"inner_hint",
"incorrect_message"
]
}
}
]
}
}
}