Query time 0.00131
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "58.83"
},
"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.84",
"eval_cost": "3.50",
"prefix_cost": "7.34",
"data_read_per_join": "560"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`goimagine`.`c`.`product_id` in (460617,461378,366330,413091,415174,421021,425726,425728,427046,435531,438172,443463)) 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": "16.96",
"eval_cost": "1.75",
"prefix_cost": "27.80",
"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": "11.77",
"eval_cost": "1.75",
"prefix_cost": "41.33",
"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 |
427046 |
1395 |
0 |
237 |
S |
N |
|
N |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Waist Apron Color |
Waist Apron Color |
|
|
|
|
|
425726 |
1395 |
0 |
237 |
S |
N |
|
N |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Waist Apron Color |
Waist Apron Color |
|
|
|
|
|
366330 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
427046 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
425728 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
435531 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
425726 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
438172 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
421021 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
443463 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
415174 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
460617 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
413091 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
461378 |
1216 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Sweatshirt Color |
Sweatshirt Color |
|
|
|
|
|
438172 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
435531 |
1667 |
0 |
237 |
S |
N |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size Large - 5XL |
Sweatshirt Size Large - 5XL |
|
|
|
|
|
443463 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
460617 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
461378 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
425728 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
421021 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
415174 |
1217 |
0 |
237 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size |
Sweatshirt Size |
|
|
|
|
|
413091 |
1667 |
0 |
237 |
S |
N |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size Large - 5XL |
Sweatshirt Size Large - 5XL |
|
|
|
|
|
366330 |
1667 |
0 |
237 |
S |
N |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Sweatshirt Size Large - 5XL |
Sweatshirt Size Large - 5XL |
|
|
|
|
|
427046 |
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. |
435531 |
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. |
425728 |
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. |
425726 |
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. |
438172 |
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. |
421021 |
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. |
415174 |
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. |
460617 |
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. |
413091 |
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. |
461378 |
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. |
366330 |
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. |