Query time 0.00068
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "14.41"
},
"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": 22,
"rows_produced_per_join": 7,
"filtered": "32.52",
"index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`product_id` in (4024,3649,4026,4025)) and (`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`lang_code` = 'en'))",
"cost_info": {
"read_cost": "10.19",
"eval_cost": "0.72",
"prefix_cost": "10.91",
"data_read_per_join": "5K"
},
"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": [
"softwarepirmam_hewadelivard_cscart_4.pfv.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "40.00",
"cost_info": {
"read_cost": "1.79",
"eval_cost": "0.29",
"prefix_cost": "13.41",
"data_read_per_join": "1K"
},
"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": "(`softwarepirmam_hewadelivard_cscart_4`.`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": [
"softwarepirmam_hewadelivard_cscart_4.pfv.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.72",
"eval_cost": "0.29",
"prefix_cost": "14.42",
"data_read_per_join": "6K"
},
"used_columns": [
"feature_id",
"description",
"full_description",
"prefix",
"suffix",
"lang_code"
]
}
}
]
}
}
Result
| feature_id |
company_id |
feature_type |
parent_id |
display_on_product |
display_on_catalog |
display_on_header |
categories_path |
status |
comparison |
position |
purpose |
feature_style |
filter_style |
feature_code |
description |
lang_code |
prefix |
suffix |
full_description |
value |
variant_id |
value_int |
product_id |
| 657 |
0 |
E |
0 |
Y |
Y |
Y |
|
A |
N |
0 |
organize_catalog |
brand |
checkbox |
Brand |
Brand |
en |
|
|
|
|
3961 |
|
3649 |
| 657 |
0 |
E |
0 |
Y |
Y |
Y |
|
A |
N |
0 |
organize_catalog |
brand |
checkbox |
Brand |
Brand |
en |
|
|
|
|
3961 |
|
4024 |
| 657 |
0 |
E |
0 |
Y |
Y |
Y |
|
A |
N |
0 |
organize_catalog |
brand |
checkbox |
Brand |
Brand |
en |
|
|
|
|
3961 |
|
4025 |
| 657 |
0 |
E |
0 |
Y |
Y |
Y |
|
A |
N |
0 |
organize_catalog |
brand |
checkbox |
Brand |
Brand |
en |
|
|
|
|
3961 |
|
4026 |