Query time 0.00438
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "988.36"
},
"nested_loop": [
{
"table": {
"table_name": "pfv",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "product_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"rows_examined_per_scan": 1491,
"rows_produced_per_join": 636,
"filtered": "42.69",
"index_condition": "(`gaseus`.`pfv`.`product_id` in (11106,11107,11105,11104,11103,11102,11101,11100,11099,11098,11097,11096,11095,11094,11093,11092,11091,11090,11089,11110,11109,11108))",
"cost_info": {
"read_cost": "612.81",
"eval_cost": "63.65",
"prefix_cost": "676.46",
"data_read_per_join": "492K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
],
"attached_condition": "(`gaseus`.`pfv`.`lang_code` = 'en')"
}
},
{
"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": 254,
"filtered": "40.00",
"cost_info": {
"read_cost": "159.13",
"eval_cost": "25.46",
"prefix_cost": "899.25",
"data_read_per_join": "300K"
},
"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": 254,
"filtered": "100.00",
"cost_info": {
"read_cost": "63.65",
"eval_cost": "25.46",
"prefix_cost": "988.36",
"data_read_per_join": "604K"
},
"used_columns": [
"feature_id",
"description",
"full_description",
"prefix",
"suffix",
"lang_code"
]
}
}
]
}
}