Query time 0.00299
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "84.33"
},
"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": 136,
"rows_produced_per_join": 44,
"filtered": "32.52",
"index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (4138,4184,4177,4119,4196,4343,4139)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'en')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "58.54",
"eval_cost": "4.42",
"prefix_cost": "62.96",
"data_read_per_join": "34K"
},
"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": 4,
"filtered": "9.53",
"cost_info": {
"read_cost": "11.06",
"eval_cost": "0.42",
"prefix_cost": "78.44",
"data_read_per_join": "1K"
},
"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(517,`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": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.05",
"eval_cost": "0.42",
"prefix_cost": "79.91",
"data_read_per_join": "9K"
},
"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": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.05",
"eval_cost": "0.42",
"prefix_cost": "81.39",
"data_read_per_join": "4K"
},
"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": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.05",
"eval_cost": "0.42",
"prefix_cost": "82.86",
"data_read_per_join": "12K"
},
"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": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.05",
"eval_cost": "0.42",
"prefix_cost": "84.34",
"data_read_per_join": "1K"
},
"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 |
| 4139 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4119 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4196 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4177 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4343 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4184 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4138 |
657 |
|
|
5176 |
E |
Brand |
|
|
ADATA |
0 |
0 |
|
| 4138 |
656 |
|
|
5206 |
S |
Color |
|
|
Standard microSD (black/grey) |
0 |
160 |
|
| 4139 |
656 |
|
|
5206 |
S |
Color |
|
|
Standard microSD (black/grey) |
0 |
160 |
|
| 4343 |
656 |
|
|
1600 |
S |
Color |
|
|
Blue |
0 |
160 |
|
| 4184 |
656 |
|
|
5285 |
S |
Color |
|
|
Standard gray/black (typical for SD cards) |
0 |
160 |
|
| 4196 |
656 |
|
|
5305 |
S |
Color |
|
|
Standard Red/black |
0 |
160 |
|
| 4119 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 4177 |
656 |
|
|
5263 |
S |
Color |
|
|
Grey with black accents |
0 |
160 |
|
| 4138 |
727 |
|
|
5192 |
S |
Data Security |
|
|
supports OS-based password protection and encryption if configured |
0 |
0 |
|
| 4139 |
727 |
|
|
5192 |
S |
Data Security |
|
|
supports OS-based password protection and encryption if configured |
0 |
0 |
|
| 4177 |
727 |
|
|
5260 |
S |
Data Security |
|
|
Reliable storage with error correction support |
0 |
0 |
|
| 4196 |
727 |
|
|
5183 |
S |
Data Security |
|
|
AES 256-bit encryption support |
0 |
0 |
|
| 4184 |
727 |
|
|
5282 |
S |
Data Security |
|
|
Reliable storage with error correction and long-lasting performance |
0 |
0 |
|
| 4343 |
727 |
|
0.00 |
5685 |
S |
Data Security |
|
|
ECC (Error Correcting Code) |
0 |
0 |
|
| 4119 |
727 |
|
|
5187 |
S |
Data Security |
|
|
Supports built-in Error Correction Code (ECC) to detect and fix transfer errors; RoHS compliant; water-proof, X-ray proof, magnet-proof, and temperature resistant |
0 |
0 |
|
| 4184 |
645 |
|
|
5284 |
S |
Ports |
|
|
MicroSDXC with included SD adapter for compatibility with SD slots |
0 |
110 |
|
| 4119 |
645 |
|
|
5189 |
S |
Ports |
|
|
microSD card edge connector; via adapter, fits standard SD card slot |
0 |
110 |
|
| 4196 |
645 |
|
|
5304 |
S |
Ports |
|
|
microSDXC/SDHC with included SD adapter for compatibility with SD slots |
0 |
110 |
|
| 4177 |
645 |
|
|
5262 |
S |
Ports |
|
|
microSD interface with SD adapter for flexibility |
0 |
110 |
|
| 4343 |
645 |
|
|
5490 |
S |
Ports |
|
|
SDXC UHS-I interface |
0 |
110 |
|
| 4139 |
645 |
|
|
5205 |
S |
Ports |
|
|
microSDXC (with SD adapter included) |
0 |
110 |
|
| 4138 |
645 |
|
|
5205 |
S |
Ports |
|
|
microSDXC (with SD adapter included) |
0 |
110 |
|
| 4177 |
726 |
|
|
5261 |
S |
Shok Sensor Protection |
|
|
Built to withstand impacts and rough handling |
0 |
0 |
|
| 4196 |
726 |
|
|
5283 |
S |
Shok Sensor Protection |
|
|
Durable and resistant to physical impact |
0 |
0 |
|
| 4139 |
726 |
|
|
5204 |
S |
Shok Sensor Protection |
|
|
Solid-state flash memory makes it resistant to vibration and minor physical shocks |
0 |
0 |
|
| 4138 |
726 |
|
|
5204 |
S |
Shok Sensor Protection |
|
|
Solid-state flash memory makes it resistant to vibration and minor physical shocks |
0 |
0 |
|
| 4343 |
726 |
|
0.00 |
5686 |
S |
Shok Sensor Protection |
|
|
protects data from drops and impacts |
0 |
0 |
|
| 4184 |
726 |
|
|
5283 |
S |
Shok Sensor Protection |
|
|
Durable and resistant to physical impact |
0 |
0 |
|
| 4119 |
726 |
|
|
5188 |
S |
Shok Sensor Protection |
|
|
solid-state flash memory design for resistance against physical shock and vibration |
0 |
0 |
|
| 4119 |
648 |
|
|
1686 |
S |
Storage |
|
|
32GB |
0 |
170 |
|
| 4184 |
648 |
|
|
1687 |
S |
Storage |
|
|
64GB |
0 |
170 |
|
| 4343 |
648 |
|
|
1687 |
S |
Storage |
|
|
64GB |
0 |
170 |
|
| 4139 |
648 |
|
|
1687 |
S |
Storage |
|
|
64GB |
0 |
170 |
|
| 4196 |
648 |
|
|
1561 |
S |
Storage |
|
|
128GB |
0 |
170 |
|
| 4177 |
648 |
|
|
1561 |
S |
Storage |
|
|
128GB |
0 |
170 |
|
| 4138 |
648 |
|
|
1563 |
S |
Storage |
|
|
512GB |
0 |
170 |
|
| 4184 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4177 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4196 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4139 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4138 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4119 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|
| 4343 |
728 |
|
|
5522 |
S |
Storage type |
|
|
External |
0 |
0 |
|