Query time 0.00170
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "35.37"
},
"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": 57,
"rows_produced_per_join": 18,
"filtered": "32.52",
"index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (4934,4960,4933)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'en')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "24.56",
"eval_cost": "1.85",
"prefix_cost": "26.41",
"data_read_per_join": "14K"
},
"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": 1,
"filtered": "9.53",
"cost_info": {
"read_cost": "4.63",
"eval_cost": "0.18",
"prefix_cost": "32.90",
"data_read_per_join": "776"
},
"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(520,`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": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.44",
"eval_cost": "0.18",
"prefix_cost": "33.51",
"data_read_per_join": "4K"
},
"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": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.44",
"eval_cost": "0.18",
"prefix_cost": "34.13",
"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": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.44",
"eval_cost": "0.18",
"prefix_cost": "34.75",
"data_read_per_join": "5K"
},
"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": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.44",
"eval_cost": "0.18",
"prefix_cost": "35.37",
"data_read_per_join": "776"
},
"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 |
| 4933 |
657 |
|
|
2061 |
E |
Brand |
|
|
Logitech |
0 |
0 |
|
| 4960 |
657 |
|
|
2061 |
E |
Brand |
|
|
Logitech |
0 |
0 |
|
| 4934 |
657 |
|
|
2061 |
E |
Brand |
|
|
Logitech |
0 |
0 |
|
| 4933 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 4960 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 4934 |
656 |
|
0.00 |
6283 |
S |
Color |
|
|
Off-White |
0 |
160 |
|
| 4933 |
670 |
|
|
6279 |
S |
Compatibility |
|
|
Windows 8+, macOS 10.10+, and Chrome OS, Works with OBS and XSplit |
0 |
115 |
|
| 4960 |
670 |
|
|
6323 |
S |
Compatibility |
|
|
Operating Systems: Windows 8 or later, macOS 10.10 or later, and ChromeOS, Streaming/Video Calling: Certified for Zoom, Google Meet, and Microsoft Teams, and works with other popular calling and streaming platforms, Windows Hello: Supports infrared-based |
0 |
115 |
|
| 4934 |
670 |
|
|
6291 |
S |
Compatibility |
|
|
Operating Systems: Windows 10 or later, macOS, and ChromeOS, Platforms: Certified for use with Microsoft Teams, Zoom, and Google Meet, Software: Compatible with Logitech's Logi Tune app for djustments and updates |
0 |
115 |
|
| 4960 |
685 |
|
|
6320 |
S |
Mounting Options |
|
|
Detachable Universal Mounting Clip: Fits laptops, LCD displays, and monitors, Tripod Thread: Standard ¼-inch thread for mounting on tripods |
0 |
0 |
|
| 4933 |
685 |
|
|
6276 |
S |
Mounting Options |
|
|
Universal clip for laptops, monitors, or surfaces, Tripod-ready with a standard ¼-inch thread |
0 |
0 |
|
| 4934 |
685 |
|
|
6286 |
S |
Mounting Options |
|
|
Integrated, fixed mounting clip for monitors, laptops, and tabletops, No tripod compatibility |
0 |
0 |
|
| 4933 |
645 |
|
|
6278 |
S |
Ports |
|
|
Attached 5-foot (1.5m) USB-A cable |
0 |
110 |
|
| 4960 |
645 |
|
|
6322 |
S |
Ports |
|
|
USB-A: Connects via an included 5-foot (1.5 m) cable, USB-C Compatibility: Can also be connected to a USB-C port via a USB-A to USB-C cable (included), USB 3.0 Requirement: 4K streaming and recording requires a USB 3.0 port |
0 |
110 |
|
| 4934 |
645 |
|
|
6288 |
S |
Ports |
|
|
Attached 5-foot (1.5 m) USB-C cable for plug-and-play connectivity |
0 |
110 |
|
| 4934 |
717 |
|
|
3976 |
S |
Privacy Option |
|
|
Yes |
0 |
0 |
|
| 4933 |
717 |
|
|
3977 |
S |
Privacy Option |
|
|
No |
0 |
0 |
|
| 4960 |
717 |
|
|
3976 |
S |
Privacy Option |
|
|
Yes |
0 |
0 |
|
| 4960 |
642 |
|
|
6321 |
S |
Resolution |
|
|
4K Ultra HD: 30 frames per second (fps), 1080p Full HD: 60 frames per second (fps), 720p HD: 90 frames per second (fps) for ultra-smooth recording or streaming. |
0 |
50 |
|
| 4934 |
642 |
|
|
6287 |
S |
Resolution |
|
|
Full HD 1080p: 1920x1080 pixels at 30 frames per second (fps) HD 720p: 1280x720 pixels at 30 frames per second (fps) |
0 |
50 |
|
| 4933 |
642 |
|
|
6277 |
S |
Resolution |
|
|
1080p at 30fps, 720p at 60fps for smoother motion |
0 |
50 |
|