Query time 0.00181
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "144.58"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "61.09"
},
"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": 62,
"rows_produced_per_join": 62,
"filtered": "100.00",
"index_condition": "(`cscartdb`.`c`.`product_id` in (6612,10171,6611,16473,16469,16405,16463,16461,16421,16445,16432,21717,16411,16420,16443,16406,16544,16410,16577,16419,16476,16474,16490,16429,16431,16451,16475,16500,54979,54978,71348,71385,72178,71357,71382,72171,72175,71360,71363,71366,71373,71379,72157,72163,72164,72168,72181,71351,72160,71354))",
"cost_info": {
"read_cost": "34.21",
"eval_cost": "6.20",
"prefix_cost": "40.41",
"data_read_per_join": "496"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "(`cscartdb`.`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": [
"cscartdb.c.option_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 61,
"filtered": "98.53",
"cost_info": {
"read_cost": "15.50",
"eval_cost": "6.11",
"prefix_cost": "62.11",
"data_read_per_join": "139K"
},
"used_columns": [
"option_id",
"product_id",
"company_id",
"option_type",
"regexp",
"required",
"multiupload",
"allowed_extensions",
"max_file_size",
"missing_variants_handling",
"status",
"position",
"value"
],
"attached_condition": "((`cscartdb`.`a`.`product_id` = 0) and (`cscartdb`.`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": [
"cscartdb.c.option_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 61,
"filtered": "100.00",
"cost_info": {
"read_cost": "15.27",
"eval_cost": "6.11",
"prefix_cost": "83.49",
"data_read_per_join": "207K"
},
"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 |
regexp |
required |
multiupload |
allowed_extensions |
max_file_size |
missing_variants_handling |
status |
position |
value |
option_name |
internal_option_name |
option_text |
description |
inner_hint |
incorrect_message |
comment |
71382 |
1177 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Below")? |
Need a safe for work name ("Below")? |
|
|
|
|
|
72181 |
1180 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Altar")? |
Need a safe for work name ("Altar")? |
|
|
|
|
|
72178 |
1170 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Wildlife") |
Need a safe for work name ("Wildlife") |
|
|
|
|
|
72168 |
1171 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Pony") |
Need a safe for work name ("Pony") |
|
|
|
|
|
72164 |
1172 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Snake Charmer") |
Need a safe for work name ("Snake Charmer") |
|
|
|
|
|
72163 |
1173 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Restorative")? |
Need a safe for work name ("Restorative")? |
|
|
|
|
|
72160 |
1174 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Kitty")? |
Need a safe for work name ("Kitty")? |
|
|
|
|
|
72157 |
1175 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Hanging Out")? |
Need a safe for work name ("Hanging Out")? |
|
|
|
|
|
71385 |
1176 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Motherly Love")? |
Need a safe for work name ("Motherly Love")? |
|
|
|
|
|
71348 |
1179 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Choose a Modifier |
Choose a Modifier |
|
|
|
|
|
71379 |
1178 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Above")? |
Need a safe for work name ("Above")? |
|
|
|
|
|
71373 |
1184 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Fatherly Love")? |
Need a safe for work name ("Fatherly Love")? |
|
|
|
|
|
71366 |
1182 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Beside")? |
Need a safe for work name ("Beside")? |
|
|
|
|
|
71363 |
1181 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Family")? |
Need a safe for work name ("Family")? |
|
|
|
|
|
71360 |
1185 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Gentler") |
Need a safe for work name ("Gentler") |
|
|
|
|
|
71357 |
1183 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Gentled")? |
Need a safe for work name ("Gentled")? |
|
|
|
|
|
71354 |
1187 |
0 |
475 |
S |
|
N |
N |
|
0 |
M |
A |
1 |
|
Need a safe for work name ("Family")? |
Need a safe for work name ("Family")? |
|
|
|
|
|