Query time 0.00234
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "61.12"
},
"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": 99,
"rows_produced_per_join": 32,
"filtered": "32.51",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (11098,11262,11283,11314))",
"cost_info": {
"read_cost": "42.34",
"eval_cost": "3.22",
"prefix_cost": "45.56",
"data_read_per_join": "24K"
},
"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.05",
"eval_cost": "0.31",
"prefix_cost": "56.83",
"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.77",
"eval_cost": "0.31",
"prefix_cost": "57.90",
"data_read_per_join": "6K"
},
"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.77",
"eval_cost": "0.31",
"prefix_cost": "58.97",
"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.77",
"eval_cost": "0.31",
"prefix_cost": "60.05",
"data_read_per_join": "9K"
},
"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.77",
"eval_cost": "0.31",
"prefix_cost": "61.12",
"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 |
| 11314 |
760 |
|
|
7054 |
S |
Bean Hopper Capacity |
|
|
250g |
0 |
0 |
|
| 11283 |
760 |
|
|
9781 |
S |
Bean Hopper Capacity |
|
|
280g |
0 |
0 |
|
| 11098 |
760 |
|
|
9763 |
S |
Bean Hopper Capacity |
|
|
275g |
0 |
0 |
|
| 11262 |
760 |
|
|
9632 |
S |
Bean Hopper Capacity |
|
|
None for espresso; uses pre-ground coffee. For filter coffee, it uses pre-ground or whole beans if paired with a separate grinder. |
0 |
0 |
|
| 11314 |
732 |
|
|
9704 |
S |
Coffee & Drink Options |
|
|
Espresso, Coffee/Black Coffee, Cappuccino, Latte Macchiato, Hot Water |
0 |
0 |
|
| 11283 |
732 |
|
|
9661 |
S |
Coffee & Drink Options |
|
|
Espresso, Americano, Long Black, Cold Brew, Cappuccino, Latte, Latte Macchiato, Flat White, Hot Milk & Hot Water - all customizable to your preferences. |
0 |
0 |
|
| 11098 |
732 |
|
|
9565 |
S |
Coffee & Drink Options |
|
|
Regular black filter coffee and hot water (for tea or instant drinks) |
0 |
0 |
|
| 11262 |
732 |
|
|
9633 |
S |
Coffee & Drink Options |
|
|
Drip filter coffee (full carafe), single-serve espresso, Americano, and hot water. Cappuccino/latte require manual milk frothing skill with the steam wand. |
0 |
0 |
|
| 11314 |
757 |
|
|
9705 |
S |
Grinder Type & Settings |
|
|
Integrated conical steel burr with approx. 13 settings |
0 |
0 |
|
| 11283 |
757 |
|
|
9662 |
S |
Grinder Type & Settings |
|
|
Integrated, adjustable ceramic burr grinder with multiple settings. |
0 |
0 |
|
| 11262 |
757 |
|
|
9634 |
S |
Grinder Type & Settings |
|
|
No built-in grinder. Uses pre-ground coffee for both filter and espresso functions. |
0 |
0 |
|
| 11098 |
757 |
|
|
9566 |
S |
Grinder Type & Settings |
|
|
No built-in grinder |
0 |
0 |
|
| 11262 |
758 |
|
|
9635 |
S |
Milk Frothing |
|
|
Manual Panarello-style steam wand (milk jug included) |
0 |
0 |
|
| 11283 |
758 |
|
|
9663 |
S |
Milk Frothing |
|
|
Automatic, 5 froth levels and 4 temperature settings |
0 |
0 |
|
| 11314 |
758 |
|
|
9706 |
S |
Milk Frothing |
|
|
Integrated automatic milk system |
0 |
0 |
|
| 11098 |
758 |
|
|
9567 |
S |
Milk Frothing |
|
|
No milk system. Milk must be frothed seperately |
0 |
0 |
|
| 11262 |
759 |
|
|
7028 |
S |
Pump Pressure |
|
|
15 bar pressure |
0 |
0 |
|
| 11314 |
759 |
|
|
7028 |
S |
Pump Pressure |
|
|
15 bar pressure |
0 |
0 |
|
| 11098 |
759 |
|
|
9568 |
S |
Pump Pressure |
|
|
None. Uses a heating element and gravity brewing, not a pump |
0 |
0 |
|
| 11283 |
759 |
|
|
9645 |
S |
Pump Pressure |
|
|
15 bar pump |
0 |
0 |
|
| 11262 |
733 |
|
|
9569 |
S |
Water Tank Capacity |
|
|
1.25 L |
0 |
0 |
|
| 11283 |
733 |
|
|
7137 |
S |
Water Tank Capacity |
|
|
1.7 liters (removable) |
0 |
0 |
|
| 11314 |
733 |
|
|
7183 |
S |
Water Tank Capacity |
|
|
1.8 L |
0 |
0 |
|
| 11098 |
733 |
|
|
9569 |
S |
Water Tank Capacity |
|
|
1.25 L |
0 |
0 |
|
| 11098 |
656 |
|
|
1560 |
S |
لون |
|
|
Black |
0 |
160 |
|
| 11314 |
656 |
|
|
1559 |
S |
لون |
|
|
White |
0 |
160 |
|
| 11283 |
656 |
|
|
7672 |
S |
لون |
|
|
silver and black |
0 |
160 |
|
| 11262 |
656 |
|
|
1560 |
S |
لون |
|
|
Black |
0 |
160 |
|
| 11283 |
657 |
|
|
6979 |
E |
ماركة |
|
|
De'Longhi |
0 |
0 |
|
| 11262 |
657 |
|
|
6979 |
E |
ماركة |
|
|
De'Longhi |
0 |
0 |
|
| 11098 |
657 |
|
|
6979 |
E |
ماركة |
|
|
De'Longhi |
0 |
0 |
|
| 11314 |
657 |
|
|
6979 |
E |
ماركة |
|
|
De'Longhi |
0 |
0 |
|