Query time 0.00055
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "79.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": 22,
"rows_produced_per_join": 22,
"filtered": "100.00",
"index_condition": "(`danishecarter_latest`.`cscart_product_feature_variants`.`variant_id` in (18937,18943,22756,22797,23005,23040,18903,23035,22785,22755,23006,23042,21601,21702,18933,18940,23189,23208,23264,22757,22768,22778))",
"cost_info": {
"read_cost": "48.41",
"eval_cost": "4.40",
"prefix_cost": "52.81",
"data_read_per_join": "58K"
},
"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": 22,
"filtered": "100.00",
"cost_info": {
"read_cost": "22.00",
"eval_cost": "4.40",
"prefix_cost": "79.21",
"data_read_per_join": "66K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
variant_id |
position |
color |
variant |
23005 |
0 |
#ffffff |
2 |
23006 |
0 |
#ffffff |
3 |
18933 |
0 |
#ffffff |
4 (Green) |
23040 |
0 |
#ffffff |
4x2 |
23042 |
0 |
#ffffff |
6x2 |
22768 |
0 |
#ffffff |
Automatic |
18903 |
0 |
#ffffff |
Automatic air conditioning |
23189 |
0 |
|
auxiliaryHeating |
22785 |
0 |
#ffffff |
Cruise control |
21702 |
0 |
#ffffff |
DAF |
22797 |
0 |
#ffffff |
Diesel |
22755 |
0 |
#ffffff |
Euro5 |
22756 |
0 |
#ffffff |
Euro6 |
22757 |
0 |
#ffffff |
Euro6c |
18937 |
0 |
#ffffff |
Fixed |
23035 |
0 |
#ffffff |
Long distance traffic |
23264 |
0 |
|
navigationPreparation |
23208 |
0 |
|
navigationSystem |
18943 |
0 |
#ffffff |
No |
21601 |
0 |
#ffffff |
Standard tractor/trailer unit |
18940 |
0 |
#ffffff |
Used vehicle |
22778 |
0 |
#ffffff |
White |