Query time 0.00097
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "149.49"
},
"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 (276551,276583,279115,279095,276805,276567,276811,276584,276574,276560,276580,276566,279097,276812,276815,276803,276804,279104,279255,276577,279262,279250,283189,287048,283181,279099,279109,287067,276569,279103,287052,276802,283192,283186,283179,283182,287051,276556,287105,287107,279258,287108,287106,287050,287059,287064,287111,287102)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "58.69",
"eval_cost": "4.80",
"prefix_cost": "63.49",
"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": "33.21",
"eval_cost": "4.80",
"prefix_cost": "101.49",
"data_read_per_join": "163K"
},
"used_columns": [
"option_id",
"lang_code",
"option_name",
"internal_option_name",
"option_text",
"description",
"comment",
"inner_hint",
"incorrect_message"
]
}
}
]
}
}
}