Query time 0.00464
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "55.45"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "18.00"
},
"nested_loop": [
{
"table": {
"table_name": "a",
"access_type": "range",
"possible_keys": [
"status",
"option_id",
"option_id_2"
],
"key": "option_id",
"used_key_parts": [
"option_id",
"status"
],
"key_length": "6",
"rows_examined_per_scan": 18,
"rows_produced_per_join": 18,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`option_id` in (32159,32160,32161,32162,32166,32165,32164)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "19.78",
"eval_cost": "1.80",
"prefix_cost": "21.58",
"data_read_per_join": "864"
},
"used_columns": [
"variant_id",
"option_id",
"position",
"modifier",
"modifier_type",
"weight_modifier",
"weight_modifier_type",
"point_modifier",
"point_modifier_type",
"status",
"etsy_variant_id"
]
}
},
{
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id",
"lang_code"
],
"key_length": "9",
"ref": [
"goimagine.a.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 18,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.07",
"eval_cost": "1.80",
"prefix_cost": "37.45",
"data_read_per_join": "13K"
},
"used_columns": [
"variant_id",
"lang_code",
"variant_name"
]
}
}
]
}
}
}
Result
| variant_name |
variant_id |
option_id |
position |
modifier |
modifier_type |
weight_modifier |
weight_modifier_type |
point_modifier |
point_modifier_type |
status |
etsy_variant_id |
| Popsocket in white |
127161 |
32159 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Popsocket in black |
127162 |
32159 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Circle |
127163 |
32160 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Geode |
127164 |
32160 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Solid color with Sticker |
127165 |
32161 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Flower only |
127166 |
32161 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Flower with Foil |
127167 |
32161 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Flower with Glitter |
127168 |
32161 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Galaxy |
127169 |
32161 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Fruity Tutti |
127170 |
32161 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Badge Reel (black only) |
127171 |
32159 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Gold |
127175 |
32165 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Silver |
127176 |
32165 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Copper |
127177 |
32165 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| No Foil |
127178 |
32165 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|