Query time 0.00113
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "25.24"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "7.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": 15,
"rows_produced_per_join": 15,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.85",
"eval_cost": "1.50",
"prefix_cost": "3.35",
"data_read_per_join": "240"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`goimagine`.`c`.`product_id` in (75760,147723,80775,75756)) 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": 7,
"filtered": "50.00",
"cost_info": {
"read_cost": "7.04",
"eval_cost": "0.75",
"prefix_cost": "11.89",
"data_read_per_join": "22K"
},
"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": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.11",
"eval_cost": "0.75",
"prefix_cost": "17.74",
"data_read_per_join": "25K"
},
"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 |
| 75756 |
9419 |
0 |
1899 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Eyes |
Eyes |
|
<p>Please, select the color of the eye for the bear</p> |
|
|
|
| 75760 |
9419 |
0 |
1899 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Eyes |
Eyes |
|
<p>Please, select the color of the eye for the bear</p> |
|
|
|
| 147723 |
18727 |
0 |
1899 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Embroidery |
No sew ornament personalization |
|
|
|
|
|
| 75756 |
9817 |
0 |
1899 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Personalization |
Custom bear personalization |
|
<p>Would you like name or date embroidered on the feet?</p> |
|
|
|
| 75760 |
9817 |
0 |
1899 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Personalization |
Custom bear personalization |
|
<p>Would you like name or date embroidered on the feet?</p> |
|
|
|
| 80775 |
9802 |
0 |
1899 |
I |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Personalization |
Personalization ornament |
|
<p>Please, enter the name and date(s) you'd like on the ornament</p> |
|
|
|
| 147723 |
9802 |
0 |
1899 |
I |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Personalization |
Personalization ornament |
|
<p>Please, enter the name and date(s) you'd like on the ornament</p> |
|
|
|
| 75756 |
9816 |
0 |
1899 |
I |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Personalization text |
Bear foot personalization |
|
<p>Let me know what you'd like embroidered on the moose foot. each foot 7 characters max</p> |
|
|
|
| 75760 |
9816 |
0 |
1899 |
I |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Personalization text |
Bear foot personalization |
|
<p>Let me know what you'd like embroidered on the moose foot. each foot 7 characters max</p> |
|
|
|
| 80775 |
9796 |
0 |
1899 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Trim color |
Trim color ornament |
|
<p>Please select the color of the ribbon/cord on the ornament</p> |
|
|
|
| 147723 |
9796 |
0 |
1899 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Trim color |
Trim color ornament |
|
<p>Please select the color of the ribbon/cord on the ornament</p> |
|
|
|
| 80775 |
9803 |
0 |
1899 |
I |
Y |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Other trim color |
other trim color |
|
<p>Specify trim color if you chose "other" option above</p> |
|
|
|
| 147723 |
9803 |
0 |
1899 |
I |
Y |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Other trim color |
other trim color |
|
<p>Specify trim color if you chose "other" option above</p> |
|
|
|
| 80775 |
9804 |
0 |
1899 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Ornament stand |
Ornament stand |
|
<p>Add an optional stand to your purchase</p> |
|
|
|
| 147723 |
9804 |
0 |
1899 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Ornament stand |
Ornament stand |
|
<p>Add an optional stand to your purchase</p> |
|
|
|