Query time 0.00372
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "131.48"
},
"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": 212,
"rows_produced_per_join": 68,
"filtered": "32.52",
"index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (4282,4461,4590,4178,4501,4302,4616,4296,4352,4283,4353)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'en')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "91.27",
"eval_cost": "6.89",
"prefix_cost": "98.16",
"data_read_per_join": "53K"
},
"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": 6,
"filtered": "9.53",
"cost_info": {
"read_cost": "17.23",
"eval_cost": "0.66",
"prefix_cost": "122.29",
"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(513,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(515,`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": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.64",
"eval_cost": "0.66",
"prefix_cost": "124.59",
"data_read_per_join": "14K"
},
"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": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.64",
"eval_cost": "0.66",
"prefix_cost": "126.88",
"data_read_per_join": "7K"
},
"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": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.64",
"eval_cost": "0.66",
"prefix_cost": "129.18",
"data_read_per_join": "19K"
},
"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": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.64",
"eval_cost": "0.66",
"prefix_cost": "131.48",
"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 |
| 4501 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4283 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4296 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4302 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4616 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4352 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4282 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4590 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4353 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4461 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4178 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4353 |
656 |
|
|
2273 |
S |
Color |
|
|
Arctic Grey |
0 |
160 |
|
| 4590 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 4461 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 4352 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 4501 |
656 |
|
|
1600 |
S |
Color |
|
|
Blue |
0 |
160 |
|
| 4296 |
656 |
|
|
2077 |
S |
Color |
|
|
Grey |
0 |
160 |
|
| 4302 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 4616 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 4282 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 4283 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 4178 |
656 |
|
|
5267 |
S |
Color |
|
|
Black with heatsink design |
0 |
160 |
|
| 4302 |
727 |
|
|
5476 |
S |
Data Security |
|
|
Not specified |
0 |
0 |
|
| 4353 |
727 |
|
|
5505 |
S |
Data Security |
|
|
AES 256-bit encryption suppor |
0 |
0 |
|
| 4616 |
727 |
|
|
5773 |
S |
Data Security |
|
|
Advanced NAND technology with error correction for reliable storage |
0 |
0 |
|
| 4352 |
727 |
|
|
5183 |
S |
Data Security |
|
|
AES 256-bit encryption support |
0 |
0 |
|
| 4283 |
727 |
|
|
5435 |
S |
Data Security |
|
|
LDPC ECC technology ensures data integrity and reliability |
0 |
0 |
|
| 4178 |
727 |
|
|
5264 |
S |
Data Security |
|
|
LDPC ECC for reliable data protection |
0 |
0 |
|
| 4282 |
727 |
|
|
5435 |
S |
Data Security |
|
|
LDPC ECC technology ensures data integrity and reliability |
0 |
0 |
|
| 4461 |
727 |
|
|
5542 |
S |
Data Security |
|
|
Supports AES 256-bit encryption and LDPC ECC |
0 |
0 |
|
| 4501 |
727 |
|
|
5567 |
S |
Data Security |
|
|
Supports OS based password protection and encryption if configured |
0 |
0 |
|
| 4590 |
727 |
|
|
5728 |
S |
Data Security |
|
|
Standard flash storage, no hardware encryption |
0 |
0 |
|
| 4296 |
727 |
|
|
5463 |
S |
Data Security |
|
|
Supports AES 256-bit encryption for safe data protection |
0 |
0 |
|
| 4178 |
645 |
|
|
5266 |
S |
Ports |
|
|
PCIe Gen4x4 NVMe M.2 interface |
0 |
110 |
|
| 4296 |
645 |
|
|
5465 |
S |
Ports |
|
|
USB 3.2 Gen2 (Type-C, cable-free design) |
0 |
110 |
|
| 4282 |
645 |
|
|
5437 |
S |
Ports |
|
|
M.2 2280, PCIe Gen3x4, NVMe 1.4 |
0 |
110 |
|
| 4461 |
645 |
|
|
5543 |
S |
Ports |
|
|
PCIe Gen4 x4 M.2 2280 |
0 |
110 |
|
| 4590 |
645 |
|
|
5545 |
S |
Ports |
|
|
USB 3.2 Gen2 |
0 |
110 |
|
| 4353 |
645 |
|
|
5503 |
S |
Ports |
|
|
USB 3.2 Gen2 (Type-C) |
0 |
110 |
|
| 4616 |
645 |
|
|
5781 |
S |
Ports |
|
|
M.2 2280 (PCIe Gen4 x4 interface) |
0 |
110 |
|
| 4302 |
645 |
|
|
5478 |
S |
Ports |
|
|
Dual USB-C / USB-A connectors for broad device compatibility |
0 |
110 |
|
| 4352 |
645 |
|
|
5503 |
S |
Ports |
|
|
USB 3.2 Gen2 (Type-C) |
0 |
110 |
|
| 4501 |
645 |
|
|
5591 |
S |
Ports |
|
|
PCIe Gen3 x4 interface |
0 |
110 |
|
| 4283 |
645 |
|
|
5437 |
S |
Ports |
|
|
M.2 2280, PCIe Gen3x4, NVMe 1.4 |
0 |
110 |
|
| 4501 |
726 |
|
|
5568 |
S |
Shok Sensor Protection |
|
|
Solid state flash memory makes it resistant to vibration and minor physical shocks |
0 |
0 |
|
| 4178 |
726 |
|
|
5265 |
S |
Shok Sensor Protection |
|
|
Solid-state design resistant to shocks and vibrations |
0 |
0 |
|
| 4461 |
726 |
|
0.00 |
5687 |
S |
Shok Sensor Protection |
|
|
designed with durable components for shock resistance |
0 |
0 |
|
| 4352 |
726 |
|
|
5276 |
S |
Shok Sensor Protection |
|
|
Rugged, shock-resistant design |
0 |
0 |
|
| 4353 |
726 |
|
|
5276 |
S |
Shok Sensor Protection |
|
|
Rugged, shock-resistant design |
0 |
0 |
|
| 4616 |
726 |
|
|
5775 |
S |
Shok Sensor Protection |
|
|
Designed for internal installation with durable components |
0 |
0 |
|
| 4282 |
726 |
|
|
5436 |
S |
Shok Sensor Protection |
|
|
Durable, vibration-resistant design (no moving parts) |
0 |
0 |
|
| 4590 |
726 |
|
|
5729 |
S |
Shok Sensor Protection |
|
|
Built-in shock resistance due to solid-state design (no moving parts) |
0 |
0 |
|
| 4302 |
726 |
|
|
5477 |
S |
Shok Sensor Protection |
|
|
No built-in shock sensor |
0 |
0 |
|
| 4296 |
726 |
|
|
5464 |
S |
Shok Sensor Protection |
|
|
Built-in shock resistance to safeguard against drops and impacts |
0 |
0 |
|
| 4283 |
726 |
|
|
5436 |
S |
Shok Sensor Protection |
|
|
Durable, vibration-resistant design (no moving parts) |
0 |
0 |
|
| 4283 |
648 |
|
|
1562 |
S |
Storage |
|
|
256GB |
0 |
170 |
|
| 4353 |
648 |
|
|
1563 |
S |
Storage |
|
|
512GB |
0 |
170 |
|
| 4352 |
648 |
|
|
1563 |
S |
Storage |
|
|
512GB |
0 |
170 |
|
| 4302 |
648 |
|
|
1563 |
S |
Storage |
|
|
512GB |
0 |
170 |
|
| 4178 |
648 |
|
|
1564 |
S |
Storage |
|
|
1TB |
0 |
170 |
|
| 4461 |
648 |
|
|
1564 |
S |
Storage |
|
|
1TB |
0 |
170 |
|
| 4282 |
648 |
|
|
1564 |
S |
Storage |
|
|
1TB |
0 |
170 |
|
| 4296 |
648 |
|
|
1564 |
S |
Storage |
|
|
1TB |
0 |
170 |
|
| 4590 |
648 |
|
|
1565 |
S |
Storage |
|
|
2TB |
0 |
170 |
|
| 4501 |
648 |
|
|
1565 |
S |
Storage |
|
|
2TB |
0 |
170 |
|
| 4616 |
648 |
|
|
5186 |
S |
Storage |
|
|
4TB |
0 |
170 |
|
| 4296 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4616 |
728 |
|
|
5582 |
S |
Storage type |
|
|
Internal SSD |
0 |
0 |
|
| 4178 |
728 |
|
|
5526 |
S |
Storage type |
|
|
Internal |
0 |
0 |
|
| 4282 |
728 |
|
|
5526 |
S |
Storage type |
|
|
Internal |
0 |
0 |
|
| 4283 |
728 |
|
|
5526 |
S |
Storage type |
|
|
Internal |
0 |
0 |
|
| 4590 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4302 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4352 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4353 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4501 |
728 |
|
|
5590 |
S |
Storage type |
|
|
Internal SSD (M.2 NVMe) |
0 |
0 |
|
| 4461 |
728 |
|
|
5526 |
S |
Storage type |
|
|
Internal |
0 |
0 |
|