Query time 0.00518
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "69.70"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "23.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": 23,
"rows_produced_per_join": 23,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`option_id` in (33892,32207,32260,32540,32541)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "23.47",
"eval_cost": "2.30",
"prefix_cost": "25.77",
"data_read_per_join": "1K"
},
"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": 23,
"filtered": "100.00",
"cost_info": {
"read_cost": "18.64",
"eval_cost": "2.30",
"prefix_cost": "46.70",
"data_read_per_join": "17K"
},
"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 |
| SOLD OUT Spiced Vanilla Pumpkin |
127524 |
32260 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Medium |
127535 |
32207 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Medium |
128484 |
32540 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Medium |
128486 |
32541 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Cocoa Vanilla Truffle |
134080 |
33892 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Large |
127317 |
32207 |
2 |
6.950 |
A |
0.800 |
A |
0.000 |
A |
A |
|
| Garden Forest |
127525 |
32260 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Large |
128485 |
32540 |
2 |
2.050 |
A |
0.250 |
A |
0.000 |
A |
A |
|
| Large |
128487 |
32541 |
2 |
2.050 |
A |
0.250 |
A |
0.000 |
A |
A |
|
| Creamy Dreamy Coconut |
134061 |
33892 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Sugared Plum Jam |
127526 |
32260 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Steel Roses |
134062 |
33892 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Peace |
127527 |
32260 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Sugared Plum Jam |
134063 |
33892 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Steel Roses |
127528 |
32260 |
5 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Strawberry Almond |
134064 |
33892 |
5 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Cashmere Woods |
127529 |
32260 |
6 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Tangerine Peach |
134065 |
33892 |
6 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Spiced Tea |
127530 |
32260 |
7 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Perfection |
127531 |
32260 |
8 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| The Hotel Spa |
127532 |
32260 |
9 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Mexia Sunset |
127533 |
32260 |
10 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Lemons & Lilacs |
127534 |
32260 |
11 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|