Query time 0.00076
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "118.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": 33,
"rows_produced_per_join": 33,
"filtered": "100.00",
"index_condition": "(`danishecarter_latest`.`cscart_product_feature_variants`.`variant_id` in (10340,10830,12218,12306,12315,12340,12350,13192,13193,13194,13195,13197,13201,14236,14237,13914,13918,13928,13933,13936,10343,10836,12308,12353,12358,13915,10339,12219,12305,12352,10878,12338,12357))",
"cost_info": {
"read_cost": "72.61",
"eval_cost": "6.60",
"prefix_cost": "79.21",
"data_read_per_join": "87K"
},
"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": 33,
"filtered": "100.00",
"cost_info": {
"read_cost": "33.00",
"eval_cost": "6.60",
"prefix_cost": "118.81",
"data_read_per_join": "99K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
variant_id |
position |
color |
variant |
12219 |
0 |
#ffffff |
3 (Yellow) |
12218 |
0 |
#ffffff |
4 (Green) |
13928 |
0 |
#ffffff |
A/C (man.) |
13192 |
0 |
#ffffff |
ABS |
12358 |
0 |
#ffffff |
Adaptive Cruise Control |
12340 |
0 |
#ffffff |
Automatic |
10339 |
0 |
#ffffff |
Clubbus |
10340 |
0 |
#ffffff |
Coaches |
14237 |
0 |
|
coldstore |
12357 |
0 |
#ffffff |
Cruise control |
13918 |
0 |
#ffffff |
Diesel |
13193 |
0 |
#ffffff |
Drivers sleeping compartment |
10878 |
0 |
#ffffff |
DROEGMOELLER |
14236 |
0 |
|
esp |
12305 |
0 |
#ffffff |
Euro3 |
12306 |
0 |
#ffffff |
Euro4 |
12308 |
0 |
#ffffff |
Euro6 |
13914 |
0 |
#ffffff |
Fixed |
13195 |
0 |
#ffffff |
Kitchen |
10830 |
0 |
#ffffff |
MAN |
12338 |
0 |
#ffffff |
Manual gearbox |
10836 |
0 |
#ffffff |
MERCEDES-BENZ |
13936 |
0 |
#ffffff |
No |
13915 |
0 |
#ffffff |
On request |
10343 |
0 |
#ffffff |
Public service vehicle |
13194 |
0 |
#ffffff |
Service book maintained |
12352 |
0 |
#ffffff |
Silver |
13197 |
0 |
#ffffff |
Sleeping Seats |
12315 |
0 |
#ffffff |
Trailer coupling fix |
13933 |
0 |
#ffffff |
Used vehicle |
13201 |
0 |
#ffffff |
WC |
12350 |
0 |
#ffffff |
White |
12353 |
0 |
#ffffff |
Yellow |