Query time 0.00460
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "923.86"
},
"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": 1280,
"rows_produced_per_join": 697,
"filtered": "54.46",
"index_condition": "(`test2_gaseus`.`pfv`.`product_id` in (7272,7273,7274,7275,7276,7277,7347,7348,7349,7350,1329,1325,1327,1328,5075,5071,5073,5074,1333,1331,1332,5077,5078,6714,3687))",
"cost_info": {
"read_cost": "512.55",
"eval_cost": "69.71",
"prefix_cost": "582.26",
"data_read_per_join": "539K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
],
"attached_condition": "(`test2_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": [
"test2_gaseus.pfv.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 278,
"filtered": "40.00",
"cost_info": {
"read_cost": "174.29",
"eval_cost": "27.89",
"prefix_cost": "826.26",
"data_read_per_join": "328K"
},
"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": "(`test2_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": [
"test2_gaseus.pfv.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 278,
"filtered": "100.00",
"cost_info": {
"read_cost": "69.71",
"eval_cost": "27.89",
"prefix_cost": "923.86",
"data_read_per_join": "662K"
},
"used_columns": [
"feature_id",
"description",
"full_description",
"prefix",
"suffix",
"lang_code"
]
}
}
]
}
}