Query time 0.00138
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "88.89"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "29.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": 29,
"rows_produced_per_join": 29,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`option_id` in (34470,35152,34678,34680,34666,34667)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "30.26",
"eval_cost": "2.90",
"prefix_cost": "33.16",
"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": 29,
"filtered": "100.00",
"cost_info": {
"read_cost": "23.83",
"eval_cost": "2.90",
"prefix_cost": "59.89",
"data_read_per_join": "22K"
},
"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 |
135932 |
34470 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 2 |
135933 |
34470 |
0 |
30.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Lavanda |
137038 |
34666 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Rosa |
137039 |
34666 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Acne |
137040 |
34666 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Sândalo Masculino |
137041 |
34666 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Soro |
137042 |
34667 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Creme |
137043 |
34667 |
0 |
10.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Soro+Creme |
137044 |
34667 |
0 |
40.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 2 Soros |
137045 |
34667 |
0 |
30.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 2 Cremes |
137046 |
34667 |
0 |
50.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Lavanda |
137065 |
34678 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Rosa |
137066 |
34678 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Acne |
137067 |
34678 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Sandalo maschile |
137068 |
34678 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Sheri |
137069 |
34680 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Crema |
137070 |
34680 |
0 |
10.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Sheri+Crema |
137071 |
34680 |
0 |
40.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 2 Sheris |
137072 |
34680 |
0 |
30.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 2 Cremas |
137073 |
34680 |
0 |
50.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 3 |
139087 |
34470 |
0 |
60.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Luminous Vanilla |
139089 |
35152 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Luminous Vanilla-Rose |
139090 |
35152 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Dazzling Vanilla |
139091 |
35152 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Dazzling Vanilla-Lavender |
139095 |
35152 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Baunilha-Rose |
139914 |
34666 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Baunilha-Lavanda |
139915 |
34666 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Vaniglia-Rosa |
139916 |
34678 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Vaniglia-Lavanda |
139917 |
34678 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|