Query time 0.00250
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "11.32"
},
"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": "ref",
"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"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 11,
"rows_produced_per_join": 2,
"filtered": "18.82",
"using_index": true,
"cost_info": {
"read_cost": "1.41",
"eval_cost": "0.41",
"prefix_cost": "3.61",
"data_read_per_join": "1K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`danishecarter_25_march`.`cscart_product_features_values`.`feature_id` in (1028,948,949,951,984,975,972,946,945,977,961,947,943,968,959,974,956,944,976)) 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": 0,
"filtered": "32.00",
"cost_info": {
"read_cost": "2.07",
"eval_cost": "0.13",
"prefix_cost": "6.09",
"data_read_per_join": "1K"
},
"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": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.66",
"eval_cost": "0.13",
"prefix_cost": "6.89",
"data_read_per_join": "800"
},
"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": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.66",
"eval_cost": "0.13",
"prefix_cost": "7.68",
"data_read_per_join": "2K"
},
"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": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.11",
"eval_cost": "0.53",
"prefix_cost": "11.32",
"data_read_per_join": "4K"
},
"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 |
10518 |
21578 |
984 |
21578 |
N |
|
|
10518 |
18000 |
21577 |
961 |
21577 |
N |
|
|
18000 |
200904 |
21573 |
946 |
21573 |
N |
|
|
200904 |
294 |
21575 |
956 |
21575 |
N |
|
|
294 |
4 (Green) |
18845 |
972 |
18845 |
S |
|
|
EMISSIONSSTICKER_GREEN |
50 |
21576 |
974 |
21576 |
N |
|
|
50 |
664860 |
21574 |
947 |
21574 |
N |
|
|
664860 |
A/C (man.) |
17461 |
948 |
17461 |
S |
|
|
MANUAL_CLIMATISATION |
ABS |
19620 |
1028 |
19620 |
M |
|
|
abs |
Automatic |
18882 |
977 |
18882 |
S |
|
|
AUTOMATIC_GEAR |
Coaches |
17539 |
943 |
17539 |
S |
|
|
Coach |
coldstore |
21580 |
1028 |
21580 |
M |
|
|
coldstore |
Diesel |
17451 |
945 |
17451 |
S |
|
|
DIESEL |
Drivers sleeping compartment |
19621 |
1028 |
19621 |
M |
|
|
driversSleepingCompartment |
esp |
21579 |
1028 |
21579 |
M |
|
|
esp |
Euro4 |
18868 |
975 |
18868 |
S |
|
|
EURO4 |
Fixed |
17447 |
944 |
17447 |
S |
|
|
FIXED |
Kitchen |
19623 |
1028 |
19623 |
M |
|
|
kitchen |
MAN |
17753 |
968 |
17753 |
E |
man |
|
MAN |
No |
17469 |
951 |
17469 |
S |
|
|
N |
Sleeping Seats |
19625 |
1028 |
19625 |
M |
|
|
sleepSeats |
Trailer coupling fix |
18877 |
976 |
18877 |
S |
|
|
TRAILER_COUPLING_FIX |
Used vehicle |
17466 |
949 |
17466 |
S |
|
|
USED |
WC |
19629 |
1028 |
19629 |
M |
|
|
wc |
White |
17483 |
959 |
17483 |
S |
|
|
WHITE |
_ec_mobile_de_connector.fullservicehistory |
19622 |
1028 |
19622 |
M |
|
|
fullServiceHistory |