Query time 0.00334
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "154.01"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "54.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": 54,
"rows_produced_per_join": 54,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`option_id` in (16183,16184,16079,16808,16809)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "47.29",
"eval_cost": "5.40",
"prefix_cost": "52.69",
"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": 54,
"filtered": "100.00",
"cost_info": {
"read_cost": "41.92",
"eval_cost": "5.40",
"prefix_cost": "100.01",
"data_read_per_join": "41K"
},
"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 |
| 3 inches |
62379 |
16079 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 4 inches |
62380 |
16079 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 5 inches |
62381 |
16079 |
0 |
2.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 6 inches |
62382 |
16079 |
0 |
3.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 3 inches |
62880 |
16183 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 4 inches |
62881 |
16183 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 5 inches |
62882 |
16183 |
0 |
2.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 6 inches |
62883 |
16183 |
0 |
3.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 7 inches |
62884 |
16183 |
0 |
5.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 8 inches |
62885 |
16183 |
0 |
6.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| dark blue |
62886 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| light blue |
62887 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| turquoise |
62888 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| brilliant blue |
62889 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| navy blue |
62890 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| burgundy |
62891 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| coral |
62892 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| lime green |
62893 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| grass green |
62894 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| yellow |
62895 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| gold metallic |
62896 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| dark pink |
62897 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| light pink |
62898 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| red |
62899 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| silver gray metallic |
62900 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| gray |
62901 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| lavender |
62902 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| violet |
62903 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| lilac |
62904 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| red metallic |
62905 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| orange metallic |
62906 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| yellow metallic |
62907 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| green metallic |
62908 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| teal metallic |
62909 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| light blue metallic |
62910 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| blue metallic |
62911 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| dark blue metallic |
62912 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| purple metallic |
62913 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| rose gold metallic |
62914 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| opal white |
62915 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| opal green |
62916 |
16184 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 0-3 months |
65796 |
16808 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 3-6 months |
65797 |
16808 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 6-9 months |
65798 |
16808 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 12 months |
65799 |
16808 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 18 months |
65800 |
16808 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 24 months |
65801 |
16808 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| white |
65802 |
16809 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| black |
65803 |
16809 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| navy |
65804 |
16809 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| gray |
65805 |
16809 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| pink |
65806 |
16809 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| light blue |
65807 |
16809 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| red |
65808 |
16809 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|