Query time 0.00237
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "79.58"
},
"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": 129,
"rows_produced_per_join": 41,
"filtered": "32.51",
"index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (2087,2012,1988,1971,2026)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'ar')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "55.12",
"eval_cost": "4.19",
"prefix_cost": "59.31",
"data_read_per_join": "32K"
},
"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.49",
"eval_cost": "0.40",
"prefix_cost": "73.99",
"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(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": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.40",
"prefix_cost": "75.39",
"data_read_per_join": "9K"
},
"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": "1.00",
"eval_cost": "0.40",
"prefix_cost": "76.79",
"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": "1.00",
"eval_cost": "0.40",
"prefix_cost": "78.19",
"data_read_per_join": "12K"
},
"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": "1.00",
"eval_cost": "0.40",
"prefix_cost": "79.58",
"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 |
| 2087 |
659 |
|
0.00 |
2195 |
S |
Connectivity |
|
|
USB 2.0, Ethernet, Wi-Fi, Wi-Fi Direct |
0 |
152 |
|
| 1971 |
659 |
|
|
2154 |
S |
Connectivity |
|
|
USB 2.0, Wi-Fi, Wi-Fi Direct |
0 |
152 |
|
| 2026 |
659 |
|
|
2127 |
S |
Connectivity |
|
|
USB 2.0, Ethernet, Wi-Fi (2.4GHz & 5GHz), Wi-Fi Direct |
0 |
152 |
|
| 2012 |
659 |
|
|
2127 |
S |
Connectivity |
|
|
USB 2.0, Ethernet, Wi-Fi (2.4GHz & 5GHz), Wi-Fi Direct |
0 |
152 |
|
| 1988 |
659 |
|
|
2154 |
S |
Connectivity |
|
|
USB 2.0, Wi-Fi, Wi-Fi Direct |
0 |
152 |
|
| 2087 |
675 |
|
|
2123 |
S |
Duplex Printing |
|
|
Yes (Automatic) |
0 |
0 |
|
| 2026 |
675 |
|
|
2123 |
S |
Duplex Printing |
|
|
Yes (Automatic) |
0 |
0 |
|
| 1971 |
675 |
|
|
2123 |
S |
Duplex Printing |
|
|
Yes (Automatic) |
0 |
0 |
|
| 2012 |
675 |
|
|
2123 |
S |
Duplex Printing |
|
|
Yes (Automatic) |
0 |
0 |
|
| 1988 |
675 |
|
|
2123 |
S |
Duplex Printing |
|
|
Yes (Automatic) |
0 |
0 |
|
| 2012 |
672 |
|
|
2119 |
S |
Function |
|
|
Print, Scan, Copy |
0 |
0 |
|
| 2087 |
672 |
|
|
2187 |
S |
Function |
|
|
Print, Scan, Copy, Fax |
0 |
0 |
|
| 2026 |
672 |
|
0.00 |
2187 |
S |
Function |
|
|
Print, Scan, Copy, Fax |
0 |
0 |
|
| 1988 |
672 |
|
|
2119 |
S |
Function |
|
|
Print, Scan, Copy |
0 |
0 |
|
| 1971 |
672 |
|
|
2119 |
S |
Function |
|
|
Print, Scan, Copy |
0 |
0 |
|
| 1988 |
673 |
|
0.00 |
2170 |
S |
Print Speed |
|
|
Up to 16 ipm (Mono), Up to 15.5 ipm (Color) |
0 |
0 |
|
| 2087 |
673 |
|
0.00 |
2192 |
S |
Print Speed |
|
|
Up to 22 ipm (Mono), Up to 20 ipm (Colour) |
0 |
0 |
|
| 2012 |
673 |
|
0.00 |
2171 |
S |
Print Speed |
|
|
Up to 17 ipm (Mono), Up to 16.5 ipm (Color) |
0 |
0 |
|
| 2026 |
673 |
|
0.00 |
2188 |
S |
Print Speed |
|
|
Up to 17 ipm (Mono), Up to 16.5 ipm (Colou |
0 |
0 |
|
| 1971 |
673 |
|
|
2155 |
S |
Print Speed |
|
|
Up to 16 ipm (Mono), Up to 9 ipm (Colour) |
0 |
0 |
|
| 2012 |
642 |
|
|
2156 |
S |
Resolution |
|
|
Up to 1200 × 6000 dpi |
0 |
50 |
|
| 2087 |
642 |
|
0.00 |
2194 |
S |
Resolution |
|
|
Up to 1200 × 4800 dpi |
0 |
50 |
|
| 1971 |
642 |
|
|
2156 |
S |
Resolution |
|
|
Up to 1200 × 6000 dpi |
0 |
50 |
|
| 2026 |
642 |
|
|
2156 |
S |
Resolution |
|
|
Up to 1200 × 6000 dpi |
0 |
50 |
|
| 1988 |
642 |
|
|
2156 |
S |
Resolution |
|
|
Up to 1200 × 6000 dpi |
0 |
50 |
|
| 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 |
|
| 2026 |
674 |
|
0.00 |
2189 |
S |
Scan Speed |
|
|
Flatbed: 3.35 sec (Mono), 4.38 sec (Colour) @100 dpi |
0 |
0 |
|
| 1971 |
648 |
|
|
2145 |
S |
التخزين |
|
|
128 MB |
0 |
170 |
|
| 2087 |
648 |
|
|
2145 |
S |
التخزين |
|
|
128 MB |
0 |
170 |
|
| 2026 |
648 |
|
|
2145 |
S |
التخزين |
|
|
128 MB |
0 |
170 |
|
| 1988 |
648 |
|
|
2145 |
S |
التخزين |
|
|
128 MB |
0 |
170 |
|
| 2012 |
648 |
|
|
2145 |
S |
التخزين |
|
|
128 MB |
0 |
170 |
|
| 2026 |
656 |
|
|
1560 |
S |
لون |
|
|
Black |
0 |
160 |
|
| 1988 |
656 |
|
|
1560 |
S |
لون |
|
|
Black |
0 |
160 |
|
| 2087 |
656 |
|
|
1560 |
S |
لون |
|
|
Black |
0 |
160 |
|
| 1971 |
656 |
|
|
1560 |
S |
لون |
|
|
Black |
0 |
160 |
|
| 2012 |
656 |
|
|
1560 |
S |
لون |
|
|
Black |
0 |
160 |
|
| 2026 |
657 |
|
|
2118 |
E |
ماركة |
|
|
Brother |
0 |
0 |
|
| 2012 |
657 |
|
|
2118 |
E |
ماركة |
|
|
Brother |
0 |
0 |
|
| 2087 |
657 |
|
|
2118 |
E |
ماركة |
|
|
Brother |
0 |
0 |
|
| 1971 |
657 |
|
|
2118 |
E |
ماركة |
|
|
Brother |
0 |
0 |
|
| 1988 |
657 |
|
|
2118 |
E |
ماركة |
|
|
Brother |
0 |
0 |
|