Query time 0.00063
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 (6736,613,617,3121,3119,5039,5038,5037,5036,5406,6679,5407,5408,4041,6974,7819,7181,7179,1195,1197,1196,6135,6134,6133,2234,2233,6697,4801,4802,5955,5973,5451,5453,5452,5450,5454,5456,5455,5448,5462,5463,5464,5467,5469,5472,5468,5466,5470)) 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"
]
}
}
]
}
}
}