Query time 0.00250
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "143.57"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "48.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": 48,
"rows_produced_per_join": 48,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`option_id` in (33904,33636,33799,33800,33881,33882,33797,33913,35594,35597,33025)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "48.04",
"eval_cost": "4.80",
"prefix_cost": "52.84",
"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": 48,
"filtered": "100.00",
"cost_info": {
"read_cost": "37.93",
"eval_cost": "4.80",
"prefix_cost": "95.57",
"data_read_per_join": "36K"
},
"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 |
130225 |
33025 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Boutonniere |
133022 |
33636 |
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 |
|
| Small child 16" |
133735 |
33799 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| White |
133737 |
33800 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 3-pinecone boutonniere |
134041 |
33881 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Boutonniere |
134111 |
33904 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Boutonniere |
134182 |
33913 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Boutonniere |
140524 |
35594 |
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 |
|
| Black elastic band |
130226 |
33025 |
2 |
20.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Wrist corsage |
133023 |
33636 |
2 |
26.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Jute/twine |
133725 |
33797 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Adult 20" |
133736 |
33799 |
2 |
4.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 1 lg pinecone boutonniere |
134042 |
33881 |
2 |
2.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Wrist corsage |
134112 |
33904 |
2 |
11.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Wrist corsage |
134183 |
33913 |
2 |
14.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Wrist corsage |
140525 |
35594 |
2 |
14.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 |
|
| Black beaded band |
130227 |
33025 |
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 |
|
| Wrist corsage |
134043 |
33881 |
3 |
16.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Crown child |
134113 |
33904 |
3 |
11.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Floral crown 20" |
134184 |
33913 |
3 |
18.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Bridesmaid bouquet |
140526 |
35594 |
3 |
43.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 black band |
130228 |
33025 |
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 |
|
| Eggplant |
133740 |
33800 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Bridesmaid bouquet |
134044 |
33881 |
4 |
33.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Crown adult |
134114 |
33904 |
4 |
15.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Floral crown 16" |
134185 |
33913 |
4 |
14.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Medium bridal bouquet |
140527 |
35594 |
4 |
113.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 |
130229 |
33025 |
5 |
25.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Bridal bouquet |
134045 |
33881 |
5 |
138.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Bridesmaid bouquet |
134115 |
33904 |
5 |
40.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Bridesmaid bouquet |
134186 |
33913 |
5 |
38.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Large bridal bouquet |
140528 |
35594 |
5 |
153.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 |
|
| Bright red |
146692 |
33800 |
5 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Bridal bouquet |
134116 |
33904 |
6 |
125.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Bridal bouquet |
134187 |
33913 |
6 |
148.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 |
|
| Dark red |
146693 |
33800 |
6 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Navy |
146694 |
33800 |
7 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Royal blue |
146696 |
33800 |
8 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|