Query time 0.00396
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "32.41"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "10.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": 20,
"rows_produced_per_join": 20,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "2.34",
"eval_cost": "2.00",
"prefix_cost": "4.34",
"data_read_per_join": "320"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`goimagine`.`c`.`product_id` in (357145,357709,358469,359743,359768,365626,369029,371646,372228,372966,373545,376946)) 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": 9,
"filtered": "50.00",
"cost_info": {
"read_cost": "8.67",
"eval_cost": "1.00",
"prefix_cost": "15.01",
"data_read_per_join": "30K"
},
"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": 9,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.40",
"eval_cost": "1.00",
"prefix_cost": "22.41",
"data_read_per_join": "33K"
},
"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 |
| 357145 |
2487 |
0 |
334 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Tutu Top Length |
Tutu Top Length |
|
|
|
|
|
| 357145 |
2492 |
0 |
334 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Tutu Top Color |
rainbow tutu top color |
|
|
|
|
|
| 357709 |
2048 |
0 |
334 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Tutu Length |
Tutu_Length |
|
|
|
|
Please select a length for your tutu |
| 358469 |
2048 |
0 |
334 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Tutu Length |
Tutu_Length |
|
|
|
|
Please select a length for your tutu |
| 359743 |
2048 |
0 |
334 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Tutu Length |
Tutu_Length |
|
|
|
|
Please select a length for your tutu |
| 365626 |
2487 |
0 |
334 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Tutu Top Length |
Tutu Top Length |
|
|
|
|
|
| 376946 |
2487 |
0 |
334 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Tutu Top Length |
Tutu Top Length |
|
|
|
|
|
| 373545 |
2492 |
0 |
334 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Tutu Top Color |
rainbow tutu top color |
|
|
|
|
|
| 369029 |
2048 |
0 |
334 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Tutu Length |
Tutu_Length |
|
|
|
|
Please select a length for your tutu |
| 372228 |
2048 |
0 |
334 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Tutu Length |
Tutu_Length |
|
|
|
|
Please select a length for your tutu |
| 373545 |
2487 |
0 |
334 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Tutu Top Length |
Tutu Top Length |
|
|
|
|
|
| 359768 |
2073 |
0 |
334 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Size |
baby_body_suit_size |
|
|
|
|
|
| 371646 |
2074 |
0 |
334 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Size |
Hat Size |
|
|
|
|
|
| 372966 |
2074 |
0 |
334 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
3 |
|
not_option |
|
Size |
Hat Size |
|
|
|
|
|
| 376946 |
2495 |
0 |
334 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Tutu Top Color |
Seattle tutu top color |
|
|
|
|
|
| 365626 |
2495 |
0 |
334 |
S |
Y |
|
N |
N |
|
0 |
M |
A |
5 |
|
not_option |
|
Tutu Top Color |
Seattle tutu top color |
|
|
|
|
|
| 373545 |
2491 |
0 |
334 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
10 |
|
not_option |
|
Add Matching Bow or Headband? |
add bow |
|
|
|
|
|
| 365626 |
2491 |
0 |
334 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
10 |
|
not_option |
|
Add Matching Bow or Headband? |
add bow |
|
|
|
|
|
| 376946 |
2491 |
0 |
334 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
10 |
|
not_option |
|
Add Matching Bow or Headband? |
add bow |
|
|
|
|
|
| 357145 |
2491 |
0 |
334 |
S |
N |
|
Y |
N |
|
0 |
M |
A |
10 |
|
not_option |
|
Add Matching Bow or Headband? |
add bow |
|
|
|
|
|