Query time 0.00686
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "134.24"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "46.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": 46,
"rows_produced_per_join": 46,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`option_id` in (1925,11377,11378,11379,1322,9557,9558,1833,9552,8202)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "43.67",
"eval_cost": "4.60",
"prefix_cost": "48.27",
"data_read_per_join": "2K"
},
"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": 46,
"filtered": "100.00",
"cost_info": {
"read_cost": "35.37",
"eval_cost": "4.60",
"prefix_cost": "88.24",
"data_read_per_join": "35K"
},
"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 |
| 5" inches |
7757 |
1833 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 8 inches |
8090 |
1925 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Dusty Rose |
42107 |
9552 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Dusty Rose |
42192 |
9557 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| White/Gold |
42195 |
9558 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Sand |
48378 |
11378 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Peace sign hand |
48381 |
11379 |
1 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 5.25" inches |
7758 |
1833 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 8.5 inches |
8091 |
1925 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Seafoam |
42108 |
9552 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Seafoam |
42193 |
9557 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| White/Black |
42196 |
9558 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Paw Print |
48382 |
11379 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Peanut |
50517 |
11378 |
2 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Teal/dyed jade |
5522 |
1322 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 5.50" inches |
7759 |
1833 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 9 inches |
8092 |
1925 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Peach |
42109 |
9552 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Set of 2 /Dusty Rose |
42194 |
9557 |
3 |
8.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Tan |
48377 |
11378 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| No Charm |
51702 |
11379 |
3 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 5.75" inches |
7760 |
1833 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 9.5 inches |
8093 |
1925 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Any 2 |
42111 |
9552 |
4 |
8.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Set of 2 /Seafoam |
42197 |
9557 |
4 |
8.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| White |
48380 |
11378 |
4 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 6" inches |
7752 |
1833 |
5 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 10 inches |
8094 |
1925 |
5 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| All 3 |
42110 |
9552 |
5 |
16.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Gray |
49635 |
11378 |
5 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 6.25" inches |
7753 |
1833 |
6 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 10.5 inches |
8095 |
1925 |
6 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Black |
48379 |
11378 |
6 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 6.50" inches |
7754 |
1833 |
7 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 11 inches |
8096 |
1925 |
7 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 6.75" inches |
7755 |
1833 |
8 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 11.5 inches |
8097 |
1925 |
8 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 7" inches |
7756 |
1833 |
9 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 12 inches |
8098 |
1925 |
9 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 7.25" inches |
7761 |
1833 |
10 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 12.5 inches |
8099 |
1925 |
10 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 7.50" inches |
7762 |
1833 |
11 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 13 inches |
8100 |
1925 |
11 |
1.950 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| 8" inches |
31022 |
1833 |
12 |
1.500 |
A |
0.000 |
A |
0.000 |
A |
A |
|