Query time 0.00380
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "72.96"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "25.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": 25,
"rows_produced_per_join": 25,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`option_id` in (19555,19557,19592,19593,19598,19554)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "23.90",
"eval_cost": "2.50",
"prefix_cost": "26.40",
"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": 25,
"filtered": "100.00",
"cost_info": {
"read_cost": "19.06",
"eval_cost": "2.50",
"prefix_cost": "47.96",
"data_read_per_join": "19K"
},
"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 |
| 18-24m |
76908 |
19555 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 2T |
76909 |
19555 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 3T |
76910 |
19555 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 4T |
76911 |
19555 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 5T |
76912 |
19555 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Girl’s 4 |
76913 |
19555 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Girl’s 5/6 |
76914 |
19555 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Girl’s 7/8 |
76915 |
19555 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Girl’s 10/12 |
76916 |
19555 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Girl’s 14 |
76917 |
19555 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Girl’s 16 |
76918 |
19555 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 0-3 |
77071 |
19592 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 12-18m |
77100 |
19598 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 3-9 |
77072 |
19592 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 18-24m |
77101 |
19598 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 9-18 |
77073 |
19592 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 2T |
77102 |
19598 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 18-24 |
77074 |
19592 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 3T |
77103 |
19598 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 4T |
77104 |
19598 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 2-3T |
77075 |
19592 |
5 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 3-4T |
77076 |
19592 |
6 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|