Query time 0.00510
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "71.90"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_features_values",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "idx_product_feature_variant_id",
"used_key_parts": [
"product_id",
"feature_id",
"lang_code"
],
"key_length": "12",
"rows_examined_per_scan": 68,
"rows_produced_per_join": 13,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "2.68",
"eval_cost": "2.65",
"prefix_cost": "11.08",
"data_read_per_join": "10K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`danishecarter_latest`.`cscart_product_features_values`.`product_id` = 440) and (`danishecarter_latest`.`cscart_product_features_values`.`feature_id` in (873,874,905,906,907,915,839,908,834,831,903,902,836,918,919,904,825,827,837,895,844,851,877,875,913,901,835)) and (`danishecarter_latest`.`cscart_product_features_values`.`lang_code` = 'en'))"
}
},
{
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"feature_id"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"ref": [
"danishecarter_latest.cscart_product_features_values.variant_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 5,
"filtered": "40.31",
"cost_info": {
"read_cost": "13.24",
"eval_cost": "1.07",
"prefix_cost": "26.96",
"data_read_per_join": "14K"
},
"used_columns": [
"variant_id",
"feature_id",
"position",
"mdc_variant"
],
"attached_condition": "(`danishecarter_latest`.`cscart_product_feature_variants`.`feature_id` = `danishecarter_latest`.`cscart_product_features_values`.`feature_id`)"
}
},
{
"table": {
"table_name": "cscart_product_features",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"danishecarter_latest.cscart_product_features_values.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 5,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.34",
"eval_cost": "1.07",
"prefix_cost": "33.37",
"data_read_per_join": "6K"
},
"used_columns": [
"feature_id",
"feature_type"
]
}
},
{
"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_features_values.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 5,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.34",
"eval_cost": "1.07",
"prefix_cost": "39.77",
"data_read_per_join": "16K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"dispatch"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code"
],
"key_length": "206",
"ref": [
"danishecarter_latest.cscart_product_features_values.variant_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 5,
"rows_produced_per_join": 26,
"filtered": "100.00",
"cost_info": {
"read_cost": "26.79",
"eval_cost": "5.34",
"prefix_cost": "71.90",
"data_read_per_join": "45K"
},
"used_columns": [
"name",
"object_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
}
]
}
}
}
}
Result
variant |
variant_id |
feature_id |
selected |
feature_type |
seo_name |
seo_path |
mdc_variant |
1000 |
14386 |
877 |
14386 |
N |
|
|
1000 |
13500 |
14368 |
904 |
14368 |
N |
|
|
13500 |
2 |
12988 |
874 |
12988 |
S |
|
|
2 |
2022 |
14333 |
907 |
14333 |
N |
|
|
2022 |
202305 |
14367 |
903 |
14367 |
N |
|
|
202305 |
2059 |
14370 |
919 |
14370 |
N |
|
|
2059 |
2900 |
14371 |
918 |
14371 |
N |
|
|
2900 |
3 |
14387 |
844 |
14387 |
N |
|
|
3 |
3500 |
12992 |
875 |
12992 |
N |
|
|
3500 |
360° camera |
12771 |
851 |
12771 |
M |
|
|
CAM_360_DEGREES |
4 (Green) |
12218 |
831 |
12218 |
S |
|
|
EMISSIONSSTICKER_GREEN |
5 |
12983 |
873 |
12983 |
S |
|
|
5 |
96 |
14369 |
913 |
14369 |
N |
|
|
96 |
A/C (man.) |
13928 |
905 |
13928 |
S |
|
|
MANUAL_CLIMATISATION |
ABS |
13367 |
895 |
13367 |
M |
|
|
abs |
Adaptive Cruise Control |
12358 |
839 |
12358 |
S |
|
|
ADAPTIVE_CRUISE_CONTROL |
Automatic |
12340 |
836 |
12340 |
S |
|
|
AUTOMATIC_GEAR |
automaticRainSensor |
14403 |
895 |
14403 |
M |
|
|
automaticRainSensor |
auxiliaryHeating |
14377 |
895 |
14377 |
M |
|
|
auxiliaryHeating |
awning |
14402 |
895 |
14402 |
M |
|
|
awning |
centralLocking |
14375 |
895 |
14375 |
M |
|
|
centralLocking |
DETHLEFFS |
11686 |
827 |
11686 |
E |
dethleffs |
|
DETHLEFFS |
electricHeatedSeats |
14390 |
895 |
14390 |
M |
|
|
electricHeatedSeats |
esp |
14389 |
895 |
14389 |
M |
|
|
esp |
EU Edition |
14012 |
915 |
14012 |
S |
|
|
EU |
Euro6 |
12308 |
834 |
12308 |
S |
|
|
EURO6 |
Fixed |
13914 |
901 |
13914 |
S |
|
|
FIXED |
frenchBed |
14379 |
895 |
14379 |
M |
|
|
frenchBed |
Front |
12767 |
851 |
12767 |
M |
|
|
FRONT_SENSORS |
Grey |
12342 |
837 |
12342 |
S |
|
|
GREY |
highBeamAssist |
14397 |
895 |
14397 |
M |
|
|
highBeamAssist |
Hybrid (petrol/electric) |
13922 |
902 |
13922 |
S |
|
|
HYBRID |
leatherSteeringWheel |
14395 |
895 |
14395 |
M |
|
|
leatherSteeringWheel |
middleSeatingArrangement |
14401 |
895 |
14401 |
M |
|
|
middleSeatingArrangement |
multifunctionalWheel |
14400 |
895 |
14400 |
M |
|
|
multifunctionalWheel |
navigationPreparation |
14399 |
895 |
14399 |
M |
|
|
navigationPreparation |
navigationSystem |
14388 |
895 |
14388 |
M |
|
|
navigationSystem |
No |
13936 |
908 |
13936 |
S |
|
|
N |
Other |
10375 |
825 |
10375 |
S |
|
|
OtherMotorhome |
particulateFilterDiesel |
14376 |
895 |
14376 |
M |
|
|
particulateFilterDiesel |
powerAssistedSteering |
14374 |
895 |
14374 |
M |
|
|
powerAssistedSteering |
Rear |
12768 |
851 |
12768 |
M |
|
|
REAR_SENSORS |
rearGarage |
14391 |
895 |
14391 |
M |
|
|
rearGarage |
Self-steering systems |
12770 |
851 |
12770 |
M |
|
|
AUTOMATIC_PARKING |
sepShower |
14392 |
895 |
14392 |
M |
|
|
sepShower |
solarEnergySystem |
14393 |
895 |
14393 |
M |
|
|
solarEnergySystem |
tirePressureMonitoring |
14396 |
895 |
14396 |
M |
|
|
tirePressureMonitoring |
Trailer coupling fix |
12315 |
835 |
12315 |
S |
|
|
TRAILER_COUPLING_FIX |
tv |
14394 |
895 |
14394 |
M |
|
|
tv |
Used vehicle |
13933 |
906 |
13933 |
S |
|
|
USED |
warranty |
14380 |
895 |
14380 |
M |
|
|
warranty |
wc |
14378 |
895 |
14378 |
M |
|
|
wc |
wifiHotspot |
14398 |
895 |
14398 |
M |
|
|
wifiHotspot |