Query time 0.00039
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "26.41"
},
"nested_loop": [
{
"table": {
"table_name": "shared_option_variants",
"access_type": "system",
"possible_keys": [
"PRIMARY",
"company_id"
],
"rows_examined_per_scan": 0,
"rows_produced_per_join": 1,
"filtered": "0.00",
"const_row_not_found": true,
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.20",
"prefix_cost": "0.00",
"data_read_per_join": "24"
},
"used_columns": [
"variant_id",
"company_id",
"modifier",
"modifier_type"
]
}
},
{
"table": {
"table_name": "a",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"rows_examined_per_scan": 11,
"rows_produced_per_join": 11,
"filtered": "100.00",
"index_condition": "(`eshopuga_upgr_4122`.`a`.`variant_id` in (2551,2553,2555,2557,3251,3252,3253,3453,2576,3444,3430))",
"cost_info": {
"read_cost": "24.21",
"eval_cost": "2.20",
"prefix_cost": "26.41",
"data_read_per_join": "528"
},
"used_columns": [
"variant_id",
"modifier",
"modifier_type"
]
}
}
]
}
}
Result
modifier |
modifier_type |
variant_id |
0.000 |
A |
2551 |
0.000 |
A |
2553 |
0.000 |
A |
2555 |
0.000 |
A |
2557 |
0.000 |
A |
2576 |
0.000 |
A |
3251 |
0.000 |
A |
3252 |
0.000 |
A |
3253 |
0.000 |
A |
3430 |
0.000 |
A |
3444 |
0.000 |
A |
3453 |