Query time 0.00153
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "61.57"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "17.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": 35,
"rows_produced_per_join": 35,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "3.85",
"eval_cost": "3.50",
"prefix_cost": "7.35",
"data_read_per_join": "560"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`goimagine`.`c`.`product_id` in (349726,352378,357100,358980,359739,360296,361046,361620,362367,362934,362935,365571)) 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": 17,
"filtered": "50.00",
"cost_info": {
"read_cost": "18.75",
"eval_cost": "1.75",
"prefix_cost": "29.60",
"data_read_per_join": "53K"
},
"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": 17,
"filtered": "100.00",
"cost_info": {
"read_cost": "12.73",
"eval_cost": "1.75",
"prefix_cost": "44.07",
"data_read_per_join": "59K"
},
"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 |
358980 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
361046 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
360296 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
361620 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
359739 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
362367 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
362934 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
357100 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
362935 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
352378 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
365571 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
349726 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
362934 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
365571 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
362367 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
362935 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
361620 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
361046 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
360296 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
349726 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
359739 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
352378 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
358980 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
357100 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
349726 |
1153 |
0 |
237 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Personalization |
Personalization |
|
|
|
|
Specify name(s) to substitute. Extra words/names will not be embroidered. State none to omit personalization. Contact me for custom listing. |
361046 |
1153 |
0 |
237 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Personalization |
Personalization |
|
|
|
|
Specify name(s) to substitute. Extra words/names will not be embroidered. State none to omit personalization. Contact me for custom listing. |
365571 |
1153 |
0 |
237 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Personalization |
Personalization |
|
|
|
|
Specify name(s) to substitute. Extra words/names will not be embroidered. State none to omit personalization. Contact me for custom listing. |
357100 |
1153 |
0 |
237 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Personalization |
Personalization |
|
|
|
|
Specify name(s) to substitute. Extra words/names will not be embroidered. State none to omit personalization. Contact me for custom listing. |
362935 |
1153 |
0 |
237 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Personalization |
Personalization |
|
|
|
|
Specify name(s) to substitute. Extra words/names will not be embroidered. State none to omit personalization. Contact me for custom listing. |
358980 |
1153 |
0 |
237 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Personalization |
Personalization |
|
|
|
|
Specify name(s) to substitute. Extra words/names will not be embroidered. State none to omit personalization. Contact me for custom listing. |
362934 |
1153 |
0 |
237 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Personalization |
Personalization |
|
|
|
|
Specify name(s) to substitute. Extra words/names will not be embroidered. State none to omit personalization. Contact me for custom listing. |
359739 |
1153 |
0 |
237 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Personalization |
Personalization |
|
|
|
|
Specify name(s) to substitute. Extra words/names will not be embroidered. State none to omit personalization. Contact me for custom listing. |
362367 |
1153 |
0 |
237 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Personalization |
Personalization |
|
|
|
|
Specify name(s) to substitute. Extra words/names will not be embroidered. State none to omit personalization. Contact me for custom listing. |
360296 |
1153 |
0 |
237 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Personalization |
Personalization |
|
|
|
|
Specify name(s) to substitute. Extra words/names will not be embroidered. State none to omit personalization. Contact me for custom listing. |
361620 |
1153 |
0 |
237 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Personalization |
Personalization |
|
|
|
|
Specify name(s) to substitute. Extra words/names will not be embroidered. State none to omit personalization. Contact me for custom listing. |