Query time 0.00302
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "70.08"
},
"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": 42,
"rows_produced_per_join": 12,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "2.68",
"eval_cost": "2.58",
"prefix_cost": "11.08",
"data_read_per_join": "9K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`danishecarter_latest`.`cscart_product_features_values`.`product_id` = 438) and (`danishecarter_latest`.`cscart_product_features_values`.`feature_id` in (873,874,905,906,915,839,908,834,831,903,902,836,918,919,904,825,827,837,895,878,844,877,875,913,901)) 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.00",
"cost_info": {
"read_cost": "12.92",
"eval_cost": "1.03",
"prefix_cost": "26.58",
"data_read_per_join": "13K"
},
"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.17",
"eval_cost": "1.03",
"prefix_cost": "32.78",
"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.17",
"eval_cost": "1.03",
"prefix_cost": "38.98",
"data_read_per_join": "15K"
},
"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": 25,
"filtered": "100.00",
"cost_info": {
"read_cost": "25.93",
"eval_cost": "5.17",
"prefix_cost": "70.08",
"data_read_per_join": "43K"
},
"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 |
1 |
14372 |
844 |
14372 |
N |
|
|
1 |
10000 |
13011 |
877 |
13011 |
N |
|
|
10000 |
13500 |
14368 |
904 |
14368 |
N |
|
|
13500 |
2 |
12988 |
874 |
12988 |
S |
|
|
2 |
202305 |
14367 |
903 |
14367 |
N |
|
|
202305 |
2059 |
14370 |
919 |
14370 |
N |
|
|
2059 |
2900 |
14371 |
918 |
14371 |
N |
|
|
2900 |
3 |
14373 |
878 |
14373 |
S |
|
|
3 |
3500 |
12992 |
875 |
12992 |
N |
|
|
3500 |
4 (Green) |
12218 |
831 |
12218 |
S |
|
|
EMISSIONSSTICKER_GREEN |
7 |
12985 |
873 |
12985 |
S |
|
|
7 |
96 |
14369 |
913 |
14369 |
N |
|
|
96 |
A/C (man.) |
13928 |
905 |
13928 |
S |
|
|
MANUAL_CLIMATISATION |
ABS |
13367 |
895 |
13367 |
M |
|
|
abs |
Automatic |
12340 |
836 |
12340 |
S |
|
|
AUTOMATIC_GEAR |
auxiliaryHeating |
14377 |
895 |
14377 |
M |
|
|
auxiliaryHeating |
centralLocking |
14375 |
895 |
14375 |
M |
|
|
centralLocking |
Cruise control |
12357 |
839 |
12357 |
S |
|
|
CRUISE_CONTROL |
DETHLEFFS |
11686 |
827 |
11686 |
E |
dethleffs |
|
DETHLEFFS |
Diesel |
13918 |
902 |
13918 |
S |
|
|
DIESEL |
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 |
Grey |
12342 |
837 |
12342 |
S |
|
|
GREY |
No |
13936 |
908 |
13936 |
S |
|
|
N |
particulateFilterDiesel |
14376 |
895 |
14376 |
M |
|
|
particulateFilterDiesel |
powerAssistedSteering |
14374 |
895 |
14374 |
M |
|
|
powerAssistedSteering |
Used vehicle |
13933 |
906 |
13933 |
S |
|
|
USED |
Van |
10482 |
825 |
10482 |
S |
|
|
VanMotorhome |
warranty |
14380 |
895 |
14380 |
M |
|
|
warranty |
wc |
14378 |
895 |
14378 |
M |
|
|
wc |