Query time 0.00135
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "137.67"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "47.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": 47,
"rows_produced_per_join": 47,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`option_id` in (10137,10139,10140,10138,10141,10447)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "43.54",
"eval_cost": "4.70",
"prefix_cost": "48.24",
"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": 47,
"filtered": "100.00",
"cost_info": {
"read_cost": "37.73",
"eval_cost": "4.70",
"prefix_cost": "90.67",
"data_read_per_join": "35K"
},
"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 |
| Blue |
44487 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Beige |
44488 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Bronze |
44489 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Brown |
44490 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Copper |
44491 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Gold |
44492 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Green |
44493 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Orange |
44494 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pink |
44495 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Purple |
44496 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Red |
44497 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Silver |
44498 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Yellow |
44499 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Black |
44500 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Grey |
44501 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| White |
44502 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Unfinished |
44503 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Light natural wood |
44504 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Dark natural wood |
44505 |
10137 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Multi color (2 colors) |
44506 |
10137 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Multi color ( all different colors) |
44507 |
10137 |
0 |
2.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pastel (1 or 2 color) |
44508 |
10137 |
0 |
3.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pastel ( all different color) |
44509 |
10137 |
0 |
4.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
|
44528 |
10141 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
|
44527 |
10141 |
1 |
5.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 3 letters |
70345 |
10140 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 4 letters |
44510 |
10140 |
2 |
4.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 5 letters |
44511 |
10140 |
3 |
8.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 6 letters |
44512 |
10140 |
4 |
12.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 7 letters |
44513 |
10140 |
5 |
16.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 8 letters |
44514 |
10140 |
6 |
20.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 9 letters |
44515 |
10140 |
7 |
24.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 10 letters |
44516 |
10140 |
8 |
28.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 11 letters |
44517 |
10140 |
9 |
32.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 12 letters |
44518 |
10140 |
10 |
36.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Ship |
45635 |
10447 |
10 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 13 letters |
44519 |
10140 |
11 |
38.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 14 letters |
44520 |
10140 |
12 |
42.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 15 letters |
44521 |
10140 |
13 |
46.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 16 letters |
44522 |
10140 |
14 |
50.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 17 letters |
44523 |
10140 |
15 |
54.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 18 letters |
44524 |
10140 |
16 |
58.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 19 letters |
44525 |
10140 |
17 |
62.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 20 letters |
44526 |
10140 |
18 |
66.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pickup |
130484 |
10447 |
20 |
-3.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|