Query time 0.02010
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "268.01"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "87.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": 87,
"rows_produced_per_join": 87,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`option_id` in (13735,12933,20858,20856,19752,12033,15352,15353,12583,13067,13066,13739,19751,19747,19749,19750,19748,17689,17217,16060,26255)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "91.80",
"eval_cost": "8.70",
"prefix_cost": "100.50",
"data_read_per_join": "4K"
},
"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": 87,
"filtered": "100.00",
"cost_info": {
"read_cost": "71.81",
"eval_cost": "8.70",
"prefix_cost": "181.01",
"data_read_per_join": "66K"
},
"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 |
|
| 3-6m |
53595 |
12583 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 6-12m |
53596 |
12583 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 12-18m |
53597 |
12583 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 18-36m |
53598 |
12583 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 3-5 years |
53599 |
12583 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 5-10 years |
53600 |
12583 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Teen/Adult |
53601 |
12583 |
0 |
2.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 |
|
| Pierogi Time |
58460 |
13735 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Polish and Proud |
58461 |
13735 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Flag Heart |
58462 |
13735 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Na Zdrowie |
58463 |
13735 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Floral Heart |
58464 |
13735 |
0 |
3.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 |
|
| 1.5 inch |
62299 |
16060 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 2 inch |
62300 |
16060 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Nylon headband (nude) |
67521 |
17217 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Alligator clip (1.75") |
67522 |
17217 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Magnet |
67523 |
17217 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Blank |
67524 |
17217 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pumpkins (clear center) |
69850 |
17689 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pumpkins (solid center) |
69851 |
17689 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Leaves |
69852 |
17689 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| spooky (glow in the dark center) |
69854 |
17689 |
0 |
0.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 |
|
| Gold (A) |
81890 |
20856 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Copper (B) |
81895 |
20856 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Silver (C) |
81896 |
20856 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Silver (A) |
81897 |
20858 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Gold (B) |
81898 |
20858 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Copper (C) |
81899 |
20858 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Bronze (D) |
81900 |
20858 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Oranges |
104722 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pink and white flowers |
104723 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Butterflies |
104724 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Heart pizzas |
104725 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Green Breakfast |
104726 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Floral space |
104727 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Coral glitter |
104728 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pink fruit glitter |
104729 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Split Pink Lemonade |
104730 |
26255 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Split strawberry Shortcake |
104731 |
26255 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Split watermelon |
104732 |
26255 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Split Book loving "Beauty" |
104733 |
26255 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Split Tropical Beach |
104734 |
26255 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
|
77556 |
19748 |
1 |
5.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|