Query time 0.00157
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "70.01"
},
"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 (17217,17689,16060,26255)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "23.37",
"eval_cost": "2.30",
"prefix_cost": "25.67",
"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": "19.04",
"eval_cost": "2.30",
"prefix_cost": "47.01",
"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 |
| 1.5 inch |
62299 |
16060 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 2 inch |
62300 |
16060 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Nylon headband (nude) |
67521 |
17217 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Alligator clip (1.75") |
67522 |
17217 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Magnet |
67523 |
17217 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Blank |
67524 |
17217 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pumpkins (clear center) |
69850 |
17689 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pumpkins (solid center) |
69851 |
17689 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Leaves |
69852 |
17689 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| spooky (glow in the dark center) |
69854 |
17689 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Oranges |
104722 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pink and white flowers |
104723 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Butterflies |
104724 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Heart pizzas |
104725 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Green Breakfast |
104726 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Floral space |
104727 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Coral glitter |
104728 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Pink fruit glitter |
104729 |
26255 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Split Pink Lemonade |
104730 |
26255 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Split strawberry Shortcake |
104731 |
26255 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Split watermelon |
104732 |
26255 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Split Book loving "Beauty" |
104733 |
26255 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Split Tropical Beach |
104734 |
26255 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|