Query time 0.00805
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "54.04"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "18.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": 18,
"rows_produced_per_join": 18,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`option_id` in (467,9764,466,9768,8105,9782)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "18.62",
"eval_cost": "1.80",
"prefix_cost": "20.42",
"data_read_per_join": "864"
},
"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": 18,
"filtered": "100.00",
"cost_info": {
"read_cost": "13.82",
"eval_cost": "1.80",
"prefix_cost": "36.04",
"data_read_per_join": "13K"
},
"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 |
| 9" Pie pan |
2255 |
467 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 9.5" Handled Pie pan |
2256 |
467 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Ruffled Pan |
2257 |
467 |
0 |
7.500 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Red |
36056 |
8105 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Green |
36057 |
8105 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Yellow |
36058 |
8105 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Blue |
36059 |
8105 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Black |
36060 |
8105 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Up to 400 Characters |
43029 |
9764 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 400-500 Characters |
43030 |
9764 |
0 |
5.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 500-600 Characters |
43031 |
9764 |
0 |
10.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 600-700 Characters |
43032 |
9764 |
0 |
15.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Hensley Font |
43094 |
9782 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Prins Font |
43095 |
9782 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Brians Font |
43096 |
9782 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 700-800 Characters |
122292 |
9764 |
0 |
20.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|