Query time 0.00094
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "165.61"
},
"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": 46,
"rows_produced_per_join": 46,
"filtered": "100.00",
"index_condition": "(`danishecarter_latest`.`cscart_product_feature_variants`.`variant_id` in (14381,10852,12308,12315,12340,12350,12357,12988,13029,13034,13914,13918,13928,13933,13936,14407,10877,12307,12338,13396,14412,14419,11878,12351,14420,13028,13040,10705,10830,12345,10598,10900,12989,13037,13410,13929,10885,14449,10892,12353,13036,14453,13397,10836,12347,14492))",
"cost_info": {
"read_cost": "101.21",
"eval_cost": "9.20",
"prefix_cost": "110.41",
"data_read_per_join": "121K"
},
"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": [
"danishecarter_latest.cscart_product_feature_variants.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 46,
"filtered": "100.00",
"cost_info": {
"read_cost": "46.00",
"eval_cost": "9.20",
"prefix_cost": "165.61",
"data_read_per_join": "139K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
variant_id |
position |
color |
variant |
12988 |
0 |
#ffffff |
2 |
12989 |
0 |
#ffffff |
3 |
14420 |
0 |
|
4 |
13034 |
0 |
#ffffff |
4x2 |
13036 |
0 |
#ffffff |
6x2 |
13037 |
0 |
#ffffff |
6x4 |
13040 |
0 |
#ffffff |
8x6 |
13928 |
0 |
#ffffff |
A/C (man.) |
13396 |
0 |
#ffffff |
ABS |
12340 |
0 |
#ffffff |
Automatic |
13929 |
0 |
#ffffff |
Automatic air conditioning |
14412 |
0 |
|
auxiliaryHeating |
12347 |
0 |
#ffffff |
Blue |
14492 |
0 |
|
BoxTruck |
10705 |
0 |
#ffffff |
Cement mixer |
14453 |
0 |
|
ChassisTruck |
12357 |
0 |
#ffffff |
Cruise control |
10877 |
0 |
#ffffff |
DAF |
13918 |
0 |
#ffffff |
Diesel |
13410 |
0 |
#ffffff |
ESP |
12307 |
0 |
#ffffff |
Euro5 |
12308 |
0 |
#ffffff |
Euro6 |
13914 |
0 |
#ffffff |
Fixed |
11878 |
0 |
#ffffff |
GINAF |
10885 |
0 |
#ffffff |
IVECO |
13028 |
0 |
#ffffff |
Local traffic |
13029 |
0 |
#ffffff |
Long distance traffic |
10830 |
0 |
#ffffff |
MAN |
12338 |
0 |
#ffffff |
Manual gearbox |
10836 |
0 |
#ffffff |
Mercedes-Benz |
13397 |
0 |
#ffffff |
Navigation System |
13936 |
0 |
#ffffff |
No |
12351 |
0 |
#ffffff |
Orange |
12345 |
0 |
#ffffff |
Red |
14407 |
0 |
|
RefrigeratorBodyTruck |
10852 |
0 |
#ffffff |
Renault |
10892 |
0 |
#ffffff |
SCANIA |
14381 |
0 |
|
StakeBodyAndTarpaulinTruck |
14449 |
0 |
|
SwapChassisTruck |
10598 |
0 |
#ffffff |
Timber carrier |
14419 |
0 |
|
TipperTruck |
12315 |
0 |
#ffffff |
Trailer coupling fix |
13933 |
0 |
#ffffff |
Used vehicle |
10900 |
0 |
#ffffff |
VOLVO |
12350 |
0 |
#ffffff |
White |
12353 |
0 |
#ffffff |
Yellow |