Query time 0.00168
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "141.06"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "45.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": 45,
"rows_produced_per_join": 45,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`option_id` in (12933,12033,15352,15353,13067,13066,13739,19751,19752,19747,19749,19750,19748)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "49.75",
"eval_cost": "4.50",
"prefix_cost": "54.25",
"data_read_per_join": "2K"
},
"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": 45,
"filtered": "100.00",
"cost_info": {
"read_cost": "37.31",
"eval_cost": "4.50",
"prefix_cost": "96.06",
"data_read_per_join": "34K"
},
"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 |
| Strawberry |
51704 |
12033 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Chocolate |
51705 |
12033 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Vanilla |
51706 |
12033 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| A |
54915 |
12933 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| B |
54916 |
12933 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| C |
54917 |
12933 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Random |
55353 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| A |
55354 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| B |
55355 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| C |
55356 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| D |
55357 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| E |
55358 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| F |
55359 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| G |
55360 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| H |
55361 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| I |
55362 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| J |
55363 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| K |
55364 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| L |
55365 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| M |
55366 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| N |
55367 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| O |
55368 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| P |
55369 |
13066 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Corset |
58471 |
13739 |
0 |
5.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Baseball stitch |
58472 |
13739 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Axes |
61386 |
15352 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Thor's hammer |
61387 |
15352 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Leaf |
61388 |
15352 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Rose |
61389 |
15352 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Rose (with personalization) |
61392 |
15352 |
0 |
2.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Snap |
77554 |
19747 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Bar closure |
77555 |
19747 |
0 |
5.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
|
77557 |
19748 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| None |
77558 |
19749 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Front |
77559 |
19749 |
0 |
5.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Back |
77560 |
19749 |
0 |
5.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Front and back |
77561 |
19749 |
0 |
8.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 5/8" |
77562 |
19751 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 3/4" |
77563 |
19751 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 1" |
77564 |
19751 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
|
77556 |
19748 |
1 |
5.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|