Query time 0.00102
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "16.39"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "5.00"
},
"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": 10,
"rows_produced_per_join": 10,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.52",
"eval_cost": "1.00",
"prefix_cost": "2.52",
"data_read_per_join": "160"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`goimagine`.`c`.`product_id` in (127556,135426)) 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": 4,
"filtered": "50.00",
"cost_info": {
"read_cost": "4.23",
"eval_cost": "0.50",
"prefix_cost": "7.75",
"data_read_per_join": "15K"
},
"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": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.15",
"eval_cost": "0.50",
"prefix_cost": "11.40",
"data_read_per_join": "16K"
},
"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 |
| 127556 |
18945 |
0 |
2948 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Purchase pre-made item ? |
(1) Purchase pre-made item? |
|
|
|
|
|
| 135426 |
18945 |
0 |
2948 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Purchase pre-made item ? |
(1) Purchase pre-made item? |
|
|
|
|
|
| 127556 |
18946 |
0 |
2948 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
IF YES: Enter item # and/or description below. |
(2) If YES: Enter your item # / description below: |
|
<p>Please enter your item # and/or description for your pre-made item.</p> |
|
|
|
| 135426 |
18946 |
0 |
2948 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
IF YES: Enter item # and/or description below. |
(2) If YES: Enter your item # / description below: |
|
<p>Please enter your item # and/or description for your pre-made item.</p> |
|
|
|
| 127556 |
19061 |
0 |
2948 |
R |
Y |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
FOR CUSTOM ORDERS ONLY; Select add ins from provided desc. list |
(4) Add ins used: |
|
<p>Once you decide you would like a customized order, I will email you a descriptions list with the add ins and their effects, accompanied by pictures.</p> |
|
|
|
| 135426 |
19061 |
0 |
2948 |
R |
Y |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
FOR CUSTOM ORDERS ONLY; Select add ins from provided desc. list |
(4) Add ins used: |
|
<p>Once you decide you would like a customized order, I will email you a descriptions list with the add ins and their effects, accompanied by pictures.</p> |
|
|
|
| 127556 |
19063 |
0 |
2948 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Enter ADD IN info here |
(5) ENTER ADD IN INFO HERE |
|
<p>Please review the chart I previously sent you and enter which colors and materials you want, i.e mica powders, inks, etc.</p> |
|
|
Please review the chart I previously sent you and enter which colors and materials you want, i.e mica powders, inks, etc. |
| 135426 |
19063 |
0 |
2948 |
T |
Y |
|
N |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Enter ADD IN info here |
(5) ENTER ADD IN INFO HERE |
|
<p>Please review the chart I previously sent you and enter which colors and materials you want, i.e mica powders, inks, etc.</p> |
|
|
Please review the chart I previously sent you and enter which colors and materials you want, i.e mica powders, inks, etc. |
| 127556 |
19065 |
0 |
2948 |
R |
Y |
|
N |
N |
|
0 |
M |
A |
6 |
|
not_option |
|
CUSTOM MADE ORDERS EMAIL ME FOR DETAILS & OPTIONS |
(6) CUSTOM MADE ORDERS |
|
|
|
|
|
| 135426 |
19065 |
0 |
2948 |
R |
Y |
|
N |
N |
|
0 |
M |
A |
6 |
|
not_option |
|
CUSTOM MADE ORDERS EMAIL ME FOR DETAILS & OPTIONS |
(6) CUSTOM MADE ORDERS |
|
|
|
|
|