Query time 0.00284
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "105.69"
},
"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": 172,
"rows_produced_per_join": 55,
"filtered": "32.52",
"index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (5458,5328,5047,5365,5033)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'en')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "73.07",
"eval_cost": "5.59",
"prefix_cost": "78.66",
"data_read_per_join": "43K"
},
"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": "13.98",
"eval_cost": "0.53",
"prefix_cost": "98.23",
"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(521,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(522,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(535,`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.33",
"eval_cost": "0.53",
"prefix_cost": "100.10",
"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.33",
"eval_cost": "0.53",
"prefix_cost": "101.96",
"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.33",
"eval_cost": "0.53",
"prefix_cost": "103.83",
"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.33",
"eval_cost": "0.53",
"prefix_cost": "105.69",
"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 |
| 5328 |
657 |
|
|
6403 |
E |
Brand |
|
|
Hikvision |
0 |
0 |
|
| 5047 |
657 |
|
|
6404 |
E |
Brand |
|
|
Holowits |
0 |
0 |
|
| 5033 |
657 |
|
|
6404 |
E |
Brand |
|
|
Holowits |
0 |
0 |
|
| 5458 |
657 |
|
|
6403 |
E |
Brand |
|
|
Hikvision |
0 |
0 |
|
| 5365 |
657 |
|
|
6403 |
E |
Brand |
|
|
Hikvision |
0 |
0 |
|
| 5458 |
745 |
|
|
7031 |
S |
Camera Connectivity |
|
|
Wired / Analog 4-in-1 (TVI / AHD / CVI / CVBS) |
0 |
0 |
|
| 5047 |
745 |
|
|
6420 |
S |
Camera Connectivity |
|
|
Wired (Ethernet, PoE) |
0 |
0 |
|
| 5328 |
745 |
|
|
7011 |
S |
Camera Connectivity |
|
|
Wired / Network |
0 |
0 |
|
| 5033 |
745 |
|
|
6420 |
S |
Camera Connectivity |
|
|
Wired (Ethernet, PoE) |
0 |
0 |
|
| 5365 |
745 |
|
|
7031 |
S |
Camera Connectivity |
|
|
Wired / Analog 4-in-1 (TVI / AHD / CVI / CVBS) |
0 |
0 |
|
| 5365 |
744 |
|
|
7081 |
S |
Camera Type |
|
|
Fixed Bullet Camera |
0 |
0 |
|
| 5033 |
744 |
|
|
6421 |
S |
Camera Type |
|
|
Bullet (Outdoor) |
0 |
0 |
|
| 5328 |
744 |
|
|
7012 |
S |
Camera Type |
|
|
Fixed Mini Bullet Camera |
0 |
0 |
|
| 5458 |
744 |
|
|
7081 |
S |
Camera Type |
|
|
Fixed Bullet Camera |
0 |
0 |
|
| 5047 |
744 |
|
|
6421 |
S |
Camera Type |
|
|
Bullet (Outdoor) |
0 |
0 |
|
| 5458 |
656 |
|
|
1559 |
S |
Color |
|
|
white |
0 |
160 |
|
| 5365 |
656 |
|
|
1559 |
S |
Color |
|
|
white |
0 |
160 |
|
| 5033 |
656 |
|
|
1559 |
S |
Color |
|
|
white |
0 |
160 |
|
| 5047 |
656 |
|
|
1559 |
S |
Color |
|
|
white |
0 |
160 |
|
| 5328 |
656 |
|
|
1559 |
S |
Color |
|
|
white |
0 |
160 |
|
| 5365 |
735 |
|
|
7082 |
S |
Field of View (FOV) |
|
|
2.8 mm, horizontal FOV: 106.4°, vertical FOV: 57.9°, diagonal FOV: 124.6° |
0 |
0 |
|
| 5458 |
735 |
|
|
7086 |
S |
Field of View (FOV) |
|
|
2.8 mm, horizontal FOV: 101°, vertical FOV: 56°, diagonal FOV: 118° |
0 |
0 |
|
| 5328 |
735 |
|
|
7021 |
S |
Field of View (FOV) |
|
|
2.8 mm, horizontal FOV: 101°, vertical FOV: 60°, diagonal FOV: 122° |
0 |
0 |
|
| 5033 |
735 |
|
|
6526 |
S |
Field of View (FOV) |
|
|
79.2 |
0 |
0 |
|
| 5047 |
735 |
|
|
6481 |
S |
Field of View (FOV) |
|
|
87° |
0 |
0 |
|
| 5365 |
736 |
|
|
7030 |
S |
Focal Length |
|
|
2.8 mm / 3.6 mm |
0 |
0 |
|
| 5458 |
736 |
|
|
7225 |
S |
Focal Length |
|
|
2.8 mm / 3.6 mm / 6 mm |
0 |
0 |
|
| 5047 |
736 |
|
|
6482 |
S |
Focal Length |
|
|
3.6mm fixed |
0 |
0 |
|
| 5328 |
736 |
|
|
7030 |
S |
Focal Length |
|
|
2.8 mm / 3.6 mm |
0 |
0 |
|
| 5033 |
736 |
|
|
6482 |
S |
Focal Length |
|
|
3.6mm fixed |
0 |
0 |
|
| 5458 |
737 |
|
|
7226 |
S |
Night Mode |
|
|
Hybrid light (IR + white light) up to 60 m |
0 |
0 |
|
| 5047 |
737 |
|
|
6424 |
S |
Night Mode |
|
|
Supported; automatic (ICR), color, B/W, scheduled |
0 |
0 |
|
| 5328 |
737 |
|
|
7015 |
S |
Night Mode |
|
|
IR Night Vision up to 30m |
0 |
0 |
|
| 5365 |
737 |
|
|
7083 |
S |
Night Mode |
|
|
IR Night Vision up to 40 m |
0 |
0 |
|
| 5033 |
737 |
|
|
6437 |
S |
Night Mode |
|
|
Full-color with double light; automatic (ICR), color, B/W, scheduled |
0 |
0 |
|
| 5328 |
738 |
|
|
7016 |
S |
Operating Conditions |
|
|
-30°C to +60°C, weather-resistant (IP67) |
0 |
0 |
|
| 5047 |
738 |
|
|
6336 |
S |
Operating Conditions |
|
|
-40 °C to 60 °C |
0 |
0 |
|
| 5365 |
738 |
|
|
7084 |
S |
Operating Conditions |
|
|
-40 °C to +60 °C; humidity ≤ 90% non-condensing |
0 |
0 |
|
| 5033 |
738 |
|
|
6336 |
S |
Operating Conditions |
|
|
-40 °C to 60 °C |
0 |
0 |
|
| 5458 |
738 |
|
|
7227 |
S |
Operating Conditions |
|
|
-40 °C to +60 °C, humidity ≤ 90% non-condensing; IP67 rated |
0 |
0 |
|
| 5458 |
645 |
|
|
7039 |
S |
Ports |
|
|
One port for four switchable signals (TVI/AHD/CVI/CVBS) |
0 |
110 |
|
| 5047 |
645 |
|
|
6426 |
S |
Ports |
|
|
1×RJ-45, 1×DC |
0 |
110 |
|
| 5033 |
645 |
|
|
6426 |
S |
Ports |
|
|
1×RJ-45, 1×DC |
0 |
110 |
|
| 5365 |
645 |
|
0.00 |
7085 |
S |
Ports |
|
|
BNC output switchable among TVI / AHD / CVI / CVBS |
0 |
110 |
|
| 5328 |
645 |
|
|
7018 |
S |
Ports |
|
|
Power, Network (RJ-45) |
0 |
110 |
|
| 5047 |
642 |
|
|
6475 |
S |
Resolution |
|
|
5MP (2592×1944) |
0 |
50 |
|
| 5328 |
642 |
|
|
7017 |
S |
Resolution |
|
|
2 MP (1920 × 1080) Full HD |
0 |
50 |
|
| 5458 |
642 |
|
|
7017 |
S |
Resolution |
|
|
2 MP (1920 × 1080) Full HD |
0 |
50 |
|
| 5365 |
642 |
|
|
7017 |
S |
Resolution |
|
|
2 MP (1920 × 1080) Full HD |
0 |
50 |
|
| 5033 |
642 |
|
|
6438 |
S |
Resolution |
|
|
5MP (2880×1620) |
0 |
50 |
|
| 5047 |
646 |
|
0.00 |
6457 |
S |
Sensor |
|
|
AI detection (person, vehicle, object) |
0 |
130 |
|
| 5033 |
646 |
|
|
6527 |
S |
Sensor |
|
|
AI detection (person, vehicle, crowd flow, behavior analysis) |
0 |
130 |
|
| 5328 |
646 |
|
2.00 |
7023 |
S |
Sensor |
|
|
2 MP CMOS |
0 |
130 |
|
| 5458 |
646 |
|
|
7023 |
S |
Sensor |
|
|
2 MP CMOS |
0 |
130 |
|
| 5365 |
646 |
|
|
7023 |
S |
Sensor |
|
|
2 MP CMOS |
0 |
130 |
|
| 5047 |
648 |
|
|
6418 |
S |
Storage |
|
|
microSD card slot (up to 256 GB), NAS, cloud |
0 |
170 |
|
| 5033 |
648 |
|
|
6418 |
S |
Storage |
|
|
microSD card slot (up to 256 GB), NAS, cloud |
0 |
170 |
|
| 5328 |
648 |
|
|
7020 |
S |
Storage |
|
|
Supports NVR / Cloud / MicroSD (depends on model) |
0 |
170 |
|
| 5458 |
648 |
|
|
7036 |
S |
Storage |
|
|
Uses external DVRs or recorders compatible with its analog outputs |
0 |
170 |
|
| 5365 |
648 |
|
|
7036 |
S |
Storage |
|
|
Uses external DVRs or recorders compatible with its analog outputs |
0 |
170 |
|