Query time 0.00099
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "13.58"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "4.00"
},
"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": 8,
"rows_produced_per_join": 8,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.16",
"eval_cost": "0.80",
"prefix_cost": "1.96",
"data_read_per_join": "128"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`goimagine`.`c`.`product_id` in (288,114857,83921,2701)) 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": 3,
"filtered": "50.00",
"cost_info": {
"read_cost": "3.88",
"eval_cost": "0.40",
"prefix_cost": "6.64",
"data_read_per_join": "12K"
},
"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": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.54",
"eval_cost": "0.40",
"prefix_cost": "9.58",
"data_read_per_join": "13K"
},
"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 |
| 2701 |
814 |
0 |
109 |
I |
N |
|
N |
N |
|
0 |
M |
A |
0 |
|
|
|
Teacher Name/ Custom |
Teacher Name/ Custom |
|
|
|
|
|
| 83921 |
11134 |
0 |
109 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Finish |
Finish |
|
|
|
|
|
| 288 |
180 |
0 |
109 |
T |
N |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Main Name |
Personalization |
|
<p><strong><strong></strong></strong>Grandma, Mimi, Nana's Garden</p> |
|
|
Please Double Check All Spelling |
| 2701 |
813 |
0 |
109 |
S |
N |
|
N |
N |
|
0 |
M |
A |
1 |
|
|
|
Design |
Design |
|
|
|
|
|
| 114857 |
13939 |
0 |
109 |
I |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Name & Colors (see description) |
Name & Colors (see description) |
|
<p>Please add details as noted<br>Name- purple<br>Name- Pink<br>Initial- Teal</p> |
|
|
|
| 288 |
181 |
0 |
109 |
T |
N |
|
Y |
N |
|
0 |
M |
A |
2 |
|
|
|
Names on Flowers |
Names on Flowers |
|
<p>Up to 12 names= 1 name per flower, <br>More then 12 names, flowers will have 2 names on it. </p>
<p>If you want certain names together, please note in comments. </p>
<p>** Feel free to message me with any questions. </p> |
|
|
Please double check spelling |
| 2701 |
815 |
0 |
109 |
S |
N |
|
N |
N |
|
0 |
M |
A |
3 |
|
|
|
Finish |
Finish |
|
|
|
|
|
| 114857 |
13941 |
0 |
109 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Preview |
Preview |
|
|
|
|
|