Query time 0.00057
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "136.81"
},
"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": 38,
"rows_produced_per_join": 38,
"filtered": "100.00",
"index_condition": "(`danishecarter_latest`.`cscart_product_feature_variants`.`variant_id` in (21601,21702,18937,18940,18943,22756,22768,22778,22797,23005,23040,18942,21725,18866,18860,18903,19227,19242,23189,22773,22785,23035,18817,23208,22775,21602,18882,22769,22780,21717,21599,22766,18902,22753,22755,22774,23006,23042))",
"cost_info": {
"read_cost": "83.61",
"eval_cost": "7.60",
"prefix_cost": "91.21",
"data_read_per_join": "100K"
},
"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": 38,
"filtered": "100.00",
"cost_info": {
"read_cost": "38.00",
"eval_cost": "7.60",
"prefix_cost": "136.81",
"data_read_per_join": "114K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
variant_id |
position |
color |
variant |
23005 |
0 |
#ffffff |
2 |
23006 |
0 |
#ffffff |
3 |
23040 |
0 |
#ffffff |
4x2 |
23042 |
0 |
#ffffff |
6x2 |
18902 |
0 |
#ffffff |
A/C (man.) |
19227 |
0 |
#ffffff |
ABS |
22768 |
0 |
#ffffff |
Automatic |
18903 |
0 |
#ffffff |
Automatic air conditioning |
23189 |
0 |
|
auxiliaryHeating |
22769 |
0 |
#ffffff |
Black |
22775 |
0 |
#ffffff |
Blue |
22785 |
0 |
#ffffff |
Cruise control |
21702 |
0 |
#ffffff |
DAF |
22797 |
0 |
#ffffff |
Diesel |
19242 |
0 |
#ffffff |
ESP |
22753 |
0 |
#ffffff |
Euro3 |
22755 |
0 |
#ffffff |
Euro5 |
22756 |
0 |
#ffffff |
Euro6 |
18937 |
0 |
#ffffff |
Fixed |
18817 |
0 |
#ffffff |
Ford |
22774 |
0 |
#ffffff |
Green |
21599 |
0 |
#ffffff |
Hazardous load |
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 |
22773 |
0 |
#ffffff |
Red |
18882 |
0 |
#ffffff |
Renault |
21717 |
0 |
#ffffff |
SCANIA |
22780 |
0 |
#ffffff |
Silver |
21601 |
0 |
#ffffff |
Standard tractor/trailer unit |
18940 |
0 |
#ffffff |
Used vehicle |
21602 |
0 |
#ffffff |
Volume trailer |
21725 |
0 |
#ffffff |
VOLVO |
22778 |
0 |
#ffffff |
White |
18942 |
0 |
#ffffff |
Yes |