Query time 0.00353
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "27.80"
},
"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": 47,
"rows_produced_per_join": 5,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.40",
"eval_cost": "1.08",
"prefix_cost": "3.60",
"data_read_per_join": "4K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`danishecarter_25_march`.`cscart_product_features_values`.`product_id` = 348) and (`danishecarter_25_march`.`cscart_product_features_values`.`feature_id` in (1055,1151,1106,1107,1041,1057,1046,1050,1072,1059,1047,1071,1067,1061,1064,1044,1069,1103,1155,1056,1052,1063,1070,1105,1111,1077,1054,1084,1110,1108,1062,1043,1053,1104,1156,1083,1060,1068,1085,1081,1082,1109,1045,1153,1154)) and (`danishecarter_25_march`.`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_25_march.cscart_product_features_values.variant_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "41.30",
"cost_info": {
"read_cost": "5.40",
"eval_cost": "0.45",
"prefix_cost": "10.08",
"data_read_per_join": "5K"
},
"used_columns": [
"variant_id",
"feature_id",
"position",
"mdc_variant"
],
"attached_condition": "(`danishecarter_25_march`.`cscart_product_feature_variants`.`feature_id` = `danishecarter_25_march`.`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_25_march.cscart_product_features_values.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.23",
"eval_cost": "0.45",
"prefix_cost": "12.76",
"data_read_per_join": "2K"
},
"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_25_march.cscart_product_features_values.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.23",
"eval_cost": "0.45",
"prefix_cost": "15.44",
"data_read_per_join": "6K"
},
"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_25_march.cscart_product_features_values.variant_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 4,
"rows_produced_per_join": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "10.58",
"eval_cost": "1.78",
"prefix_cost": "27.80",
"data_read_per_join": "15K"
},
"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 |
100 |
25427 |
1060 |
25427 |
N |
|
|
100 |
1000 |
24066 |
1052 |
24066 |
N |
|
|
1000 |
11 |
25421 |
1059 |
25421 |
N |
|
|
11 |
120 |
26020 |
1062 |
26020 |
N |
|
|
120 |
12000 |
25684 |
1108 |
25684 |
N |
|
|
12000 |
14 Days |
24088 |
1055 |
24088 |
S |
|
|
14_days |
1500 |
25695 |
1110 |
25695 |
N |
|
|
1500 |
1500 |
25529 |
1081 |
25529 |
S |
|
|
1500 |
1500 |
26393 |
1155 |
26393 |
N |
|
|
|
1500 |
26394 |
1156 |
26394 |
N |
|
|
|
15000 Kg |
25545 |
1083 |
25545 |
S |
|
|
15000 |
156352 |
26049 |
1063 |
26049 |
N |
|
|
|
2 |
25676 |
1107 |
25676 |
S |
|
|
2 |
2000 |
26395 |
1153 |
26395 |
N |
|
|
|
2000 |
26396 |
1154 |
26396 |
N |
|
|
|
200904 |
26010 |
1064 |
26010 |
N |
|
|
200904 |
2022 |
26004 |
1046 |
26004 |
N |
|
|
|
2500 |
25540 |
1082 |
25540 |
S |
|
|
2500 |
3 |
26051 |
1077 |
26051 |
N |
|
|
|
3 (Yellow) |
25431 |
1061 |
25431 |
S |
|
|
EMISSIONSSTICKER_YELLOW |
4 |
25663 |
1105 |
25663 |
N |
|
|
4 |
4 |
25670 |
1106 |
25670 |
S |
|
|
4 |
6 |
26050 |
1111 |
26050 |
S |
|
|
|
ABS |
26265 |
1151 |
26265 |
M |
|
|
abs |
Ads with pictures |
24079 |
1054 |
24079 |
M |
|
|
ads_with_pictures |
All wheel drive |
25483 |
1071 |
25483 |
S |
|
|
ALL_WHEEL |
Automatic climatisation, 4 zones |
25403 |
1057 |
25403 |
S |
|
|
AUTOMATIC_CLIMATISATION_4_ZONES |
Automatic Transmission |
26307 |
1151 |
26307 |
M |
|
|
automatic_transmission |
Brown |
25471 |
1070 |
25471 |
S |
|
|
BROWN |
Cruise control |
25484 |
1072 |
25484 |
S |
|
|
CRUISE_CONTROL |
Dealer |
24073 |
1053 |
24073 |
S |
|
|
dealer |
Diesel |
25652 |
1103 |
25652 |
S |
|
|
DIESEL |
Diesel |
23793 |
1044 |
23793 |
S |
|
|
DIESEL |
Euro1 |
25450 |
1067 |
25450 |
S |
|
|
EURO1 |
Fixed |
23789 |
1043 |
23789 |
S |
|
|
FIXED |
Front |
25547 |
1084 |
25547 |
M |
|
|
FRONT_SENSORS |
Germany |
23864 |
1050 |
23864 |
S |
|
|
DE |
HOMECAR |
25101 |
1056 |
25101 |
E |
homecar |
|
HOMECAR |
L-shaped seating group |
25658 |
1104 |
25658 |
S |
|
|
lshaped_seating_group |
Manual gearbox |
25465 |
1069 |
25465 |
S |
|
|
MANUAL_GEAR |
Mobile Home |
24181 |
1041 |
24181 |
S |
|
|
MobileHome |
Removable or swiveling |
25553 |
1085 |
25553 |
S |
|
|
frs |
Seat conversion bed |
25694 |
1109 |
25694 |
S |
|
|
seatConversionBed |
Self-steering systems |
25550 |
1084 |
25550 |
M |
|
|
AUTOMATIC_PARKING |
Trailer coupling, detachable |
25464 |
1068 |
25464 |
S |
|
|
TRAILER_COUPLING_DETACHABLE |
Used vehicle |
23802 |
1045 |
23802 |
S |
|
|
USED |
Yes |
23804 |
1047 |
23804 |
S |
|
|
Y |