Query time 0.00076
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "19.62"
},
"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": 7,
"filtered": "15.56",
"cost_info": {
"read_cost": "9.82",
"eval_cost": "1.40",
"prefix_cost": "11.22",
"data_read_per_join": "7K"
},
"used_columns": [
"variant_id",
"color",
"position"
],
"attached_condition": "(`eshopuga_upgr_4122`.`cscart_product_feature_variants`.`variant_id` in (175,174,176,173,177,178,180))"
}
},
{
"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": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.00",
"eval_cost": "1.40",
"prefix_cost": "19.62",
"data_read_per_join": "21K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
variant_id |
position |
color |
variant |
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 |