Query time 0.00067
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "14.61"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "a",
"access_type": "ref",
"possible_keys": [
"status",
"option_id",
"option_id_2"
],
"key": "option_id",
"used_key_parts": [
"option_id",
"status"
],
"key_length": "6",
"ref": [
"const",
"const"
],
"rows_examined_per_scan": 9,
"rows_produced_per_join": 9,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.06",
"eval_cost": "0.90",
"prefix_cost": "6.96",
"data_read_per_join": "432"
},
"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": 9,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.75",
"eval_cost": "0.90",
"prefix_cost": "14.61",
"data_read_per_join": "6K"
},
"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 |
| 11" x 14" matted photo |
13153 |
3054 |
10 |
15.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 16" x 20" matted photo |
13154 |
3054 |
20 |
45.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 8" x 12" photo |
13155 |
3054 |
30 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 12" x 18" photo |
13156 |
3054 |
40 |
23.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 16" x 24" photo |
13157 |
3054 |
50 |
65.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 20" x 30" photo |
13158 |
3054 |
60 |
95.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 8" x 10" photo cropped |
50835 |
3054 |
70 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 11" x 14" photo cropped |
50836 |
3054 |
80 |
10.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 16" x 24" framed photo |
24890 |
3054 |
90 |
160.050 |
A |
0.000 |
A |
0.000 |
A |
A |
|