Query time 0.00377
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "52.26"
},
"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": 84,
"rows_produced_per_join": 27,
"filtered": "32.52",
"index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (3368,5958,2920,3056,3414)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'en')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "36.33",
"eval_cost": "2.73",
"prefix_cost": "39.06",
"data_read_per_join": "21K"
},
"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": 2,
"filtered": "9.53",
"cost_info": {
"read_cost": "6.83",
"eval_cost": "0.26",
"prefix_cost": "48.62",
"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(423,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(424,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(451,`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": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.65",
"eval_cost": "0.26",
"prefix_cost": "49.53",
"data_read_per_join": "5K"
},
"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": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.65",
"eval_cost": "0.26",
"prefix_cost": "50.44",
"data_read_per_join": "2K"
},
"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": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.65",
"eval_cost": "0.26",
"prefix_cost": "51.35",
"data_read_per_join": "7K"
},
"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": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.65",
"eval_cost": "0.26",
"prefix_cost": "52.26",
"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 |
| 5958 |
657 |
|
|
1665 |
E |
Brand |
|
|
Apple |
0 |
0 |
|
| 3414 |
657 |
|
|
3820 |
E |
Brand |
|
|
Dviced |
0 |
0 |
|
| 2920 |
657 |
|
|
2082 |
E |
Brand |
|
|
Anker |
0 |
0 |
|
| 3368 |
657 |
|
|
3820 |
E |
Brand |
|
|
Dviced |
0 |
0 |
|
| 3056 |
657 |
|
|
2082 |
E |
Brand |
|
|
Anker |
0 |
0 |
|
| 3368 |
654 |
|
|
4580 |
S |
Charging Type |
|
|
GaN Technology, Power Delivery 3.0, Quick Charge 3.0 |
0 |
120 |
|
| 3414 |
654 |
|
|
4574 |
S |
Charging Type |
|
|
GaN Technology |
0 |
120 |
|
| 3056 |
654 |
|
|
4486 |
S |
Charging Type |
|
|
30 W PD 3.0, PowerIQ 3.0, PPS, ActiveShield 2.0 safety |
0 |
120 |
|
| 2920 |
654 |
|
|
4558 |
S |
Charging Type |
|
|
USB-C Power Delivery (PD) |
0 |
120 |
|
| 3056 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 5958 |
656 |
|
|
1559 |
S |
Color |
|
|
white |
0 |
160 |
|
| 2920 |
656 |
|
|
1559 |
S |
Color |
|
|
white |
0 |
160 |
|
| 3414 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 3368 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2920 |
683 |
|
|
4560 |
S |
Input |
|
|
Type G (UK) plug |
0 |
310 |
|
| 3368 |
683 |
|
|
4576 |
S |
Input |
|
|
100–250V AC, 10A Max |
0 |
310 |
|
| 3056 |
683 |
|
|
4458 |
S |
Input |
|
|
100–240 V AC, ~1 A, 50–60 Hz |
0 |
310 |
|
| 3414 |
683 |
|
100.00 |
4603 |
S |
Input |
|
|
100–240 V AC, 50–60 Hz |
0 |
310 |
|
| 3368 |
658 |
|
|
4581 |
S |
Model |
|
|
DV240003 |
0 |
155 |
|
| 2920 |
658 |
|
|
4559 |
S |
Model |
|
|
A92A2 |
0 |
155 |
|
| 3056 |
658 |
|
|
4487 |
S |
Model |
|
|
A2147 |
0 |
155 |
|
| 3414 |
658 |
|
|
4602 |
S |
Model |
|
|
DV222007 |
0 |
155 |
|
| 3056 |
684 |
|
5.00 |
4488 |
S |
Output |
|
|
5 V/3 A (15 W); 9 V/3 A (27 W); 15 V/2 A or 20 V/1.5 A (30 W); PPS support |
0 |
320 |
|
| 3368 |
684 |
|
0.00 |
4582 |
S |
Output |
|
|
USB-C1: 5V/3A, 9V/3A, 12V/3A, 15V/3A, 20V/3.25A (65W Max), USB-C2/C3: 5V/3A (15W Max each), USB-A1/A2: 5V/2.4A (12W Max each), Total Output: Up to 65W |
0 |
320 |
|
| 3414 |
684 |
|
0.00 |
4604 |
S |
Output |
|
|
USB-C: Up to 65 W on a single port, USB-A: Up to ~30 W (supports QC protocols), Total Output: Up to 65W combined |
0 |
320 |
|
| 2920 |
684 |
|
|
4561 |
S |
Output |
|
|
USB-C1/C2: 5V⎓3A (15W Max), USB-A: 5V⎓2.4A (12W Max), Total USB Output: 15W shared across USB-C and USB-A ports |
0 |
320 |
|
| 3368 |
645 |
|
|
3844 |
S |
Ports |
|
|
2 x USB-C, 2 x USB-A |
0 |
110 |
|
| 2920 |
645 |
|
|
3323 |
S |
Ports |
|
|
2 AC passthrough outlets (UK Type G plug, grounded, rated up to ~1,380 W @ 230 V), 2 USB‑C ports: – Port 1 delivers up to 20 W, Port 2 offers up to 15 W; When both USB‑C ports (or combined with USB‑A) are in use, they share a 15 W maximum budget, 1 USB‑A |
0 |
110 |
|
| 3414 |
645 |
|
|
2909 |
S |
Ports |
|
|
2 x USB-C, 1 x USB-A |
0 |
110 |
|
| 3056 |
645 |
|
|
2900 |
S |
Ports |
|
|
1 x USB-C |
0 |
110 |
|