Query time 0.00106
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 (23321,18882,18902,18937,18940,18943,22756,22763,22768,22778,22785,22797,23005,23035,23040,23341,21702,19227,23189,22755,22766,23349,22724,22779,23350,23034,23046,21574,18860,22773,23367,21725,18903,19242,23006,23043,21710,23375,21717,22781,23042,23377,23208,18866,22775,23407))",
"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 |
23005 |
0 |
#ffffff |
2 |
23006 |
0 |
#ffffff |
3 |
23350 |
0 |
|
4 |
23040 |
0 |
#ffffff |
4x2 |
23042 |
0 |
#ffffff |
6x2 |
23043 |
0 |
#ffffff |
6x4 |
23046 |
0 |
#ffffff |
8x6 |
18902 |
0 |
#ffffff |
A/C (man.) |
19227 |
0 |
#ffffff |
ABS |
22768 |
0 |
#ffffff |
Automatic |
18903 |
0 |
#ffffff |
Automatic air conditioning |
23189 |
0 |
|
auxiliaryHeating |
22775 |
0 |
#ffffff |
Blue |
23407 |
0 |
|
BoxTruck |
21574 |
0 |
#ffffff |
Cement mixer |
23377 |
0 |
|
ChassisTruck |
22785 |
0 |
#ffffff |
Cruise control |
21702 |
0 |
#ffffff |
DAF |
22797 |
0 |
#ffffff |
Diesel |
19242 |
0 |
#ffffff |
ESP |
22755 |
0 |
#ffffff |
Euro5 |
22756 |
0 |
#ffffff |
Euro6 |
18937 |
0 |
#ffffff |
Fixed |
22724 |
0 |
#ffffff |
GINAF |
21710 |
0 |
#ffffff |
IVECO |
23034 |
0 |
#ffffff |
Local traffic |
23035 |
0 |
#ffffff |
Long distance traffic |
18860 |
0 |
#ffffff |
MAN |
22766 |
0 |
#ffffff |
Manual gearbox |
18866 |
0 |
#ffffff |
MERCEDES-BENZ |
23208 |
0 |
|
navigationSystem |
18943 |
0 |
#ffffff |
No |
22779 |
0 |
#ffffff |
Orange |
22773 |
0 |
#ffffff |
Red |
23341 |
0 |
|
RefrigeratorBodyTruck |
18882 |
0 |
#ffffff |
RENAULT |
21717 |
0 |
#ffffff |
SCANIA |
23321 |
0 |
|
StakeBodyAndTarpaulinTruck |
23375 |
0 |
|
SwapChassisTruck |
23367 |
0 |
|
TimberCarrierTruck |
23349 |
0 |
|
TipperTruck |
22763 |
0 |
#ffffff |
Trailer coupling fix |
18940 |
0 |
#ffffff |
Used vehicle |
21725 |
0 |
#ffffff |
VOLVO |
22778 |
0 |
#ffffff |
White |
22781 |
0 |
#ffffff |
Yellow |