Query time 0.00089
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "18.91"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"rows_examined_per_scan": 18,
"rows_produced_per_join": 18,
"filtered": "100.00",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_feature_variants`.`variant_id` in (2145,1560,2127,2149,1898,2148,2154,2147,2077,2132,1559,2201,2197,1707,2203,2146,2195,2199))",
"cost_info": {
"read_cost": "10.81",
"eval_cost": "1.80",
"prefix_cost": "12.61",
"data_read_per_join": "20K"
},
"used_columns": [
"variant_id",
"color",
"position"
]
}
},
{
"table": {
"table_name": "cscart_product_feature_variant_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id",
"lang_code"
],
"key_length": "9",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.cscart_product_feature_variants.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 18,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.50",
"eval_cost": "1.80",
"prefix_cost": "18.91",
"data_read_per_join": "54K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
| variant_id |
position |
color |
variant |
| 2145 |
0 |
|
128 MB |
| 2146 |
0 |
|
512 MB |
| 2147 |
0 |
|
64 MB |
| 2197 |
0 |
|
Barcode Printer |
| 1560 |
0 |
#000000 |
Black |
| 2077 |
0 |
#666666 |
Grey |
| 2132 |
0 |
|
Hi-Speed USB 2.0 |
| 2203 |
0 |
|
Label Printer |
| 1707 |
0 |
#ff9900 |
Orange |
| 2199 |
0 |
|
USB 2.0 |
| 2201 |
0 |
|
USB 2.0, Ethernet (10BASE-T/100BASE-TX), Wi-Fi (802.11b/g/n), Bluetooth 2.1 + EDR, USB Host Interface |
| 2127 |
0 |
|
USB 2.0, Ethernet, Wi-Fi (2.4GHz & 5GHz), Wi-Fi Direct |
| 2195 |
0 |
|
USB 2.0, Ethernet, Wi-Fi, Wi-Fi Direct |
| 2154 |
0 |
|
USB 2.0, Wi-Fi, Wi-Fi Direct |
| 1559 |
0 |
#ffffff |
White |
| 1898 |
2 |
|
256MB |
| 2148 |
10 |
#ffffff |
Laser Printer |
| 2149 |
20 |
#ffffff |
Inkjet Printer |