Query time 0.03493
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "12.83"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "3.00"
},
"nested_loop": [
{
"table": {
"table_name": "a",
"access_type": "ALL",
"possible_keys": [
"PRIMARY",
"c_status"
],
"rows_examined_per_scan": 3,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.03",
"eval_cost": "0.60",
"prefix_cost": "2.63",
"data_read_per_join": "9K"
},
"used_columns": [
"option_id",
"product_id",
"option_type",
"inventory",
"regexp",
"required",
"status",
"position",
"value",
"multiupload",
"allowed_extensions",
"max_file_size",
"company_id",
"missing_variants_handling",
"google_export_name_option"
],
"attached_condition": "((`ea201_francemaqu`.`a`.`product_id` in (2939,7153,7718)) and (`ea201_francemaqu`.`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": [
"ea201_francemaqu.a.option_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "0.60",
"prefix_cost": "6.23",
"data_read_per_join": "10K"
},
"used_columns": [
"option_id",
"lang_code",
"option_name",
"option_text",
"description",
"inner_hint",
"incorrect_message",
"comment",
"internal_option_name"
]
}
},
{
"table": {
"table_name": "cscart_ult_objects_sharing",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"share_object_id",
"share_company_id",
"share_object_type"
],
"key_length": "159",
"ref": [
"ea201_francemaqu.a.option_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "3.00",
"eval_cost": "0.60",
"prefix_cost": "9.83",
"data_read_per_join": "480"
},
"used_columns": [
"share_company_id",
"share_object_id",
"share_object_type"
],
"attached_condition": "(`ea201_francemaqu`.`cscart_ult_objects_sharing`.`share_object_id` = `ea201_francemaqu`.`a`.`option_id`)"
}
}
]
}
}
}