Query time 0.00138
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "214.18"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "75.00"
},
"nested_loop": [
{
"table": {
"table_name": "a",
"access_type": "range",
"possible_keys": [
"c_status"
],
"key": "c_status",
"used_key_parts": [
"product_id",
"status"
],
"key_length": "6",
"rows_examined_per_scan": 75,
"rows_produced_per_join": 75,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`product_id` in (284648,282838,282836,278049,275782,272636,269248,266156,265783,266092,265784,258086,252518,257589,256790,256001,252277,242304,239493,237409,235920,231091,227946,224968,226497,225207,225304,225273,204337,201932,197488,196621,196622,201889,192454,193258,192450,108385,144425,175093,167561,167552,161993,167239,166202,165403,165290,164900,164913,161865,164905,162133,164899,160627,156319,132617,139306,120811,139394,132610,139524,131992,127555,126324,126318,126321,108204,114844,120905,108233,120730,108232,120456,108246,108180)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "76.39",
"eval_cost": "7.50",
"prefix_cost": "83.89",
"data_read_per_join": "227K"
},
"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",
"etsy_prop_id"
]
}
},
{
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"option_id",
"lang_code"
],
"key_length": "9",
"ref": [
"goimagine.a.option_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 75,
"filtered": "100.00",
"cost_info": {
"read_cost": "47.80",
"eval_cost": "7.50",
"prefix_cost": "139.18",
"data_read_per_join": "254K"
},
"used_columns": [
"option_id",
"lang_code",
"option_name",
"internal_option_name",
"option_text",
"description",
"comment",
"inner_hint",
"incorrect_message"
]
}
}
]
}
}
}