Query time 0.00414
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "43.40"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "13.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": 27,
"rows_produced_per_join": 27,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "3.06",
"eval_cost": "2.70",
"prefix_cost": "5.76",
"data_read_per_join": "432"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`goimagine`.`c`.`product_id` in (120610,120595,120598,120606,120603,144383,144387,195555,120609,120601,120604,216344,120614,120596,144381,182695,216291,120597,195556,144384,180765,216289,120612,144382)) 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": 13,
"filtered": "50.00",
"cost_info": {
"read_cost": "11.71",
"eval_cost": "1.35",
"prefix_cost": "20.17",
"data_read_per_join": "41K"
},
"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": 13,
"filtered": "100.00",
"cost_info": {
"read_cost": "8.38",
"eval_cost": "1.35",
"prefix_cost": "29.91",
"data_read_per_join": "45K"
},
"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 |
| 144384 |
22736 |
0 |
3332 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Choice of Size |
Choice of Size |
|
<p>Please choose your size choice</p> |
|
|
|
| 180765 |
22739 |
0 |
3332 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
0 |
|
not_option |
|
Choice of Size |
Choice of Size |
|
<p>Please choose your size choice</p> |
|
|
|
| 120609 |
15968 |
0 |
3332 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Choice of Pom Pom Color |
Choice of Color |
|
<p>Please choose your pom pom color choice.</p> |
|
|
Choose your color |
| 120610 |
16005 |
0 |
3332 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Choice of Color |
Choice of Color |
|
<p>Please choose your color choice</p> |
|
|
Choose your color |
| 144381 |
18424 |
0 |
3332 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Choice of Color |
Choice of Color |
|
<p>Please choose your color choice.</p> |
|
|
Choose your color |
| 144382 |
18425 |
0 |
3332 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Choice of Pom Pom Color |
Choice of Pom Pom Color |
|
<p>Choose your choice of color.</p> |
|
|
Choose your color |
| 144383 |
18426 |
0 |
3332 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Choice of Color |
Choice of Color |
|
<p>Choose your color choice.</p> |
|
|
Choose your color |
| 144387 |
18427 |
0 |
3332 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Choice of Pom Pom Color |
Choice of Pom Pom Color |
|
<p>Choose your pom pom color choice.</p> |
|
|
Choose your color |
| 216289 |
25815 |
0 |
3332 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Choice of Tag |
Choice of Tag |
|
<p>Please choose your tag of choice</p> |
|
|
Choose your tag |
| 216291 |
25815 |
0 |
3332 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
1 |
|
not_option |
|
Choice of Tag |
Choice of Tag |
|
<p>Please choose your tag of choice</p> |
|
|
Choose your tag |
| 120610 |
22255 |
0 |
3332 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Choice of Pom Pom Color |
Choice of Pom Pom Color |
|
<p>Choose your choice of pom pom color.</p> |
|
|
Choose your color |
| 144381 |
22261 |
0 |
3332 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Choice of Pom Pom Color |
Choice of Pom Pom Color |
|
<p>Please choose your choice of pom pom color.</p> |
|
|
Choose your color |
| 144383 |
22256 |
0 |
3332 |
S |
Y |
|
Y |
N |
|
0 |
M |
A |
2 |
|
not_option |
|
Choice of Pom Pom Color |
Choice of Pom Pom Color |
|
<p>Choose your choice of pom pom color.</p> |
|
|
Choose your color |