Query time 0.00284
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "143.87"
},
"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": 232,
"rows_produced_per_join": 75,
"filtered": "32.52",
"index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (4351,4908,4895,5066,4903,5063,5065,5064,4889,4893,5061,5062)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'en')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "99.87",
"eval_cost": "7.54",
"prefix_cost": "107.41",
"data_read_per_join": "58K"
},
"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": 7,
"filtered": "9.53",
"cost_info": {
"read_cost": "18.86",
"eval_cost": "0.72",
"prefix_cost": "133.81",
"data_read_per_join": "3K"
},
"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(516,`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": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.80",
"eval_cost": "0.72",
"prefix_cost": "136.33",
"data_read_per_join": "16K"
},
"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": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.80",
"eval_cost": "0.72",
"prefix_cost": "138.84",
"data_read_per_join": "8K"
},
"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": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.80",
"eval_cost": "0.72",
"prefix_cost": "141.36",
"data_read_per_join": "21K"
},
"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": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.80",
"eval_cost": "0.72",
"prefix_cost": "143.87",
"data_read_per_join": "3K"
},
"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 |
| 4903 |
657 |
|
|
5498 |
E |
Brand |
|
|
San Disk |
0 |
0 |
|
| 4893 |
657 |
|
|
5498 |
E |
Brand |
|
|
San Disk |
0 |
0 |
|
| 5066 |
657 |
|
|
5498 |
E |
Brand |
|
|
San Disk |
0 |
0 |
|
| 5061 |
657 |
|
|
5498 |
E |
Brand |
|
|
San Disk |
0 |
0 |
|
| 5062 |
657 |
|
|
5498 |
E |
Brand |
|
|
San Disk |
0 |
0 |
|
| 4889 |
657 |
|
|
5498 |
E |
Brand |
|
|
San Disk |
0 |
0 |
|
| 5065 |
657 |
|
|
5498 |
E |
Brand |
|
|
San Disk |
0 |
0 |
|
| 4895 |
657 |
|
|
5498 |
E |
Brand |
|
|
San Disk |
0 |
0 |
|
| 5063 |
657 |
|
|
5498 |
E |
Brand |
|
|
San Disk |
0 |
0 |
|
| 4908 |
657 |
|
|
5498 |
E |
Brand |
|
|
San Disk |
0 |
0 |
|
| 5064 |
657 |
|
|
5498 |
E |
Brand |
|
|
San Disk |
0 |
0 |
|
| 4351 |
657 |
|
|
5498 |
E |
Brand |
|
|
San Disk |
0 |
0 |
|
| 4895 |
656 |
|
|
6563 |
S |
Color |
|
|
Black/Red |
0 |
160 |
|
| 5061 |
656 |
|
|
6554 |
S |
Color |
|
|
Sea Green |
0 |
160 |
|
| 5066 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 4908 |
656 |
|
|
1607 |
S |
Color |
|
|
silver |
0 |
160 |
|
| 4903 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 4893 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 5065 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 5062 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 4889 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 5063 |
656 |
|
|
6554 |
S |
Color |
|
|
Sea Green |
0 |
160 |
|
| 4351 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 5064 |
656 |
|
|
6563 |
S |
Color |
|
|
Black/Red |
0 |
160 |
|
| 5061 |
727 |
|
|
6550 |
S |
Data Security |
|
|
Password protection with SanDisk SecureAccess™ app |
0 |
0 |
|
| 5062 |
727 |
|
|
6550 |
S |
Data Security |
|
|
Password protection with SanDisk SecureAccess™ app |
0 |
0 |
|
| 5064 |
727 |
|
|
6562 |
S |
Data Security |
|
|
No dedicated security software |
0 |
0 |
|
| 4908 |
727 |
|
|
5499 |
S |
Data Security |
|
|
Password protection via SanDisk SecureAccess software |
0 |
0 |
|
| 5063 |
727 |
|
|
6560 |
S |
Data Security |
|
|
Password protection using SanDisk SecureAccess™ and 128-bit AES encryption |
0 |
0 |
|
| 5065 |
727 |
|
|
6207 |
S |
Data Security |
|
|
SanDisk SecureAccess™ with 128-bit AES encrypted private folder |
0 |
0 |
|
| 4903 |
727 |
|
|
6207 |
S |
Data Security |
|
|
SanDisk SecureAccess™ with 128-bit AES encrypted private folder |
0 |
0 |
|
| 4351 |
727 |
|
|
5499 |
S |
Data Security |
|
|
Password protection via SanDisk SecureAccess software |
0 |
0 |
|
| 5066 |
727 |
|
|
6207 |
S |
Data Security |
|
|
SanDisk SecureAccess™ with 128-bit AES encrypted private folder |
0 |
0 |
|
| 4895 |
727 |
|
0.00 |
6562 |
S |
Data Security |
|
|
No dedicated security software |
0 |
0 |
|
| 4889 |
727 |
|
|
5499 |
S |
Data Security |
|
|
Password protection via SanDisk SecureAccess software |
0 |
0 |
|
| 4893 |
727 |
|
|
5499 |
S |
Data Security |
|
|
Password protection via SanDisk SecureAccess software |
0 |
0 |
|
| 4893 |
645 |
|
|
5501 |
S |
Ports |
|
|
USB 3.0 (backward-compatible with USB 2.0) |
0 |
110 |
|
| 4351 |
645 |
|
|
5501 |
S |
Ports |
|
|
USB 3.0 (backward-compatible with USB 2.0) |
0 |
110 |
|
| 5064 |
645 |
|
|
6212 |
S |
Ports |
|
|
USB 2.0 Type-A connector; plug-and-play compatible with most devices |
0 |
110 |
|
| 4889 |
645 |
|
|
5501 |
S |
Ports |
|
|
USB 3.0 (backward-compatible with USB 2.0) |
0 |
110 |
|
| 5063 |
645 |
|
|
6557 |
S |
Ports |
|
|
Dual Lightning & USB 3.1 Type-A (Compatible with iPhone and iPad with Lightning connector, and with Windows & macOS computers with USB 3.1 Connector) |
0 |
110 |
|
| 5065 |
645 |
|
|
6219 |
S |
Ports |
|
|
USB 3.1 Gen 1 (backward compatible with USB 3.0/2.0) |
0 |
110 |
|
| 5062 |
645 |
|
|
6559 |
S |
Ports |
|
|
USB Type-C & USB Type-A |
0 |
110 |
|
| 5066 |
645 |
|
|
6219 |
S |
Ports |
|
|
USB 3.1 Gen 1 (backward compatible with USB 3.0/2.0) |
0 |
110 |
|
| 4903 |
645 |
|
|
6219 |
S |
Ports |
|
|
USB 3.1 Gen 1 (backward compatible with USB 3.0/2.0) |
0 |
110 |
|
| 5061 |
645 |
|
|
6557 |
S |
Ports |
|
|
Dual Lightning & USB 3.1 Type-A (Compatible with iPhone and iPad with Lightning connector, and with Windows & macOS computers with USB 3.1 Connector) |
0 |
110 |
|
| 4908 |
645 |
|
|
2914 |
S |
Ports |
|
|
1 x USB-C, 1 x USB-A |
0 |
110 |
|
| 4895 |
645 |
|
|
6212 |
S |
Ports |
|
|
USB 2.0 Type-A connector; plug-and-play compatible with most devices |
0 |
110 |
|
| 4903 |
726 |
|
|
6564 |
S |
Shok Sensor Protection |
|
|
Durable plastic swivel design provides basic protection |
0 |
0 |
|
| 4351 |
726 |
|
|
5500 |
S |
Shok Sensor Protection |
|
|
Shock-resistant casing |
0 |
0 |
|
| 5063 |
726 |
|
|
6561 |
S |
Shok Sensor Protection |
|
|
Durable flip design provides basic protection |
0 |
0 |
|
| 5065 |
726 |
|
|
6564 |
S |
Shok Sensor Protection |
|
|
Durable plastic swivel design provides basic protection |
0 |
0 |
|
| 5064 |
726 |
|
|
5571 |
S |
Shok Sensor Protection |
|
|
Solid state components and durable casing make it resistant to vibration and minor physical shocks |
0 |
0 |
|
| 4889 |
726 |
|
|
5500 |
S |
Shok Sensor Protection |
|
|
Shock-resistant casing |
0 |
0 |
|
| 5062 |
726 |
|
|
6558 |
S |
Shok Sensor Protection |
|
|
Durable plastic swivel design provides protection |
0 |
0 |
|
| 4908 |
726 |
|
|
6235 |
S |
Shok Sensor Protection |
|
|
All-metal casing, swivelling design |
0 |
0 |
|
| 5066 |
726 |
|
|
6564 |
S |
Shok Sensor Protection |
|
|
Durable plastic swivel design provides basic protection |
0 |
0 |
|
| 4895 |
726 |
|
|
5571 |
S |
Shok Sensor Protection |
|
|
Solid state components and durable casing make it resistant to vibration and minor physical shocks |
0 |
0 |
|
| 4893 |
726 |
|
|
5500 |
S |
Shok Sensor Protection |
|
|
Shock-resistant casing |
0 |
0 |
|
| 5061 |
726 |
|
|
6551 |
S |
Shok Sensor Protection |
|
|
Durable plastic flip design provides basic protection |
0 |
0 |
|
| 4895 |
648 |
|
|
1888 |
S |
Storage |
|
|
16GB |
0 |
170 |
|
| 5066 |
648 |
|
|
1686 |
S |
Storage |
|
|
32GB |
0 |
170 |
|
| 5064 |
648 |
|
|
1686 |
S |
Storage |
|
|
32GB |
0 |
170 |
|
| 4889 |
648 |
|
|
1687 |
S |
Storage |
|
|
64GB |
0 |
170 |
|
| 5061 |
648 |
|
|
1687 |
S |
Storage |
|
|
64GB |
0 |
170 |
|
| 4351 |
648 |
|
|
1561 |
S |
Storage |
|
|
128GB |
0 |
170 |
|
| 5062 |
648 |
|
|
1561 |
S |
Storage |
|
|
128GB |
0 |
170 |
|
| 5063 |
648 |
|
|
1562 |
S |
Storage |
|
|
256GB |
0 |
170 |
|
| 5065 |
648 |
|
|
1562 |
S |
Storage |
|
|
256GB |
0 |
170 |
|
| 4893 |
648 |
|
|
1562 |
S |
Storage |
|
|
256GB |
0 |
170 |
|
| 4908 |
648 |
|
|
1562 |
S |
Storage |
|
|
256GB |
0 |
170 |
|
| 4903 |
648 |
|
|
1563 |
S |
Storage |
|
|
512GB |
0 |
170 |
|
| 5066 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 5063 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4351 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4889 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4893 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4895 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 5065 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4903 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4908 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 5061 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 5064 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 5062 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|