Query time 0.00093
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "133.21"
},
"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": 37,
"rows_produced_per_join": 37,
"filtered": "100.00",
"index_condition": "(`danishecarter_latest`.`cscart_product_feature_variants`.`variant_id` in (10670,10830,12308,12340,12988,13029,13034,13372,13383,13385,14264,14265,13914,13918,13933,13936,10877,10892,12307,12357,13929,10669,10900,12218,12989,13036,13373,14286,13935,10836,10787,10671,10852,10668,12338,12305,13928))",
"cost_info": {
"read_cost": "81.41",
"eval_cost": "7.40",
"prefix_cost": "88.81",
"data_read_per_join": "97K"
},
"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": 37,
"filtered": "100.00",
"cost_info": {
"read_cost": "37.00",
"eval_cost": "7.40",
"prefix_cost": "133.21",
"data_read_per_join": "111K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
variant_id |
position |
color |
variant |
12988 |
0 |
#ffffff |
2 |
12989 |
0 |
#ffffff |
3 |
12218 |
0 |
#ffffff |
4 (Green) |
13034 |
0 |
#ffffff |
4x2 |
13036 |
0 |
#ffffff |
6x2 |
13928 |
0 |
#ffffff |
A/C (man.) |
13372 |
0 |
#ffffff |
ABS |
12340 |
0 |
#ffffff |
Automatic |
13929 |
0 |
#ffffff |
Automatic air conditioning |
14264 |
0 |
|
auxiliaryHeating |
12357 |
0 |
#ffffff |
Cruise control |
10877 |
0 |
#ffffff |
DAF |
13918 |
0 |
#ffffff |
Diesel |
13383 |
0 |
#ffffff |
EBS |
13385 |
0 |
#ffffff |
ESP |
12305 |
0 |
#ffffff |
Euro3 |
12307 |
0 |
#ffffff |
Euro5 |
12308 |
0 |
#ffffff |
Euro6 |
13914 |
0 |
#ffffff |
Fixed |
10787 |
0 |
#ffffff |
FORD |
14265 |
0 |
|
fullServiceHistory |
10668 |
0 |
#ffffff |
Hazardous load |
10669 |
0 |
#ffffff |
Heavy load |
13029 |
0 |
#ffffff |
Long distance traffic |
10830 |
0 |
#ffffff |
MAN |
12338 |
0 |
#ffffff |
Manual gearbox |
10836 |
0 |
#ffffff |
MERCEDES-BENZ |
13373 |
0 |
#ffffff |
Navigation System |
13936 |
0 |
#ffffff |
No |
14286 |
0 |
|
particulateFilterDiesel |
10852 |
0 |
#ffffff |
RENAULT |
10892 |
0 |
#ffffff |
SCANIA |
10670 |
0 |
#ffffff |
Standard tractor/trailer unit |
13933 |
0 |
#ffffff |
Used vehicle |
10671 |
0 |
#ffffff |
Volume trailer |
10900 |
0 |
#ffffff |
VOLVO |
13935 |
0 |
#ffffff |
Yes |