Query time 0.00280
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "27.20"
},
"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": 5,
"filtered": "48.49",
"using_index": true,
"cost_info": {
"read_cost": "1.40",
"eval_cost": "1.07",
"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`.`feature_id` in (1055,1151,1041,1057,1046,1050,1072,1059,1047,1073,1071,1113,1067,1061,1064,1044,1069,1119,1118,1056,1052,1063,1070,1066,1054,1084,1110,1108,1062,1043,1053,1075,1083,1060,1120,1081,1082,1045,1117)) 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": "40.58",
"cost_info": {
"read_cost": "5.33",
"eval_cost": "0.43",
"prefix_cost": "10.01",
"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.16",
"eval_cost": "0.43",
"prefix_cost": "12.60",
"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.16",
"eval_cost": "0.43",
"prefix_cost": "15.20",
"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.27",
"eval_cost": "1.73",
"prefix_cost": "27.20",
"data_read_per_join": "14K"
},
"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 |
10 |
25423 |
1060 |
25423 |
N |
|
|
10 |
1000 |
25490 |
1073 |
25490 |
N |
|
|
1000 |
1000 |
24066 |
1052 |
24066 |
N |
|
|
1000 |
10000 |
25683 |
1108 |
25683 |
N |
|
|
10000 |
110 |
26029 |
1062 |
26029 |
N |
|
|
110 |
12000 |
25700 |
1110 |
25700 |
N |
|
|
12000 |
14 Days |
24088 |
1055 |
24088 |
S |
|
|
14_days |
1500 |
25529 |
1081 |
25529 |
S |
|
|
1500 |
1500 |
25538 |
1082 |
25538 |
S |
|
|
1500 |
15000 Kg |
25545 |
1083 |
25545 |
S |
|
|
15000 |
2 |
25443 |
1066 |
25443 |
N |
|
|
2 |
201006 |
26008 |
1064 |
26008 |
N |
|
|
201006 |
2020 |
26048 |
1046 |
26048 |
N |
|
|
|
3 (Yellow) |
25431 |
1061 |
25431 |
S |
|
|
EMISSIONSSTICKER_YELLOW |
360° camera |
25551 |
1084 |
25551 |
M |
|
|
CAM_360_DEGREES |
422080 |
26019 |
1063 |
26019 |
N |
|
|
422080 |
5 |
25415 |
1059 |
25415 |
N |
|
|
5 |
AC |
24389 |
1056 |
24389 |
E |
ac |
|
AC |
Adaptive Cruise Control |
25485 |
1072 |
25485 |
S |
|
|
ADAPTIVE_CRUISE_CONTROL |
All wheel drive |
25483 |
1071 |
25483 |
S |
|
|
ALL_WHEEL |
Anti-Skid Control (ASR) |
26294 |
1151 |
26294 |
M |
|
|
asr |
Automatic climatisation, 3 zones |
25402 |
1057 |
25402 |
S |
|
|
AUTOMATIC_CLIMATISATION_3_ZONES |
Blipper |
26297 |
1151 |
26297 |
M |
|
|
blipper |
Box-type delivery van |
24188 |
1041 |
24188 |
S |
|
|
BoxTypeDeliveryVan |
Camera |
25549 |
1084 |
25549 |
M |
|
|
REAR_VIEW_CAM |
Dealer |
24073 |
1053 |
24073 |
S |
|
|
dealer |
Diesel |
23793 |
1044 |
23793 |
S |
|
|
DIESEL |
Euro 7 |
25460 |
1067 |
25460 |
S |
|
|
EURO7 |
extra long |
25731 |
1117 |
25731 |
S |
|
|
EXTRA_LONG |
Fixed |
23789 |
1043 |
23789 |
S |
|
|
FIXED |
Germany |
23864 |
1050 |
23864 |
S |
|
|
DE |
Gold |
25476 |
1070 |
25476 |
S |
|
|
GOLD |
H2 |
25738 |
1119 |
25738 |
S |
|
|
H2 |
Inspection new |
24082 |
1054 |
24082 |
M |
|
|
inspection_new |
L2 |
25733 |
1118 |
25733 |
S |
|
|
L2 |
Long distance traffic |
25706 |
1113 |
25706 |
S |
|
|
LONG_DISTANCE_TRAFFIC |
No |
23805 |
1047 |
23805 |
S |
|
|
N |
sdsddsds |
26057 |
1120 |
26057 |
S |
|
|
|
Semi-automatic |
25466 |
1069 |
25466 |
S |
|
|
SEMIAUTOMATIC_GEAR |
Sliding door left |
25499 |
1075 |
25499 |
S |
|
|
SLIDING_DOOR_LEFT |
Used vehicle |
23802 |
1045 |
23802 |
S |
|
|
USED |