Query time 0.00138
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "211.98"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "69.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": 69,
"rows_produced_per_join": 69,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`option_id` in (1137,1134,9071,1154,1216,1217,1136,1319,7607,7608,1135,1273,1153)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "71.62",
"eval_cost": "6.90",
"prefix_cost": "78.52",
"data_read_per_join": "3K"
},
"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": 69,
"filtered": "100.00",
"cost_info": {
"read_cost": "57.56",
"eval_cost": "6.90",
"prefix_cost": "142.98",
"data_read_per_join": "52K"
},
"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 |
Unisex Small |
5176 |
1217 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Unisex Medium |
5177 |
1217 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Unisex Large |
5178 |
1217 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Unisex XL |
5179 |
1217 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Unisex 2XL |
5180 |
1217 |
0 |
5.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Unisex 3XL |
5181 |
1217 |
0 |
5.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Unisex 4XL NAVY ONLY |
5182 |
1217 |
0 |
5.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Unisex 5XL NAVY ONLY |
5183 |
1217 |
0 |
5.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Red |
5502 |
1319 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Navy |
5503 |
1319 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Black |
5504 |
1319 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Green |
5505 |
1319 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Red |
4901 |
1135 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
As Shown |
5218 |
1136 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Red |
5240 |
1216 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Black/White |
32250 |
7607 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
1-15 Names |
32255 |
7608 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
First Class Shipping |
32541 |
1154 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
As Shown |
41866 |
1137 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Hot Pink 24" Long |
4900 |
1134 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Green |
4902 |
1135 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Bright Green |
4911 |
1136 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Red |
4919 |
1137 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
USPS Priority Shipping |
4961 |
1154 |
2 |
8.500 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Light Gray |
5172 |
1216 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Blue/Light Blue |
32251 |
7607 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
16-28 Names |
32256 |
7608 |
2 |
40.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Purple 28-32" Long |
4896 |
1134 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Black |
4903 |
1135 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
White |
4912 |
1136 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Bright Green |
4920 |
1137 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
USPS Expedited Shipping |
4962 |
1154 |
3 |
25.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Navy |
5173 |
1216 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Gray/Light Gray |
32252 |
7607 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
29-38 Names |
32257 |
7608 |
3 |
70.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Black 28-32" Long |
4897 |
1134 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Purple |
4904 |
1135 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Gold |
4913 |
1136 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
White |
4921 |
1137 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Purple |
5174 |
1216 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Black/Red |
32253 |
7607 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
39-42 Names |
32258 |
7608 |
4 |
110.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Royal Blue 28-32" Long |
4898 |
1134 |
5 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
White |
4905 |
1135 |
5 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Royal Blue |
4914 |
1136 |
5 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Purple |
4922 |
1137 |
5 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Royal Blue |
5175 |
1216 |
5 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Red 28-32" Long |
4894 |
1134 |
6 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Royal Blue |
4906 |
1135 |
6 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Purple |
4915 |
1136 |
6 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Black |
4923 |
1137 |
6 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Green 28-32" Long |
4895 |
1134 |
7 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Teal |
4907 |
1135 |
7 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Black |
4916 |
1136 |
7 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Gold |
4924 |
1137 |
7 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Pink |
4908 |
1135 |
8 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Hot Pink |
4917 |
1136 |
8 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Hot Pink |
4925 |
1137 |
8 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Navy |
4909 |
1135 |
9 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Teal |
4918 |
1136 |
9 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Royal Blue |
4926 |
1137 |
9 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Red |
4910 |
1136 |
10 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Teal |
4927 |
1137 |
10 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Orange |
4928 |
1137 |
11 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Light Gold |
5184 |
1136 |
11 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
Orange |
5703 |
1136 |
12 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|