Query time 0.00358
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "107.70"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "36.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": 36,
"rows_produced_per_join": 36,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`option_id` in (33026,33440,32838,33028,33797,35597,36333,33025)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "35.92",
"eval_cost": "3.60",
"prefix_cost": "39.52",
"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": 36,
"filtered": "100.00",
"cost_info": {
"read_cost": "28.58",
"eval_cost": "3.60",
"prefix_cost": "71.70",
"data_read_per_join": "27K"
},
"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 |
| Boutonniere |
129333 |
32838 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Boutonniere |
130225 |
33025 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Boutonniere |
130230 |
33026 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Boutonniere |
130238 |
33028 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Dark red rosebuds |
132325 |
33440 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Navy |
133724 |
33797 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Boutonniere |
140539 |
35597 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Boutonniere |
143273 |
36333 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Elastic band |
129334 |
32838 |
2 |
20.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Black elastic band |
130226 |
33025 |
2 |
20.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Black elastic band |
130231 |
33026 |
2 |
20.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Elastic band |
130239 |
33028 |
2 |
20.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Bright red rosebuds |
132326 |
33440 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Jute/twine |
133725 |
33797 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pin-on bout with bow |
140540 |
35597 |
2 |
7.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Elastic band corsage |
143274 |
36333 |
2 |
20.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Black rhinestone band |
129328 |
32838 |
3 |
25.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Black beaded band |
130227 |
33025 |
3 |
23.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Black rhinestone band |
130232 |
33026 |
3 |
25.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| White pearl band |
130240 |
33028 |
3 |
23.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Eggplant |
133726 |
33797 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Elastic band wrist corsage |
140541 |
35597 |
3 |
17.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Petite bead band corsage |
143276 |
36333 |
3 |
22.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Petite black band |
130228 |
33025 |
4 |
23.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Silver rhinestone band |
130233 |
33026 |
4 |
25.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Petite silver band |
130241 |
33028 |
4 |
23.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Petite black pearl band |
130246 |
32838 |
4 |
23.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Other-message me |
133727 |
33797 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Petite band wrist corsage |
140542 |
35597 |
4 |
19.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Black rhinestone band corsage |
143275 |
36333 |
4 |
25.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Black rhinestone band |
130229 |
33025 |
5 |
25.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Silver rhinestone band |
130242 |
33028 |
5 |
25.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Black beaded band |
132322 |
32838 |
5 |
23.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Black beaded band |
132324 |
33026 |
5 |
23.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pearl band wrist corsage |
140543 |
35597 |
5 |
19.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Rhinestone wrist corsage |
140544 |
35597 |
6 |
22.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|