Query time 0.00125
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "35.89"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "10.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": 21,
"rows_produced_per_join": 21,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "2.43",
"eval_cost": "2.10",
"prefix_cost": "4.53",
"data_read_per_join": "336"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`goimagine`.`c`.`product_id` in (299321,300211,299406,300273,300294,300215,299420)) 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": 10,
"filtered": "50.00",
"cost_info": {
"read_cost": "10.39",
"eval_cost": "1.05",
"prefix_cost": "17.02",
"data_read_per_join": "31K"
},
"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": 10,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.32",
"eval_cost": "1.05",
"prefix_cost": "25.40",
"data_read_per_join": "35K"
},
"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 |
| 299406 |
36348 |
0 |
9654 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
HTV Sizes |
HTV Sizes |
|
<p>Size of decal</p> |
|
|
Chose your size here |
| 300273 |
36354 |
0 |
9654 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Vinyl Decal Size |
VINYLSIZE |
|
<p>Size of your decal ( longest side)</p> |
|
|
Choose the size of your decal |
| 300211 |
36358 |
0 |
9654 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Blanket Color |
BLNKCOLOR |
|
<p>Color choice</p> |
|
|
Chose your blanket color |
| 300215 |
36354 |
0 |
9654 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Vinyl Decal Size |
VINYLSIZE |
|
<p>Size of your decal ( longest side)</p> |
|
|
Choose the size of your decal |
| 300273 |
36344 |
0 |
9654 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Vinyl Decal Color |
VINYLColor |
|
<p>Your color choice</p> |
|
|
Chose your color vinyl |
| 299406 |
36349 |
0 |
9654 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
HTV Colors |
HTVC |
|
<p>Color choice</p> |
|
|
Chose your color here |
| 300211 |
36349 |
0 |
9654 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
HTV Colors |
HTVC |
|
<p>Color choice</p> |
|
|
Chose your color here |
| 300215 |
36355 |
0 |
9654 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Wall Decal Color |
WALLCOL |
|
<p>Vinyl color</p> |
|
|
Chose your color vinyl |
| 299406 |
36350 |
0 |
9654 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
HTV Glitter Colors |
HTVGL |
|
<p>Glitter color choices</p> |
|
|
Chose your glitter color |
| 299406 |
36351 |
0 |
9654 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Metallic Glitter Colors |
HtVMET |
|
<p>Metallic glitter choices</p> |
|
|
Chose your metallic color here |
| 299406 |
36352 |
0 |
9654 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
HTV Holographic Colors |
HTVHOLO |
|
<p>Holographic color choices</p> |
|
|
Chose your holographic color here |
| 300294 |
36353 |
0 |
9654 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
6 |
|
not_option |
|
Personalization |
PERSONAL |
|
<p>Personalizaion area</p> |
|
|
Add any personalizaion ( if desired) or comments here |
| 299321 |
36353 |
0 |
9654 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
6 |
|
not_option |
|
Personalization |
PERSONAL |
|
<p>Personalizaion area</p> |
|
|
Add any personalizaion ( if desired) or comments here |
| 300273 |
36353 |
0 |
9654 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
6 |
|
not_option |
|
Personalization |
PERSONAL |
|
<p>Personalizaion area</p> |
|
|
Add any personalizaion ( if desired) or comments here |
| 300215 |
36353 |
0 |
9654 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
6 |
|
not_option |
|
Personalization |
PERSONAL |
|
<p>Personalizaion area</p> |
|
|
Add any personalizaion ( if desired) or comments here |
| 300211 |
36353 |
0 |
9654 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
6 |
|
not_option |
|
Personalization |
PERSONAL |
|
<p>Personalizaion area</p> |
|
|
Add any personalizaion ( if desired) or comments here |
| 299406 |
36353 |
0 |
9654 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
6 |
|
not_option |
|
Personalization |
PERSONAL |
|
<p>Personalizaion area</p> |
|
|
Add any personalizaion ( if desired) or comments here |