Query time 0.00502
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "934.31"
},
"nested_loop": [
{
"table": {
"table_name": "pfv",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "idx_product_feature_variant_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"rows_examined_per_scan": 1409,
"rows_produced_per_join": 601,
"filtered": "42.69",
"index_condition": "((`gaseus`.`pfv`.`product_id` in (11005,11006,11007,11008,11009,11010,11011,11012,11013,11014,11015,11016,11017,11018,11019,11020,11021,11022,11023,11024,11025,11026)) and (`gaseus`.`pfv`.`lang_code` = 'en'))",
"cost_info": {
"read_cost": "579.41",
"eval_cost": "60.15",
"prefix_cost": "639.56",
"data_read_per_join": "465K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
]
}
},
{
"table": {
"table_name": "pf",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"gaseus.pfv.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 240,
"filtered": "40.00",
"cost_info": {
"read_cost": "150.38",
"eval_cost": "24.06",
"prefix_cost": "850.09",
"data_read_per_join": "283K"
},
"used_columns": [
"feature_id",
"feature_code",
"company_id",
"purpose",
"feature_style",
"filter_style",
"feature_type",
"categories_path",
"parent_id",
"display_on_product",
"display_on_catalog",
"display_on_header",
"status",
"position",
"comparison"
],
"attached_condition": "(`gaseus`.`pf`.`feature_code` in ('Brand','ISBN','GTIN','MPN'))"
}
},
{
"table": {
"table_name": "pfd",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id",
"lang_code"
],
"key_length": "9",
"ref": [
"gaseus.pfv.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 240,
"filtered": "100.00",
"cost_info": {
"read_cost": "60.15",
"eval_cost": "24.06",
"prefix_cost": "934.31",
"data_read_per_join": "571K"
},
"used_columns": [
"feature_id",
"description",
"full_description",
"prefix",
"suffix",
"lang_code"
]
}
}
]
}
}