Query time 0.00108
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "25.10"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "7.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": 15,
"rows_produced_per_join": 15,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "2.08",
"eval_cost": "1.50",
"prefix_cost": "3.58",
"data_read_per_join": "240"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`goimagine`.`c`.`product_id` in (77297,77290,77287,77288,77300,77304,77299,77298)) 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": 7,
"filtered": "50.00",
"cost_info": {
"read_cost": "7.12",
"eval_cost": "0.75",
"prefix_cost": "12.20",
"data_read_per_join": "22K"
},
"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": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.66",
"eval_cost": "0.75",
"prefix_cost": "17.61",
"data_read_per_join": "25K"
},
"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 |
| 77298 |
9831 |
0 |
1523 |
R |
Y |
|
N |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Color |
Color |
|
|
|
|
|
| 77299 |
9835 |
0 |
1523 |
R |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Color |
Color |
|
|
|
|
|
| 77300 |
9862 |
0 |
1523 |
I |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Last Name |
Last Name |
|
|
|
|
Please enter last name here. The initial will be the first letter of your last name unless you specify otherwise. |
| 77287 |
9821 |
0 |
1523 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Size |
Size |
|
|
|
|
|
| 77288 |
9828 |
0 |
1523 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Size |
Size |
|
|
|
|
|
| 77300 |
9860 |
0 |
1523 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Diameter |
Diameter |
|
|
|
|
|
| 77304 |
9854 |
0 |
1523 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Size |
Size |
|
|
|
|
|
| 77287 |
9823 |
0 |
1523 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Color |
Color |
|
|
|
|
|
| 77288 |
9829 |
0 |
1523 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Color |
Color |
|
|
|
|
|
| 77300 |
9861 |
0 |
1523 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Color |
Color |
|
|
|
|
|
| 77304 |
9858 |
0 |
1523 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Sign Color |
Sign Color |
|
|
|
|
|
| 77304 |
9856 |
0 |
1523 |
C |
Y |
|
N |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Hooks? |
Hooks? |
|
|
|
|
Please check the box if you would like to add 2 hooks. |
| 77304 |
9857 |
0 |
1523 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
4 |
|
not_option |
|
Hook Color |
Hook Color |
|
<p>Please select hook color if added.</p> |
|
|
|