Query time 0.00050
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "20.83"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "14.00"
},
"nested_loop": [
{
"table": {
"table_name": "a",
"access_type": "ALL",
"possible_keys": [
"c_status"
],
"rows_examined_per_scan": 14,
"rows_produced_per_join": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.53",
"eval_cost": "1.40",
"prefix_cost": "1.93",
"data_read_per_join": "42K"
},
"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",
"google_export_name_option"
],
"attached_condition": "((`cscart_db`.`a`.`product_id` in (70149,69350,69997,65553,65832,65096,67762,68110,67730,68008,68009,68052,68065,65122,68039,68071,68085,68086,68101,64976,67769,68057,68058,69972,19741,19744,19748,27363,27368,27370,68038,68089,68099,69999,19742,19743,19745,19746,19747,19749,19750,19751,19752,19753,19754,19755,27337,27339,27340,27342,27343,27345,27359,27360,27361,27364,27365,27366,27367,27369,27371,65124,68068,68129,70000,70001,70002,70003,70145,70292,70293,70294,70297,70298)) and (`cscart_db`.`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": [
"cscart_db.a.option_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.50",
"eval_cost": "1.40",
"prefix_cost": "6.83",
"data_read_per_join": "47K"
},
"used_columns": [
"option_id",
"lang_code",
"option_name",
"internal_option_name",
"option_text",
"description",
"comment",
"inner_hint",
"incorrect_message"
]
}
}
]
}
}
}