Query time 0.00067
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 (104,2593,2711,2710,2693,2709,2976,2735,2694,3187,2990,4735,2991,2989,863,1478,1479,781,862,3175,7926,1480,1482,2446,1481,6430,6431,7254,7255,4050,4051,4602,4049,4034,4048,4419,4601,4422,4418,4421,4420,4423,4600,5961,5960,5958,5959,5213,621,860,619,861,5653,59,122,5662,61,2992,5663,123,63,58,121,124,62,785,784,786,782,787,783,1511,3586,1924,1773,3665,3666,4625,6421,7262,5971,1727,5957,6422,6423,6424,7252,7253,7250,6717,6719,6718,7251,4614,3869,1772)) 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"
]
}
}
]
}
}
}