Query time 0.01231
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "40.78"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "12.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": 25,
"rows_produced_per_join": 25,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "2.89",
"eval_cost": "2.50",
"prefix_cost": "5.39",
"data_read_per_join": "400"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`goimagine`.`c`.`product_id` in (82073,153252,156633,152696,136505,46318,156641,225265,284974,284976)) 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": 12,
"filtered": "50.00",
"cost_info": {
"read_cost": "11.35",
"eval_cost": "1.25",
"prefix_cost": "19.24",
"data_read_per_join": "37K"
},
"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": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.80",
"eval_cost": "1.25",
"prefix_cost": "28.28",
"data_read_per_join": "42K"
},
"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 |
| 284974 |
17549 |
0 |
980 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Piercing Options |
Piercing Options 3 |
|
|
|
|
|
| 136505 |
17549 |
0 |
980 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Piercing Options |
Piercing Options 3 |
|
|
|
|
|
| 153252 |
17549 |
0 |
980 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Piercing Options |
Piercing Options 3 |
|
|
|
|
|
| 82073 |
10578 |
0 |
980 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Clay Colors |
Clay Colors 8 |
|
|
|
|
|
| 225265 |
26434 |
0 |
980 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
Google color |
|
Color |
Clay Color 10 |
|
|
|
|
|
| 156641 |
19941 |
0 |
980 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Colors |
Clay Colors - Houndstooth |
|
|
|
|
|
| 153252 |
19407 |
0 |
980 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Stud Set Options |
Stud Set |
|
|
|
|
|
| 156633 |
19940 |
0 |
980 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
Google color |
|
Color |
Clay Colors - Black/White |
|
|
|
|
|
| 284976 |
34841 |
0 |
980 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Stud Colors |
Stud Colors Option 2 |
|
|
|
|
|
| 284976 |
10218 |
0 |
980 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Piercing Options |
Piercing Options 2 |
|
|
|
|
|
| 284974 |
34840 |
0 |
980 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Studs Colors |
Stud Colors Option 1 |
|
|
|
|
|
| 225265 |
10218 |
0 |
980 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Piercing Options |
Piercing Options 2 |
|
|
|
|
|
| 156641 |
10218 |
0 |
980 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Piercing Options |
Piercing Options 2 |
|
|
|
|
|
| 152696 |
10218 |
0 |
980 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Piercing Options |
Piercing Options 2 |
|
|
|
|
|
| 46318 |
10218 |
0 |
980 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Piercing Options |
Piercing Options 2 |
|
|
|
|
|
| 156641 |
4868 |
0 |
980 |
C |
N |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Premium Gift Wrapping |
Gift Wrap |
|
<p>Purchasing as a Gift? Add on Gift Wrapping. </p> |
|
|
Light pink & silver wrapping paper with silver satin bow. |
| 156633 |
4868 |
0 |
980 |
C |
N |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Premium Gift Wrapping |
Gift Wrap |
|
<p>Purchasing as a Gift? Add on Gift Wrapping. </p> |
|
|
Light pink & silver wrapping paper with silver satin bow. |
| 153252 |
4868 |
0 |
980 |
C |
N |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Premium Gift Wrapping |
Gift Wrap |
|
<p>Purchasing as a Gift? Add on Gift Wrapping. </p> |
|
|
Light pink & silver wrapping paper with silver satin bow. |
| 225265 |
4868 |
0 |
980 |
C |
N |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Premium Gift Wrapping |
Gift Wrap |
|
<p>Purchasing as a Gift? Add on Gift Wrapping. </p> |
|
|
Light pink & silver wrapping paper with silver satin bow. |
| 152696 |
4868 |
0 |
980 |
C |
N |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Premium Gift Wrapping |
Gift Wrap |
|
<p>Purchasing as a Gift? Add on Gift Wrapping. </p> |
|
|
Light pink & silver wrapping paper with silver satin bow. |
| 284974 |
4868 |
0 |
980 |
C |
N |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Premium Gift Wrapping |
Gift Wrap |
|
<p>Purchasing as a Gift? Add on Gift Wrapping. </p> |
|
|
Light pink & silver wrapping paper with silver satin bow. |
| 136505 |
4868 |
0 |
980 |
C |
N |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Premium Gift Wrapping |
Gift Wrap |
|
<p>Purchasing as a Gift? Add on Gift Wrapping. </p> |
|
|
Light pink & silver wrapping paper with silver satin bow. |
| 82073 |
4868 |
0 |
980 |
C |
N |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Premium Gift Wrapping |
Gift Wrap |
|
<p>Purchasing as a Gift? Add on Gift Wrapping. </p> |
|
|
Light pink & silver wrapping paper with silver satin bow. |
| 284976 |
4868 |
0 |
980 |
C |
N |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Premium Gift Wrapping |
Gift Wrap |
|
<p>Purchasing as a Gift? Add on Gift Wrapping. </p> |
|
|
Light pink & silver wrapping paper with silver satin bow. |
| 46318 |
4868 |
0 |
980 |
C |
N |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Premium Gift Wrapping |
Gift Wrap |
|
<p>Purchasing as a Gift? Add on Gift Wrapping. </p> |
|
|
Light pink & silver wrapping paper with silver satin bow. |