Query time 0.00146
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "134.76"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "48.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": 48,
"rows_produced_per_join": 48,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`product_id` in (483096,484420,485179,488380,489140,493656,493657,493659,493665,496303,316212,318856,320173,320737,323374,323379,324139,326770,329980,334696,336580,339971,340537,345252,346580,347890,347892,351091,351855,354498,366372,366378,366935,367695,370900,372215,378259,381450,382770,382780,384856,388059,390136,390138,390696,392775,392781,395971)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "46.44",
"eval_cost": "4.80",
"prefix_cost": "51.24",
"data_read_per_join": "145K"
},
"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": 48,
"filtered": "100.00",
"cost_info": {
"read_cost": "30.72",
"eval_cost": "4.80",
"prefix_cost": "86.76",
"data_read_per_join": "163K"
},
"used_columns": [
"option_id",
"lang_code",
"option_name",
"internal_option_name",
"option_text",
"description",
"comment",
"inner_hint",
"incorrect_message"
]
}
}
]
}
}
}