Query time 0.00299
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "113.16"
},
"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": 181,
"rows_produced_per_join": 58,
"filtered": "32.51",
"index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (2395,4279,4294,2399,1665,5899,4193,2393,2172,2171,1664,4058,4226)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'ar')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "78.82",
"eval_cost": "5.89",
"prefix_cost": "84.71",
"data_read_per_join": "45K"
},
"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": 5,
"filtered": "9.53",
"cost_info": {
"read_cost": "14.71",
"eval_cost": "0.56",
"prefix_cost": "105.31",
"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(250,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(308,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(350,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(382,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(386,`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": 5,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.40",
"eval_cost": "0.56",
"prefix_cost": "107.27",
"data_read_per_join": "12K"
},
"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": 5,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.40",
"eval_cost": "0.56",
"prefix_cost": "109.23",
"data_read_per_join": "6K"
},
"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": 5,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.40",
"eval_cost": "0.56",
"prefix_cost": "111.20",
"data_read_per_join": "16K"
},
"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": 5,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.40",
"eval_cost": "0.56",
"prefix_cost": "113.16",
"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 |
| 4226 |
670 |
|
|
5383 |
S |
Compatibility |
|
|
Windows 7, 8, 10, 11 or later; macOS 10.10 or later; ChromeOS |
0 |
115 |
|
| 4058 |
670 |
|
0.00 |
5214 |
S |
Compatibility |
|
|
Windows®, macOS, ChromeOS™, Linux® |
0 |
115 |
|
| 2393 |
670 |
|
|
2818 |
S |
Compatibility |
|
|
Windows 7+, macOS 10.13+, Linux |
0 |
115 |
|
| 4294 |
670 |
|
|
5461 |
S |
Compatibility |
|
|
Windows 10, 11 or later; macOS 10.15 or later; Linux; ChromeOS; iPadOS |
0 |
115 |
|
| 4279 |
670 |
|
|
5428 |
S |
Compatibility |
|
|
Windows 7, 8, 10, 11 or later; macOS 10.11 or later; Linux; ChromeOS |
0 |
115 |
|
| 4193 |
670 |
|
|
5300 |
S |
Compatibility |
|
|
Windows 7, 8, 10, 11 or later; macOS 10.10 or later; ChromeOS; Linux Kernel 2.6+ |
0 |
115 |
|
| 2395 |
670 |
|
|
2821 |
S |
Compatibility |
|
|
Windows 10+, macOS 10.13+, Linux |
0 |
115 |
|
| 4193 |
659 |
|
|
5298 |
S |
Connectivity |
|
|
2.4 GHz wireless (USB nano receiver) |
0 |
152 |
|
| 4279 |
659 |
|
|
5422 |
S |
Connectivity |
|
|
Bluetooth + 2.4 GHz wireless (USB receiver) |
0 |
152 |
|
| 2393 |
659 |
|
|
2819 |
S |
Connectivity |
|
|
2.4 GHz wireless (via Nano USB receiver) |
0 |
152 |
|
| 2395 |
659 |
|
|
2822 |
S |
Connectivity |
|
|
2.4 GHz wireless + Bluetooth (up to 3 device pairing) |
0 |
152 |
|
| 4226 |
659 |
|
|
4984 |
S |
Connectivity |
|
|
Wired USB |
0 |
152 |
|
| 4294 |
659 |
|
0.00 |
5462 |
S |
Connectivity |
|
|
Bluetooth + 2.4 GHz wireless (Logi Bolt USB receiver) |
0 |
152 |
|
| 1665 |
659 |
|
|
2074 |
S |
Connectivity |
|
|
2.4 GHz Wireless |
0 |
152 |
|
| 2399 |
659 |
|
0.00 |
2824 |
S |
Connectivity |
|
|
Wired USB (braided cable) |
0 |
152 |
|
| 1664 |
659 |
|
|
2074 |
S |
Connectivity |
|
|
2.4 GHz Wireless |
0 |
152 |
|
| 4058 |
659 |
|
|
2074 |
S |
Connectivity |
|
|
2.4 GHz Wireless |
0 |
152 |
|
| 4058 |
698 |
|
|
2797 |
S |
Max DPI |
|
|
1000 DPI |
0 |
0 |
|
| 2395 |
698 |
|
|
2797 |
S |
Max DPI |
|
|
1000 DPI |
0 |
0 |
|
| 2399 |
698 |
|
6200.00 |
2823 |
S |
Max DPI |
|
|
6200 DPI |
0 |
0 |
|
| 4279 |
698 |
|
|
5427 |
S |
Max DPI |
|
|
4000 DPI (adjustable via Logitech Options software) |
0 |
0 |
|
| 4226 |
698 |
|
|
5301 |
S |
Max DPI |
|
|
8000 DPI (adjustable) |
0 |
0 |
|
| 4294 |
698 |
|
|
5460 |
S |
Max DPI |
|
|
8000 DPI (adjustable via Logi Options+ software) |
0 |
0 |
|
| 4193 |
698 |
|
|
2797 |
S |
Max DPI |
|
|
1000 DPI |
0 |
0 |
|
| 2399 |
699 |
|
|
2796 |
S |
Polling Rate |
|
|
1000 Hz |
0 |
0 |
|
| 2393 |
699 |
|
|
2796 |
S |
Polling Rate |
|
|
1000 Hz |
0 |
0 |
|
| 4226 |
699 |
|
|
2796 |
S |
Polling Rate |
|
|
1000 Hz |
0 |
0 |
|
| 2395 |
699 |
|
|
2796 |
S |
Polling Rate |
|
|
1000 Hz |
0 |
0 |
|
| 4058 |
699 |
|
125.00 |
5212 |
S |
Polling Rate |
|
|
125 Hz |
0 |
0 |
|
| 4279 |
699 |
|
|
5212 |
S |
Polling Rate |
|
|
125 Hz |
0 |
0 |
|
| 4294 |
699 |
|
|
5212 |
S |
Polling Rate |
|
|
125 Hz |
0 |
0 |
|
| 4193 |
699 |
|
|
5212 |
S |
Polling Rate |
|
|
125 Hz |
0 |
0 |
|
| 4193 |
645 |
|
|
5299 |
S |
Ports |
|
|
1 × AA battery (up to 18 months battery life) |
0 |
110 |
|
| 4226 |
653 |
|
|
5302 |
S |
باتري |
|
|
N/A (wired mouse) |
0 |
100 |
|
| 4058 |
653 |
|
1.00 |
5213 |
S |
باتري |
|
|
1 × AA battery (up to 12 months of usage) |
0 |
100 |
|
| 4279 |
653 |
|
|
5421 |
S |
باتري |
|
|
Rechargeable internal battery (up to 70 days on a full charge) |
0 |
100 |
|
| 2395 |
653 |
|
|
2820 |
S |
باتري |
|
|
1 × AA battery (1.5 V⎓50 mA rated input) |
0 |
100 |
|
| 2393 |
653 |
|
|
2817 |
S |
باتري |
|
|
1 × AAA battery (rated input: 1.5 V ⎓ 50 mA) |
0 |
100 |
|
| 4294 |
653 |
|
|
5421 |
S |
باتري |
|
|
Rechargeable internal battery (up to 70 days on a full charge) |
0 |
100 |
|
| 1665 |
653 |
|
|
2076 |
S |
باتري |
|
|
Up to 12 months of usage powered by a single AA battery |
0 |
100 |
|
| 1664 |
653 |
|
|
2075 |
S |
باتري |
|
|
Up to 18 months of usage powered by a single AA battery |
0 |
100 |
|
| 4279 |
656 |
|
|
1912 |
S |
لون |
|
|
Graphite |
0 |
160 |
|
| 4226 |
656 |
|
|
1559 |
S |
لون |
|
|
White |
0 |
160 |
|
| 4294 |
656 |
|
|
1912 |
S |
لون |
|
|
Graphite |
0 |
160 |
|
| 5899 |
656 |
|
|
1559 |
S |
لون |
|
|
White |
0 |
160 |
|
| 1664 |
656 |
|
|
1912 |
S |
لون |
|
|
Graphite |
0 |
160 |
|
| 4193 |
656 |
|
|
2315 |
S |
لون |
|
|
Red |
0 |
160 |
|
| 4058 |
656 |
|
|
3814 |
S |
لون |
|
|
Black/Grey |
0 |
160 |
|
| 1665 |
656 |
|
|
2077 |
S |
لون |
|
|
Grey |
0 |
160 |
|
| 2399 |
656 |
|
|
1560 |
S |
لون |
|
|
Black |
0 |
160 |
|
| 2171 |
656 |
|
|
1560 |
S |
لون |
|
|
Black |
0 |
160 |
|
| 2393 |
656 |
|
|
1560 |
S |
لون |
|
|
Black |
0 |
160 |
|
| 2172 |
656 |
|
|
1600 |
S |
لون |
|
|
Blue |
0 |
160 |
|
| 2395 |
656 |
|
|
1558 |
S |
لون |
|
|
Pink |
0 |
160 |
|
| 2393 |
657 |
|
|
1666 |
E |
ماركة |
|
|
Xiaomi |
0 |
0 |
|
| 1664 |
657 |
|
|
2061 |
E |
ماركة |
|
|
Logitech |
0 |
0 |
|
| 1665 |
657 |
|
|
2061 |
E |
ماركة |
|
|
Logitech |
0 |
0 |
|
| 4294 |
657 |
|
|
2061 |
E |
ماركة |
|
|
Logitech |
0 |
0 |
|
| 2171 |
657 |
|
|
2078 |
E |
ماركة |
|
|
Hama |
0 |
0 |
|
| 2172 |
657 |
|
|
2078 |
E |
ماركة |
|
|
Hama |
0 |
0 |
|
| 4193 |
657 |
|
|
2061 |
E |
ماركة |
|
|
Logitech |
0 |
0 |
|
| 4279 |
657 |
|
|
2061 |
E |
ماركة |
|
|
Logitech |
0 |
0 |
|
| 2395 |
657 |
|
|
1666 |
E |
ماركة |
|
|
Xiaomi |
0 |
0 |
|
| 2399 |
657 |
|
|
1666 |
E |
ماركة |
|
|
Xiaomi |
0 |
0 |
|
| 4058 |
657 |
|
|
2061 |
E |
ماركة |
|
|
Logitech |
0 |
0 |
|
| 4226 |
657 |
|
|
2061 |
E |
ماركة |
|
|
Logitech |
0 |
0 |
|