Query time 0.00256
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "18.12"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "5.50"
},
"nested_loop": [
{
"table": {
"table_name": "c",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"product_id"
],
"key": "product_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"rows_examined_per_scan": 11,
"rows_produced_per_join": 11,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.50",
"eval_cost": "1.10",
"prefix_cost": "2.60",
"data_read_per_join": "176"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`goimagine`.`c`.`product_id` in (82157,82168,83469,82167)) and (`goimagine`.`c`.`option_id` is not null))"
}
},
{
"table": {
"table_name": "a",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"c_status"
],
"key": "PRIMARY",
"used_key_parts": [
"option_id"
],
"key_length": "3",
"ref": [
"goimagine.c.option_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 5,
"filtered": "50.00",
"cost_info": {
"read_cost": "4.88",
"eval_cost": "0.55",
"prefix_cost": "8.58",
"data_read_per_join": "16K"
},
"used_columns": [
"option_id",
"product_id",
"company_id",
"option_type",
"inventory",
"regexp",
"required",
"multiupload",
"allowed_extensions",
"max_file_size",
"missing_variants_handling",
"status",
"position",
"value",
"google_export_name_option",
"etsy_prop_id"
],
"attached_condition": "((`goimagine`.`a`.`product_id` = 0) and (`goimagine`.`a`.`status` = 'A'))"
}
},
{
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"option_id",
"lang_code"
],
"key_length": "9",
"ref": [
"goimagine.c.option_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 5,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.49",
"eval_cost": "0.55",
"prefix_cost": "12.62",
"data_read_per_join": "18K"
},
"used_columns": [
"option_id",
"lang_code",
"option_name",
"internal_option_name",
"option_text",
"description",
"comment",
"inner_hint",
"incorrect_message"
]
}
}
]
}
}
}
Result
| cur_product_id |
option_id |
product_id |
company_id |
option_type |
inventory |
regexp |
required |
multiupload |
allowed_extensions |
max_file_size |
missing_variants_handling |
status |
position |
value |
google_export_name_option |
etsy_prop_id |
option_name |
internal_option_name |
option_text |
description |
inner_hint |
incorrect_message |
comment |
| 82157 |
10588 |
0 |
1537 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Color |
Christmas Tree Sugar Cookie Earrings |
|
<p>Choose your icing color!</p> |
|
|
|
| 82167 |
11329 |
0 |
1537 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Color |
Pug Items Colors |
|
|
|
|
|
| 83469 |
12389 |
0 |
1537 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Color |
Heart Sugar Cookie Earrings Color |
|
<p>Choose your icing color!</p> |
|
|
|
| 82167 |
11332 |
0 |
1537 |
I |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Cupcake Wrapper |
Cupcake Wrapper Options |
|
<p>Please let me know if you'd like your cupcake without a paper wrapper or with a specific wrapper color. If nothing is noted, I will select a cute surprise just for you!</p> |
|
|
|
| 82157 |
10589 |
0 |
1537 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Style |
Stud Earrings |
|
<p>Choose your earring style! Feel free to message me to discuss other options for super sensitive ears ;)</p> |
|
|
|
| 82167 |
11330 |
0 |
1537 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Style |
Pupcake Charm Style |
|
|
|
|
|
| 83469 |
10589 |
0 |
1537 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Style |
Stud Earrings |
|
<p>Choose your earring style! Feel free to message me to discuss other options for super sensitive ears ;)</p> |
|
|
|
| 82157 |
11327 |
0 |
1537 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
9 |
|
not_option |
|
Gift Options |
All Products - Gift Wrap |
|
<p>Is this a gift? Include a gift message at checkout, or upgrade your packaging with gift wrap for an occasion or Just Because. See Maker's Policies for details!</p> |
|
|
|
| 82167 |
11327 |
0 |
1537 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
9 |
|
not_option |
|
Gift Options |
All Products - Gift Wrap |
|
<p>Is this a gift? Include a gift message at checkout, or upgrade your packaging with gift wrap for an occasion or Just Because. See Maker's Policies for details!</p> |
|
|
|
| 82168 |
11327 |
0 |
1537 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
9 |
|
not_option |
|
Gift Options |
All Products - Gift Wrap |
|
<p>Is this a gift? Include a gift message at checkout, or upgrade your packaging with gift wrap for an occasion or Just Because. See Maker's Policies for details!</p> |
|
|
|
| 83469 |
11327 |
0 |
1537 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
9 |
|
not_option |
|
Gift Options |
All Products - Gift Wrap |
|
<p>Is this a gift? Include a gift message at checkout, or upgrade your packaging with gift wrap for an occasion or Just Because. See Maker's Policies for details!</p> |
|
|
|