Query time 0.00117
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "64.91"
},
"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 (35007,34657,31220,25100)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "20.53",
"eval_cost": "2.30",
"prefix_cost": "22.83",
"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": "16.79",
"eval_cost": "2.30",
"prefix_cost": "41.91",
"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 |
| (2 In Stock) Rose & Bergamot |
98797 |
25100 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Lavender 3oz |
136619 |
31220 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Lavender Body Butter |
137012 |
34657 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Rosemary (4 Available) |
138449 |
35007 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| (2 In Stock) Lavender & Sage |
98798 |
25100 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Lemongrass 4oz |
136620 |
31220 |
2 |
2.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Vanilla Body Butter |
137013 |
34657 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Frankincense (4 Available) |
138450 |
35007 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| (2 In Stock) Eucalyptus & Spearmint |
98799 |
25100 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Rosemary Eucalyptus 4oz |
136621 |
31220 |
3 |
2.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Chocolate Ganache Body Butter |
137014 |
34657 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Sandalwood (4 Available) |
138451 |
35007 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| (2 In Stock) Classic Vanilla |
98800 |
25100 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pomegranate Vanilla 3oz |
136622 |
31220 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| (2 In Stock) Dark Rich Chocolate |
98801 |
25100 |
5 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| (2 In Stock) Cinnamon Sticks |
98802 |
25100 |
6 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Rose Kaolin Clay 3.5oz |
136624 |
31220 |
6 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Unscented Oameal 4oz |
136625 |
31220 |
7 |
2.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Blueberry Cobbler |
139801 |
25100 |
7 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Enchanted Love Spell 3oz |
136626 |
31220 |
8 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Strawberries & Cream |
139802 |
25100 |
8 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Unscented Oatmeal 3oz |
136627 |
31220 |
9 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Eucalyptus Rosemary 3oz |
136628 |
31220 |
10 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|