Query time 0.00473
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "94.75"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "32.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": 32,
"rows_produced_per_join": 32,
"filtered": "100.00",
"index_condition": "((`goimagine`.`a`.`option_id` in (13939,13941,11134,814,813,815,8994,9945,9946,9947)) and (`goimagine`.`a`.`status` = 'A'))",
"cost_info": {
"read_cost": "31.99",
"eval_cost": "3.20",
"prefix_cost": "35.19",
"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": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "24.36",
"eval_cost": "3.20",
"prefix_cost": "62.76",
"data_read_per_join": "24K"
},
"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 |
| Teacher Name |
3609 |
813 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Teacher change the world |
3610 |
813 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| It takeas a BiG heart |
3611 |
813 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Custom |
3612 |
813 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Ribbon (ornament) |
3615 |
815 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Keychain/ Tassel |
3616 |
815 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Look what I did- No Name |
43715 |
9945 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Look what I did- (NAME) |
43716 |
9945 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Magnet |
43717 |
9946 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Clothes pin |
43718 |
9946 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Natural |
47452 |
11134 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted Gold |
47453 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted Silver |
47454 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted Black |
47455 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted White |
47456 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted Red |
47457 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted Orange |
47458 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted Yellow |
47459 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted Blue |
47460 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted Green |
47461 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted Purple |
47462 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted Pink |
47463 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted Mint |
47464 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted Turquoise |
47465 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted Light blue |
47466 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Painted Lime green |
47467 |
11134 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| No preview |
59074 |
13941 |
0 |
0.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|
| Preview of name |
59075 |
13941 |
0 |
1.000 |
A |
0.000 |
A |
0.000 |
A |
A |
|