Query time 0.00210
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "61.62"
},
"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": 99,
"rows_produced_per_join": 32,
"filtered": "32.52",
"index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (2761,2742,2739,2734,2723,2704)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'en')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "42.84",
"eval_cost": "3.22",
"prefix_cost": "46.06",
"data_read_per_join": "24K"
},
"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": "8.05",
"eval_cost": "0.31",
"prefix_cost": "57.33",
"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(166,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(329,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(457,`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": "58.40",
"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": "59.47",
"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.55",
"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.62",
"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 |
| 2704 |
653 |
|
|
3063 |
S |
Battery |
|
|
400mAh battery providing up to 30 hours of playtime. |
0 |
100 |
|
| 2761 |
653 |
|
|
3123 |
S |
Battery |
|
|
800mAh , offering up to 27 hours of playback on a full charge. |
0 |
100 |
|
| 2723 |
653 |
|
|
3078 |
S |
Battery |
|
|
500mAh, lasts up to 76 hours |
0 |
100 |
|
| 2742 |
653 |
|
|
3104 |
S |
Battery |
|
|
690 mAh, with a playback time of 70 hours. |
0 |
100 |
|
| 2734 |
653 |
|
|
3090 |
S |
Battery |
|
|
22 hours of play on full charge, a quick 10 minute charge provides 3 hours of play |
0 |
100 |
|
| 2739 |
653 |
|
|
3102 |
S |
Battery |
|
|
500 mAh, charges fully in under 2 hours for up to 50 hours playback |
0 |
100 |
|
| 2761 |
657 |
|
|
3006 |
E |
Brand |
|
|
JBL |
0 |
0 |
|
| 2704 |
657 |
|
|
3006 |
E |
Brand |
|
|
JBL |
0 |
0 |
|
| 2742 |
657 |
|
|
3006 |
E |
Brand |
|
|
JBL |
0 |
0 |
|
| 2723 |
657 |
|
|
3006 |
E |
Brand |
|
|
JBL |
0 |
0 |
|
| 2739 |
657 |
|
|
3006 |
E |
Brand |
|
|
JBL |
0 |
0 |
|
| 2734 |
657 |
|
|
2082 |
E |
Brand |
|
|
Anker |
0 |
0 |
|
| 2704 |
654 |
|
|
3064 |
S |
Charging Type |
|
|
USB-C fast charging (5 min charge = 2 hrs playback, full charge in 2 hrs) |
0 |
120 |
|
| 2761 |
654 |
|
|
3124 |
S |
Charging Type |
|
|
USB-C, taking about 2 hours for a full charge that provides up to 27 hours of playback. |
0 |
120 |
|
| 2742 |
654 |
|
|
3105 |
S |
Charging Type |
|
|
USB-C in about 2 hours, with a 5-minute quick charge providing up to 3 hours of playback. |
0 |
120 |
|
| 2739 |
654 |
|
|
1771 |
S |
Charging Type |
|
|
USB-C |
0 |
120 |
|
| 2723 |
654 |
|
|
3079 |
S |
Charging Type |
|
|
USB-C. A full charge takes approximately 2 hours, and a quick 5-minute charge provides an additional 3 hours of playback. |
0 |
120 |
|
| 2734 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2739 |
656 |
|
|
1600 |
S |
Color |
|
|
Blue |
0 |
160 |
|
| 2704 |
656 |
|
|
2315 |
S |
Color |
|
|
Red |
0 |
160 |
|
| 2723 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2742 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2761 |
656 |
|
|
1558 |
S |
Color |
|
|
Pink |
0 |
160 |
|
| 2734 |
659 |
|
|
3091 |
S |
Connectivity |
|
|
Bluetoot 5.0 ( sometimes listed as 5.2) |
0 |
152 |
|
| 2761 |
659 |
|
|
3125 |
S |
Connectivity |
|
|
Bluetooth 5.0, up to 10 meters wireless range. |
0 |
152 |
|
| 2739 |
659 |
|
|
3103 |
S |
Connectivity |
|
|
Bluetooth 5.3, plus a 3.5 mm wired option |
0 |
152 |
|
| 2723 |
659 |
|
|
3080 |
S |
Connectivity |
|
|
Bluetooth 5.3 and 3.5mm audio jack (wired). |
0 |
152 |
|
| 2742 |
659 |
|
|
3106 |
S |
Connectivity |
|
|
Bluetooth 5.3, also includes a 3.5 mm wired audio option. |
0 |
152 |
|
| 2704 |
659 |
|
|
3069 |
S |
Connectivity |
|
|
Bluetooth 5.0 with a range of up to 15 meters |
0 |
152 |
|
| 2761 |
671 |
|
|
2111 |
S |
Headphone Ear Cup Types |
|
|
Over-Ear |
0 |
0 |
|
| 2704 |
671 |
|
|
2113 |
S |
Headphone Ear Cup Types |
|
|
On-Ear |
0 |
0 |
|
| 2742 |
671 |
|
|
2111 |
S |
Headphone Ear Cup Types |
|
|
Over-Ear |
0 |
0 |
|
| 2739 |
671 |
|
|
2111 |
S |
Headphone Ear Cup Types |
|
|
Over-Ear |
0 |
0 |
|
| 2723 |
671 |
|
|
2113 |
S |
Headphone Ear Cup Types |
|
|
On-Ear |
0 |
0 |
|
| 2734 |
671 |
|
|
2112 |
S |
Headphone Ear Cup Types |
|
|
In-Ear |
0 |
0 |
|
| 2734 |
651 |
|
|
3089 |
S |
Processor |
|
|
Standard Bluetooth 5.0/5.2 chipset |
0 |
60 |
|