Query time 0.00254
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "130.27"
},
"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": 210,
"rows_produced_per_join": 68,
"filtered": "32.52",
"index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (2444,2453,2454,2447,2445,2446,2450,2449,2448,2452,2451)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'en')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "90.43",
"eval_cost": "6.83",
"prefix_cost": "97.26",
"data_read_per_join": "52K"
},
"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": 6,
"filtered": "9.53",
"cost_info": {
"read_cost": "17.07",
"eval_cost": "0.65",
"prefix_cost": "121.16",
"data_read_per_join": "2K"
},
"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(170,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(357,`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": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.63",
"eval_cost": "0.65",
"prefix_cost": "123.44",
"data_read_per_join": "14K"
},
"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": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.63",
"eval_cost": "0.65",
"prefix_cost": "125.71",
"data_read_per_join": "7K"
},
"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": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.63",
"eval_cost": "0.65",
"prefix_cost": "127.99",
"data_read_per_join": "19K"
},
"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": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.63",
"eval_cost": "0.65",
"prefix_cost": "130.27",
"data_read_per_join": "2K"
},
"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 |
| 2452 |
641 |
|
|
1647 |
S |
Aspect Ratio |
|
|
16:9 |
0 |
30 |
|
| 2444 |
641 |
|
|
1647 |
S |
Aspect Ratio |
|
|
16:9 |
0 |
30 |
|
| 2449 |
641 |
|
|
1647 |
S |
Aspect Ratio |
|
|
16:9 |
0 |
30 |
|
| 2448 |
641 |
|
|
1647 |
S |
Aspect Ratio |
|
|
16:9 |
0 |
30 |
|
| 2445 |
641 |
|
|
1647 |
S |
Aspect Ratio |
|
|
16:9 |
0 |
30 |
|
| 2453 |
641 |
|
|
1647 |
S |
Aspect Ratio |
|
|
16:9 |
0 |
30 |
|
| 2454 |
641 |
|
|
1647 |
S |
Aspect Ratio |
|
|
16:9 |
0 |
30 |
|
| 2447 |
641 |
|
|
1649 |
S |
Aspect Ratio |
|
|
21:9 |
0 |
30 |
|
| 2450 |
641 |
|
|
1647 |
S |
Aspect Ratio |
|
|
16:9 |
0 |
30 |
|
| 2446 |
641 |
|
|
1647 |
S |
Aspect Ratio |
|
|
16:9 |
0 |
30 |
|
| 2451 |
641 |
|
|
1649 |
S |
Aspect Ratio |
|
|
21:9 |
0 |
30 |
|
| 2445 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2447 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2453 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2446 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2450 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2449 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2452 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2448 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2444 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2451 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2454 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2446 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2453 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2449 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2448 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2447 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2450 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2445 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2452 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2451 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2444 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2454 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2450 |
649 |
|
|
2881 |
S |
Display |
|
|
22" |
0 |
20 |
|
| 2452 |
649 |
|
|
1938 |
S |
Display |
|
|
24" |
0 |
20 |
|
| 2451 |
649 |
|
|
2878 |
S |
Display |
|
|
34" |
0 |
20 |
|
| 2449 |
649 |
|
|
1731 |
S |
Display |
|
|
27" |
0 |
20 |
|
| 2453 |
649 |
|
|
1731 |
S |
Display |
|
|
27" |
0 |
20 |
|
| 2448 |
649 |
|
|
1731 |
S |
Display |
|
|
27" |
0 |
20 |
|
| 2444 |
649 |
|
|
1938 |
S |
Display |
|
|
24" |
0 |
20 |
|
| 2447 |
649 |
|
|
2878 |
S |
Display |
|
|
34" |
0 |
20 |
|
| 2445 |
649 |
|
|
1731 |
S |
Display |
|
|
27" |
0 |
20 |
|
| 2446 |
649 |
|
|
1938 |
S |
Display |
|
|
24" |
0 |
20 |
|
| 2454 |
649 |
|
|
1731 |
S |
Display |
|
|
27" |
0 |
20 |
|
| 2454 |
645 |
|
|
2886 |
S |
Ports |
|
|
1 x DP 1.4, 2 x HDMI 2.0, 1 x USB IN, 2 x USB 3.0, 1 x Audio, 1 x AC In cable |
0 |
110 |
|
| 2452 |
645 |
|
|
2884 |
S |
Ports |
|
|
1 × HDMI 1.4, 1 × VGA, 1 × 3.5 Audio Out |
0 |
110 |
|
| 2444 |
645 |
|
|
2875 |
S |
Ports |
|
|
1 x DP, 1 x HDMI, 1 x Audio, 1 xDC IN power |
0 |
110 |
|
| 2445 |
645 |
|
|
2876 |
S |
Ports |
|
|
2 x DP, 2 x HDMI, 1 x Audio, 1 x DC IN power |
0 |
110 |
|
| 2451 |
645 |
|
|
2883 |
S |
Ports |
|
|
2 x HDMI 2.0, 2 x DP1.4, 1 x AUDIO, 1 x AC power cable IN |
0 |
110 |
|
| 2449 |
645 |
|
|
2880 |
S |
Ports |
|
|
1 x DP, 1 x HDMI 2.0, 1 x DC IN cable |
0 |
110 |
|
| 2446 |
645 |
|
|
2877 |
S |
Ports |
|
|
1 x DP 1.4, 1 x HDMI, 1 x DC IN power |
0 |
110 |
|
| 2447 |
645 |
|
|
2876 |
S |
Ports |
|
|
2 x DP, 2 x HDMI, 1 x Audio, 1 x DC IN power |
0 |
110 |
|
| 2450 |
645 |
|
|
2882 |
S |
Ports |
|
|
1 x HDMI 1.4, 1 x VGA, 1 x DC power |
0 |
110 |
|
| 2453 |
645 |
|
|
2885 |
S |
Ports |
|
|
1 x HDMI 1.4, 1 x VGA, 1 x Audio , 1 x DC IN power |
0 |
110 |
|
| 2448 |
645 |
|
|
2879 |
S |
Ports |
|
|
1 x DP, 1 x HDMI 2.0, 1 x Audio, 1 x DC IN cable |
0 |
110 |
|
| 2454 |
650 |
|
|
1542 |
S |
Refresh Rate |
|
|
165Hz |
0 |
40 |
|
| 2452 |
650 |
|
|
1539 |
S |
Refresh Rate |
|
|
60Hz |
0 |
40 |
|
| 2453 |
650 |
|
|
1729 |
S |
Refresh Rate |
|
|
75Hz |
0 |
40 |
|
| 2449 |
650 |
|
|
1733 |
S |
Refresh Rate |
|
|
100Hz |
0 |
40 |
|
| 2451 |
650 |
|
|
1541 |
S |
Refresh Rate |
|
|
144Hz |
0 |
40 |
|
| 2450 |
650 |
|
|
1729 |
S |
Refresh Rate |
|
|
75Hz |
0 |
40 |
|
| 2444 |
650 |
|
|
1543 |
S |
Refresh Rate |
|
|
180Hz |
0 |
40 |
|
| 2445 |
650 |
|
|
1543 |
S |
Refresh Rate |
|
|
180Hz |
0 |
40 |
|
| 2448 |
650 |
|
|
1542 |
S |
Refresh Rate |
|
|
165Hz |
0 |
40 |
|
| 2447 |
650 |
|
|
1543 |
S |
Refresh Rate |
|
|
180Hz |
0 |
40 |
|
| 2444 |
642 |
|
|
2275 |
S |
Resolution |
|
|
1920 x 1200 |
0 |
50 |
|
| 2452 |
642 |
|
|
1588 |
S |
Resolution |
|
|
1920 x 1080 (full HD) |
0 |
50 |
|
| 2445 |
642 |
|
|
1940 |
S |
Resolution |
|
|
2560 x 1440 (QHD) |
0 |
50 |
|
| 2446 |
642 |
|
|
1588 |
S |
Resolution |
|
|
1920 x 1080 (full HD) |
0 |
50 |
|
| 2454 |
642 |
|
|
1940 |
S |
Resolution |
|
|
2560 x 1440 (QHD) |
0 |
50 |
|
| 2447 |
642 |
|
|
1944 |
S |
Resolution |
|
|
3440 x 1440 (WQHD) |
0 |
50 |
|
| 2448 |
642 |
|
|
1588 |
S |
Resolution |
|
|
1920 x 1080 (full HD) |
0 |
50 |
|
| 2449 |
642 |
|
|
1588 |
S |
Resolution |
|
|
1920 x 1080 (full HD) |
0 |
50 |
|
| 2450 |
642 |
|
|
1588 |
S |
Resolution |
|
|
1920 x 1080 (full HD) |
0 |
50 |
|
| 2453 |
642 |
|
|
1588 |
S |
Resolution |
|
|
1920 x 1080 (full HD) |
0 |
50 |
|
| 2451 |
642 |
|
|
1944 |
S |
Resolution |
|
|
3440 x 1440 (WQHD) |
0 |
50 |
|