Query time 0.00089
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "20.82"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 45,
"rows_produced_per_join": 8,
"filtered": "17.78",
"cost_info": {
"read_cost": "9.62",
"eval_cost": "1.60",
"prefix_cost": "11.22",
"data_read_per_join": "9K"
},
"used_columns": [
"variant_id",
"color",
"position"
],
"attached_condition": "(`eshopuga_upgr_4122`.`cscart_product_feature_variants`.`variant_id` in (174,173,177,175,176,178,180,181))"
}
},
{
"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": [
"eshopuga_upgr_4122.cscart_product_feature_variants.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "8.00",
"eval_cost": "1.60",
"prefix_cost": "20.82",
"data_read_per_join": "24K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
variant_id |
position |
color |
variant |
181 |
0 |
|
Bouquet in Vase |
180 |
0 |
|
Flower Baskets |
174 |
0 |
|
Mixed Bouquet |
176 |
0 |
|
Orange Roses |
177 |
0 |
|
Pink Roses |
173 |
0 |
|
Red Roses |
175 |
0 |
|
White Roses |
178 |
0 |
|
Yellow Roses |