Query time 0.00304
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "67.08"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "v",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"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": 108,
"rows_produced_per_join": 35,
"filtered": "32.51",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (6245,6253,6241,6207,6220,6243))",
"cost_info": {
"read_cost": "46.60",
"eval_cost": "3.51",
"prefix_cost": "50.11",
"data_read_per_join": "27K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
],
"attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'ar') and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))"
}
},
{
"table": {
"table_name": "f",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"status"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.v.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "9.53",
"cost_info": {
"read_cost": "8.78",
"eval_cost": "0.33",
"prefix_cost": "62.40",
"data_read_per_join": "1K"
},
"used_columns": [
"feature_id",
"feature_type",
"categories_path",
"parent_id",
"display_on_catalog",
"status",
"position"
],
"attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`f`.`status` = 'A') and (`softwarepirmam_hewadelivard_cscart_4`.`f`.`display_on_catalog` = 'Y') and ((`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path` = '') or (0 <> find_in_set(250,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(553,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(554,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(372,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(552,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(556,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`))) and (if(`softwarepirmam_hewadelivard_cscart_4`.`f`.`parent_id`,(/* select#2 */ select `softwarepirmam_hewadelivard_cscart_4`.`df`.`status` from `softwarepirmam_hewadelivard_cscart_4`.`cscart_product_features` `df` where (`softwarepirmam_hewadelivard_cscart_4`.`df`.`feature_id` = `softwarepirmam_hewadelivard_cscart_4`.`f`.`parent_id`)),'A') = 'A') and ((`softwarepirmam_hewadelivard_cscart_4`.`v`.`variant_id` <> 0) or ((`softwarepirmam_hewadelivard_cscart_4`.`f`.`feature_type` <> 'C') and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`value` <> '')) or (`softwarepirmam_hewadelivard_cscart_4`.`f`.`feature_type` = 'C') or (`softwarepirmam_hewadelivard_cscart_4`.`v`.`value_int` <> 0)))",
"attached_subqueries": [
{
"dependent": true,
"cacheable": false,
"query_block": {
"select_id": 2,
"cost_info": {
"query_cost": "0.35"
},
"table": {
"table_name": "df",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.f.parent_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "0.35",
"data_read_per_join": "440"
},
"used_columns": [
"feature_id",
"status"
]
}
}
}
]
}
},
{
"table": {
"table_name": "fd",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id",
"lang_code"
],
"key_length": "9",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.v.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.84",
"eval_cost": "0.33",
"prefix_cost": "63.57",
"data_read_per_join": "7K"
},
"used_columns": [
"feature_id",
"description",
"prefix",
"suffix",
"lang_code"
]
}
},
{
"table": {
"table_name": "fv",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.v.variant_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.84",
"eval_cost": "0.33",
"prefix_cost": "64.74",
"data_read_per_join": "3K"
},
"used_columns": [
"variant_id",
"position"
]
}
},
{
"table": {
"table_name": "vd",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id",
"lang_code"
],
"key_length": "9",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.fv.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.84",
"eval_cost": "0.33",
"prefix_cost": "65.91",
"data_read_per_join": "10K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
},
{
"table": {
"table_name": "gf",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.f.parent_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.84",
"eval_cost": "0.33",
"prefix_cost": "67.08",
"data_read_per_join": "1K"
},
"used_columns": [
"feature_id",
"feature_type",
"position"
],
"attached_condition": "<if>(is_not_null_compl(gf), (`softwarepirmam_hewadelivard_cscart_4`.`gf`.`feature_type` = 'G'), true)"
}
}
]
}
}
}
Result
| product_id |
feature_id |
value |
value_int |
variant_id |
feature_type |
description |
prefix |
suffix |
variant |
parent_id |
position |
gposition |
| 6207 |
760 |
|
|
7872 |
S |
Bean Hopper Capacity |
|
|
Approx. 250g |
0 |
0 |
|
| 6253 |
760 |
|
|
7872 |
S |
Bean Hopper Capacity |
|
|
Approx. 250g |
0 |
0 |
|
| 6245 |
760 |
|
|
7941 |
S |
Bean Hopper Capacity |
|
|
None- does not have a built-in grinder |
0 |
0 |
|
| 6241 |
760 |
|
|
7935 |
S |
Bean Hopper Capacity |
|
|
Uses pre-ground coffee; so no been hopper |
0 |
0 |
|
| 6207 |
732 |
|
|
7873 |
S |
Coffee & Drink Options |
|
|
Espresso, double espresso, hot water, steam (manual milk frothing for cappuccino/latte) |
0 |
0 |
|
| 6253 |
732 |
|
|
7948 |
S |
Coffee & Drink Options |
|
|
Espresso, Double Espresso, Hot Water, Steam (Manual Milk Frothing) |
0 |
0 |
|
| 6245 |
732 |
|
|
7942 |
S |
Coffee & Drink Options |
|
|
Drip Coffee only |
0 |
0 |
|
| 6241 |
732 |
|
|
7936 |
S |
Coffee & Drink Options |
|
|
Drip coffee only (filter coffee) |
0 |
0 |
|
| 6253 |
757 |
|
|
7949 |
S |
Grinder Type & Settings |
|
|
Integrated stainless steel conical burr grinder with adjustable grind settings, allowing for a super-fine grind suitable for espresso. |
0 |
0 |
|
| 6207 |
757 |
|
|
7874 |
S |
Grinder Type & Settings |
|
|
Integrated conical burr grinder, adjustable grind size and dose |
0 |
0 |
|
| 6245 |
757 |
|
|
7943 |
S |
Grinder Type & Settings |
|
|
No grinder |
0 |
0 |
|
| 6241 |
757 |
|
|
7937 |
S |
Grinder Type & Settings |
|
|
None |
0 |
0 |
|
| 6253 |
758 |
|
|
7950 |
S |
Milk Frothing |
|
|
Professional steam wand for manual milk frothing, enabling the preparation of cappuccinos, lattes, and other milk-based beverages. |
0 |
0 |
|
| 6245 |
758 |
|
|
7938 |
S |
Milk Frothing |
|
|
None |
0 |
0 |
|
| 6241 |
758 |
|
|
7938 |
S |
Milk Frothing |
|
|
None |
0 |
0 |
|
| 6207 |
758 |
|
|
7875 |
S |
Milk Frothing |
|
|
Manual steam wand (no automatic carafe) |
0 |
0 |
|
| 6241 |
759 |
|
|
7939 |
S |
Pump Pressure |
|
|
— Not applicable; drip machines use a heating element, not a pump for pressure like espresso machines. |
0 |
0 |
|
| 6207 |
759 |
|
|
7294 |
S |
Pump Pressure |
|
|
15-20 bar pressure |
0 |
0 |
|
| 6253 |
759 |
|
|
7951 |
S |
Pump Pressure |
|
|
20 bar pressure |
0 |
0 |
|
| 6245 |
759 |
|
|
7944 |
S |
Pump Pressure |
|
|
None |
0 |
0 |
|
| 6241 |
733 |
|
1.40 |
7940 |
S |
Water Tank Capacity |
|
|
1.4 Liters |
0 |
0 |
|
| 6207 |
733 |
|
2.40 |
7876 |
S |
Water Tank Capacity |
|
|
2.4 Liters |
0 |
0 |
|
| 6253 |
733 |
|
0.00 |
7952 |
S |
Water Tank Capacity |
|
|
Approx. 2.4 Liters |
0 |
0 |
|
| 6245 |
733 |
|
0.00 |
7945 |
S |
Water Tank Capacity |
|
|
Approx. 1.4 Liters |
0 |
0 |
|
| 6207 |
656 |
|
|
3800 |
S |
لون |
|
|
Black/Silver |
0 |
160 |
|
| 6220 |
656 |
|
|
3800 |
S |
لون |
|
|
Black/Silver |
0 |
160 |
|
| 6253 |
656 |
|
|
1790 |
S |
لون |
|
|
Creamy |
0 |
160 |
|
| 6243 |
656 |
|
|
1790 |
S |
لون |
|
|
Creamy |
0 |
160 |
|
| 6241 |
656 |
|
|
1790 |
S |
لون |
|
|
Creamy |
0 |
160 |
|
| 6245 |
656 |
|
|
1682 |
S |
لون |
|
|
Light Blue |
0 |
160 |
|
| 6220 |
657 |
|
|
7871 |
E |
ماركة |
|
|
SMEG |
0 |
0 |
|
| 6245 |
657 |
|
|
7871 |
E |
ماركة |
|
|
SMEG |
0 |
0 |
|
| 6253 |
657 |
|
|
7871 |
E |
ماركة |
|
|
SMEG |
0 |
0 |
|
| 6241 |
657 |
|
|
7871 |
E |
ماركة |
|
|
SMEG |
0 |
0 |
|
| 6243 |
657 |
|
|
7871 |
E |
ماركة |
|
|
SMEG |
0 |
0 |
|
| 6207 |
657 |
|
|
7871 |
E |
ماركة |
|
|
SMEG |
0 |
0 |
|