Query time 0.00365
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "76.69"
},
"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": "idx_product_feature_variant_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"rows_examined_per_scan": 123,
"rows_produced_per_join": 39,
"filtered": "32.52",
"index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (4974,5376,5397,4995,5549,4992,4991,5346)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'en')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "53.36",
"eval_cost": "4.00",
"prefix_cost": "57.36",
"data_read_per_join": "30K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
]
}
},
{
"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": "10.00",
"eval_cost": "0.38",
"prefix_cost": "71.36",
"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(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(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(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.95",
"eval_cost": "0.38",
"prefix_cost": "72.69",
"data_read_per_join": "8K"
},
"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.95",
"eval_cost": "0.38",
"prefix_cost": "74.03",
"data_read_per_join": "4K"
},
"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.95",
"eval_cost": "0.38",
"prefix_cost": "75.36",
"data_read_per_join": "11K"
},
"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.95",
"eval_cost": "0.38",
"prefix_cost": "76.69",
"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 |
| 5397 |
760 |
|
|
7132 |
S |
Bean Hopper Capacity |
|
|
275 grams |
0 |
0 |
|
| 5376 |
760 |
|
|
7143 |
S |
Bean Hopper Capacity |
|
|
260 grams. |
0 |
0 |
|
| 5346 |
760 |
|
|
7054 |
S |
Bean Hopper Capacity |
|
|
250g |
0 |
0 |
|
| 4974 |
657 |
|
|
6275 |
E |
Brand |
|
|
Nespresso |
0 |
0 |
|
| 5549 |
657 |
|
|
7202 |
E |
Brand |
|
|
Trisa |
0 |
0 |
|
| 5397 |
657 |
|
|
6600 |
E |
Brand |
|
|
Philips |
0 |
0 |
|
| 5376 |
657 |
|
|
7131 |
E |
Brand |
|
|
Krups |
0 |
0 |
|
| 5346 |
657 |
|
|
6979 |
E |
Brand |
|
|
De'Longhi |
0 |
0 |
|
| 4995 |
657 |
|
|
6275 |
E |
Brand |
|
|
Nespresso |
0 |
0 |
|
| 4992 |
657 |
|
|
6275 |
E |
Brand |
|
|
Nespresso |
0 |
0 |
|
| 4991 |
657 |
|
|
6275 |
E |
Brand |
|
|
Nespresso |
0 |
0 |
|
| 4992 |
732 |
|
|
6325 |
S |
Coffee & Drink Options |
|
|
Espresso and Lungo |
0 |
0 |
|
| 4974 |
732 |
|
|
6325 |
S |
Coffee & Drink Options |
|
|
Espresso and Lungo |
0 |
0 |
|
| 5397 |
732 |
|
|
7197 |
S |
Coffee & Drink Options |
|
|
Espresso, regular black coffee, espresso lungo, cappuccino, latte macchiato, iced coffee, and hot water for tea. |
0 |
0 |
|
| 4995 |
732 |
|
|
6325 |
S |
Coffee & Drink Options |
|
|
Espresso and Lungo |
0 |
0 |
|
| 5376 |
732 |
|
|
7144 |
S |
Coffee & Drink Options |
|
|
Offers four one-touch coffee drinks—Ristretto, Espresso, Long Coffee, and Americano—plus hot water for tea. |
0 |
0 |
|
| 4991 |
732 |
|
|
6325 |
S |
Coffee & Drink Options |
|
|
Espresso and Lungo |
0 |
0 |
|
| 5346 |
732 |
|
|
7055 |
S |
Coffee & Drink Options |
|
|
Espresso, Coffee, Long Coffee, Cappuccino, Latte Macchiato, Hot Water; Programmable settings for strength and volume |
0 |
0 |
|
| 4974 |
656 |
|
|
1607 |
S |
Color |
|
|
silver |
0 |
160 |
|
| 4992 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 5549 |
656 |
|
|
1914 |
S |
Color |
|
|
Gray |
0 |
160 |
|
| 5397 |
656 |
|
|
7196 |
S |
Color |
|
|
Black with chrome accents |
0 |
160 |
|
| 4991 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 5346 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 4995 |
656 |
|
|
2315 |
S |
Color |
|
|
Red |
0 |
160 |
|
| 5346 |
757 |
|
|
7056 |
S |
Grinder Type & Settings |
|
|
Integrated ceramic burr grinder with 13 adjustable grind settings |
0 |
0 |
|
| 5376 |
757 |
|
|
7145 |
S |
Grinder Type & Settings |
|
|
Equipped with an integrated metal conical burr grinder with adjustable fineness. |
0 |
0 |
|
| 5397 |
757 |
|
|
7198 |
S |
Grinder Type & Settings |
|
|
Built-in ceramic grinder with 12 grind settings |
0 |
0 |
|
| 5346 |
758 |
|
|
7057 |
S |
Milk Frothing |
|
|
Integrated, automatic milk frother (often a side container or integrated carafe) |
0 |
0 |
|
| 5397 |
758 |
|
|
7199 |
S |
Milk Frothing |
|
|
LatteGo milk system for quick and easy frothing; can be cleaned in 10 seconds |
0 |
0 |
|
| 5376 |
758 |
|
|
7146 |
S |
Milk Frothing |
|
|
Features a manual steam wand for barista-style milk frothing |
0 |
0 |
|
| 5346 |
759 |
|
|
7028 |
S |
Pump Pressure |
|
|
15 bar pressure |
0 |
0 |
|
| 5397 |
759 |
|
|
7182 |
S |
Pump Pressure |
|
|
15 bar |
0 |
0 |
|
| 5376 |
759 |
|
|
7147 |
S |
Pump Pressure |
|
|
15-bar pressure for optimal extraction. |
0 |
0 |
|
| 4991 |
734 |
|
|
6326 |
S |
Used Capsule Capacity |
|
|
9–11 capsules |
0 |
0 |
|
| 4992 |
734 |
|
|
6333 |
S |
Used Capsule Capacity |
|
|
6 used capsules |
0 |
0 |
|
| 4974 |
734 |
|
|
6326 |
S |
Used Capsule Capacity |
|
|
9–11 capsules |
0 |
0 |
|
| 4995 |
734 |
|
|
6333 |
S |
Used Capsule Capacity |
|
|
6 used capsules |
0 |
0 |
|
| 4974 |
733 |
|
|
6327 |
S |
Water Tank Capacity |
|
|
0.7 L |
0 |
0 |
|
| 4991 |
733 |
|
|
6266 |
S |
Water Tank Capacity |
|
|
1 L |
0 |
0 |
|
| 5397 |
733 |
|
|
7142 |
S |
Water Tank Capacity |
|
|
1.8 liters |
0 |
0 |
|
| 5376 |
733 |
|
1.70 |
7148 |
S |
Water Tank Capacity |
|
|
1.7 liters. |
0 |
0 |
|
| 4995 |
733 |
|
|
6334 |
S |
Water Tank Capacity |
|
|
0.6 L |
0 |
0 |
|
| 4992 |
733 |
|
|
6334 |
S |
Water Tank Capacity |
|
|
0.6 L |
0 |
0 |
|
| 5346 |
733 |
|
|
7058 |
S |
Water Tank Capacity |
|
|
Removable 1.8 liter water tank |
0 |
0 |
|