Query time 0.00174
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "29.82"
},
"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": 28,
"rows_produced_per_join": 27,
"filtered": "99.94",
"index_condition": "(`dev_yourmart_co_bw`.`pfv`.`product_id` in (11229,11242,11241,11240,11239,11238,11237,11236,11235,11234,11233,11232,11231,11230))",
"cost_info": {
"read_cost": "13.31",
"eval_cost": "2.80",
"prefix_cost": "16.11",
"data_read_per_join": "21K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
],
"attached_condition": "(`dev_yourmart_co_bw`.`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": [
"dev_yourmart_co_bw.pfv.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "40.00",
"cost_info": {
"read_cost": "7.00",
"eval_cost": "1.12",
"prefix_cost": "25.90",
"data_read_per_join": "4K"
},
"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": "(`dev_yourmart_co_bw`.`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": [
"dev_yourmart_co_bw.pfv.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.80",
"eval_cost": "1.12",
"prefix_cost": "29.82",
"data_read_per_join": "25K"
},
"used_columns": [
"feature_id",
"description",
"full_description",
"prefix",
"suffix",
"lang_code"
]
}
}
]
}
}