Query time 0.00732
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "108.19"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "33.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": 67,
"rows_produced_per_join": 67,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "7.03",
"eval_cost": "6.70",
"prefix_cost": "13.73",
"data_read_per_join": "1K"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`goimagine`.`c`.`product_id` in (226503,228139,228150,228220,228151,228182,229655,226290,229653,226295,227859,229523,226446,226529,226530,228164,228165,229467,229682,226292,226482,228223,228233,228258)) 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": 33,
"filtered": "50.00",
"cost_info": {
"read_cost": "29.74",
"eval_cost": "3.35",
"prefix_cost": "50.17",
"data_read_per_join": "101K"
},
"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": 33,
"filtered": "100.00",
"cost_info": {
"read_cost": "21.17",
"eval_cost": "3.35",
"prefix_cost": "74.69",
"data_read_per_join": "113K"
},
"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 |
| 229655 |
35622 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 229655 |
35621 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Printing |
Printing |
|
|
|
|
|
| 229523 |
35618 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 229523 |
35617 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Printing |
Printing |
|
|
|
|
|
| 228223 |
29171 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 228151 |
28010 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 228150 |
28007 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 228164 |
27963 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 226530 |
28738 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 228165 |
27967 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 226529 |
28758 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 228182 |
28370 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 226503 |
28809 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 228220 |
29168 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 226482 |
28764 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 226446 |
28102 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 228233 |
27664 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 226295 |
27563 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 228258 |
27922 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 226292 |
27551 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 226290 |
27543 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 229682 |
29120 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Where Did You Find Us |
Where Did You Find Us |
|
|
|
|
|
| 228151 |
28009 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 228223 |
29170 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 228233 |
27663 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 228220 |
29167 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 228182 |
28376 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Colors |
Colors |
|
|
|
|
|
| 228258 |
27921 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 228165 |
27966 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 228164 |
27961 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 229682 |
29119 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Colors |
Colors |
|
|
|
|
|
| 226295 |
27562 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Colors |
Colors |
|
|
|
|
|
| 226482 |
28763 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 226503 |
28808 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 226446 |
28100 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 226529 |
28757 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 226530 |
28737 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 226292 |
27550 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Colors |
Colors |
|
|
|
|
|
| 228150 |
28006 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 226290 |
27542 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Colors |
Colors |
|
|
|
|
|
| 226295 |
27561 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 226290 |
27541 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 228258 |
27920 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 226292 |
27549 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 226446 |
28099 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 229682 |
29118 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 228233 |
27662 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 226482 |
28762 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 228223 |
29169 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 226503 |
28807 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 228220 |
29166 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 226529 |
28756 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 228182 |
28369 |
0 |
176 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Design Details |
Design Details |
|
|
|
|
|
| 226530 |
28736 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 228165 |
27965 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 228150 |
28005 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 228164 |
27960 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 228151 |
28008 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 228182 |
28368 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 226295 |
27560 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 226292 |
27548 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 229682 |
29117 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|
| 226290 |
27540 |
0 |
176 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Customization |
Customization |
|
|
|
|
|