Query time 0.00233
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "27.12"
},
"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": 32,
"rows_produced_per_join": 6,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "3.22",
"eval_cost": "1.29",
"prefix_cost": "14.42",
"data_read_per_join": "4K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`danishecarter_latest`.`cscart_product_features_values`.`product_id` = 567) and (`danishecarter_latest`.`cscart_product_features_values`.`feature_id` in (1041,1132,1024,1122,1032,1036,1026,1033,1028,1130,1119,1120,1040,1025,1029,1030,1039,1131,1038)) and (`danishecarter_latest`.`cscart_product_features_values`.`lang_code` = 'de'))"
}
},
{
"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": 0,
"filtered": "8.91",
"cost_info": {
"read_cost": "6.46",
"eval_cost": "0.12",
"prefix_cost": "22.17",
"data_read_per_join": "1K"
},
"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": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.58",
"eval_cost": "0.12",
"prefix_cost": "22.86",
"data_read_per_join": "695"
},
"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": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.58",
"eval_cost": "0.12",
"prefix_cost": "23.55",
"data_read_per_join": "1K"
},
"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": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "0.58",
"prefix_cost": "27.12",
"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 |
0.000 |
23102 |
1038 |
23102 |
N |
|
|
|
1000 |
23184 |
1130 |
23184 |
N |
|
|
|
10000 |
18913 |
1025 |
18913 |
N |
|
|
10000 |
14 Days |
19226 |
1041 |
19226 |
S |
|
|
14_days |
2 (Red) |
18935 |
1028 |
18935 |
S |
|
|
EMISSIONSSTICKER_RED |
2015 |
23172 |
1032 |
23172 |
N |
|
|
2015 |
271 |
23183 |
1029 |
23183 |
N |
|
|
271 |
3 |
18916 |
1026 |
18916 |
N |
|
|
3 |
50 |
23179 |
1131 |
23179 |
N |
|
|
|
All Wheel Drive |
23180 |
1132 |
23180 |
M |
|
|
|
Automatic climatisation, 2 zones |
18904 |
1024 |
18904 |
S |
|
|
AUTOMATIC_CLIMATISATION_2_ZONES |
Dealer |
19211 |
1039 |
19211 |
S |
|
|
dealer |
Fixed |
18937 |
1030 |
18937 |
S |
|
|
FIXED |
FORD_REIMO |
23178 |
1120 |
23178 |
E |
fordreimo-en |
|
|
Front hydraulics |
23181 |
1132 |
23181 |
M |
|
|
|
Front PTO |
23182 |
1132 |
23182 |
M |
|
|
|
Germany |
19002 |
1036 |
19002 |
S |
|
|
DE |
HU New |
19214 |
1040 |
19214 |
M |
|
|
hunew |
municipal vehicle |
19221 |
1040 |
19221 |
M |
|
|
municipal_vehicle |
Other agricultural vehicles |
23177 |
1119 |
23177 |
S |
|
|
|
Rental possible |
19216 |
1040 |
19216 |
M |
|
|
rental_possible |
Used vehicle |
23075 |
1122 |
23075 |
S |
|
|
|
Yes |
18942 |
1033 |
18942 |
S |
|
|
Y |