Query time 0.00231
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "96.23"
},
"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": 156,
"rows_produced_per_join": 50,
"filtered": "32.52",
"index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (3495,3321,3332,3494,2087,3491)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'en')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "66.64",
"eval_cost": "5.07",
"prefix_cost": "71.71",
"data_read_per_join": "39K"
},
"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": 4,
"filtered": "9.53",
"cost_info": {
"read_cost": "12.68",
"eval_cost": "0.48",
"prefix_cost": "89.46",
"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(250,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(371,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(393,`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": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.21",
"eval_cost": "0.48",
"prefix_cost": "91.15",
"data_read_per_join": "10K"
},
"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": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.21",
"eval_cost": "0.48",
"prefix_cost": "92.85",
"data_read_per_join": "5K"
},
"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": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.21",
"eval_cost": "0.48",
"prefix_cost": "94.54",
"data_read_per_join": "14K"
},
"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": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.21",
"eval_cost": "0.48",
"prefix_cost": "96.23",
"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 |
| 3494 |
657 |
|
|
3705 |
E |
Brand |
|
|
Epson |
0 |
0 |
|
| 2087 |
657 |
|
|
2118 |
E |
Brand |
|
|
Brother |
0 |
0 |
|
| 3491 |
657 |
|
|
3705 |
E |
Brand |
|
|
Epson |
0 |
0 |
|
| 3332 |
657 |
|
|
3745 |
E |
Brand |
|
|
Canon |
0 |
0 |
|
| 3495 |
657 |
|
|
3705 |
E |
Brand |
|
|
Epson |
0 |
0 |
|
| 3321 |
657 |
|
|
3745 |
E |
Brand |
|
|
Canon |
0 |
0 |
|
| 3332 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 3494 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 3491 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 3495 |
656 |
|
|
1559 |
S |
Color |
|
|
white |
0 |
160 |
|
| 3321 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2087 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 3495 |
659 |
|
|
4127 |
S |
Connectivity |
|
|
USB 2.0, Wi-Fi, Wi-Fi Direct, Ethernet |
0 |
152 |
|
| 3321 |
659 |
|
|
3747 |
S |
Connectivity |
|
|
USB 2.0, Wi-Fi, Canon PRINT app, PIXMA Cloud Link, Mopria, Google Cloud Print |
0 |
152 |
|
| 3494 |
659 |
|
|
4122 |
S |
Connectivity |
|
|
Connectivity: USB 2.0, Wi‑Fi (802.11b/g/n), Wi‑Fi Direct; Epson Smart Panel, AirPrint, Mopria, Epson Connect suite |
0 |
152 |
|
| 3332 |
659 |
|
|
3772 |
S |
Connectivity |
|
|
USB 2.0, Wi-Fi, Canon PRINT app, Mopria, Cloud |
0 |
152 |
|
| 3491 |
659 |
|
|
2199 |
S |
Connectivity |
|
|
USB 2.0 |
0 |
152 |
|
| 2087 |
659 |
|
0.00 |
2195 |
S |
Connectivity |
|
|
USB 2.0, Ethernet, Wi-Fi, Wi-Fi Direct |
0 |
152 |
|
| 3495 |
675 |
|
|
4017 |
S |
Duplex Printing |
|
|
Automatic |
0 |
0 |
|
| 3321 |
675 |
|
|
3706 |
S |
Duplex Printing |
|
|
Manual (no auto duplex) |
0 |
0 |
|
| 2087 |
675 |
|
|
2123 |
S |
Duplex Printing |
|
|
Yes (Automatic) |
0 |
0 |
|
| 3491 |
675 |
|
|
3710 |
S |
Duplex Printing |
|
|
Manual |
0 |
0 |
|
| 3494 |
675 |
|
|
3710 |
S |
Duplex Printing |
|
|
Manual |
0 |
0 |
|
| 3332 |
675 |
|
|
3706 |
S |
Duplex Printing |
|
|
Manual (no auto duplex) |
0 |
0 |
|
| 2087 |
672 |
|
|
2187 |
S |
Function |
|
|
Print, Scan, Copy, Fax |
0 |
0 |
|
| 3495 |
672 |
|
|
2187 |
S |
Function |
|
|
Print, Scan, Copy, Fax |
0 |
0 |
|
| 3491 |
672 |
|
|
2133 |
S |
Function |
|
|
Print |
0 |
0 |
|
| 3494 |
672 |
|
|
2119 |
S |
Function |
|
|
Print, Scan, Copy |
0 |
0 |
|
| 3332 |
672 |
|
|
2119 |
S |
Function |
|
|
Print, Scan, Copy |
0 |
0 |
|
| 3321 |
672 |
|
|
2119 |
S |
Function |
|
|
Print, Scan, Copy |
0 |
0 |
|
| 3494 |
673 |
|
|
4120 |
S |
Print Speed |
|
|
Up to 15 ipm (black mono ISO) / 8 ipm (color ISO); Draft up to 33 ppm (mono) / 20 ppm (color) |
0 |
0 |
|
| 3332 |
673 |
|
|
3753 |
S |
Print Speed |
|
|
Up to 11 ipm (Mono), Up to 6 ipm (Colour) |
0 |
0 |
|
| 3491 |
673 |
|
|
4115 |
S |
Print Speed |
|
|
Up to 15 ppm (black), 5.5 ppm (color) |
0 |
0 |
|
| 2087 |
673 |
|
0.00 |
2192 |
S |
Print Speed |
|
|
Up to 22 ipm (Mono), Up to 20 ipm (Colour) |
0 |
0 |
|
| 3495 |
673 |
|
|
4124 |
S |
Print Speed |
|
|
Up to 25 ppm (mono & color), Duplex: ~21 ipm |
0 |
0 |
|
| 3321 |
673 |
|
|
3746 |
S |
Print Speed |
|
|
Up to 8.8 ipm (Mono), Up to 5 ipm (Colour) |
0 |
0 |
|
| 3495 |
642 |
|
|
4126 |
S |
Resolution |
|
|
4800 x 2400 |
0 |
50 |
|
| 3491 |
642 |
|
|
3713 |
S |
Resolution |
|
|
5760 x 1440 |
0 |
50 |
|
| 3494 |
642 |
|
|
3713 |
S |
Resolution |
|
|
5760 x 1440 |
0 |
50 |
|
| 2087 |
642 |
|
0.00 |
2194 |
S |
Resolution |
|
|
Up to 1200 × 4800 dpi |
0 |
50 |
|
| 3332 |
642 |
|
|
3723 |
S |
Resolution |
|
|
Up to 4800 x 1200 dpi |
0 |
50 |
|
| 3321 |
642 |
|
|
3723 |
S |
Resolution |
|
|
Up to 4800 x 1200 dpi |
0 |
50 |
|
| 3494 |
674 |
|
|
4121 |
S |
Scan Speed |
|
|
11 sec (A4 black, 200 dpi), ~28 sec (A4 color, 200 dpi) |
0 |
0 |
|
| 3332 |
674 |
|
|
3771 |
S |
Scan Speed |
|
|
Approx. 19 sec (A4) |
0 |
0 |
|
| 2087 |
674 |
|
0.00 |
2193 |
S |
Scan Speed |
|
|
Up to 18 ipm (A4 Portrait, Mono/Colour), Up to 11 ipm (A4 Landscape, Mono/Colour), Up to 8 ipm (A3, Mono/Colour) |
0 |
0 |
|
| 3495 |
674 |
|
|
4125 |
S |
Scan Speed |
|
|
26 ipm (simplex), 11.5 ipm (duplex), Color: 9 ipm (simplex), 6 ipm (duplex) |
0 |
0 |
|
| 3494 |
648 |
|
|
4016 |
S |
Storage |
|
|
None |
0 |
170 |
|
| 3491 |
648 |
|
|
4016 |
S |
Storage |
|
|
None |
0 |
170 |
|
| 3495 |
648 |
|
|
4016 |
S |
Storage |
|
|
None |
0 |
170 |
|
| 3332 |
648 |
|
|
3773 |
S |
Storage |
|
|
None (Device controlled) |
0 |
170 |
|
| 3321 |
648 |
|
|
3748 |
S |
Storage |
|
|
None (Host controlled) |
0 |
170 |
|
| 2087 |
648 |
|
|
2145 |
S |
Storage |
|
|
128 MB |
0 |
170 |
|