Query time 0.00220
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "92.52"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "1.90"
},
"nested_loop": [
{
"table": {
"table_name": "c",
"access_type": "index",
"possible_keys": [
"PRIMARY",
"product_id"
],
"key": "PRIMARY",
"used_key_parts": [
"option_id",
"product_id"
],
"key_length": "6",
"rows_examined_per_scan": 202,
"rows_produced_per_join": 38,
"filtered": "18.81",
"using_index": true,
"cost_info": {
"read_cost": "35.15",
"eval_cost": "7.60",
"prefix_cost": "42.75",
"data_read_per_join": "304"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`eshopuga_upgr_4122`.`c`.`product_id` in (1964,434,383,1927,435,419,403,324,1965,440,1966,431,1928,1973,1968,1963,327,1934,385,405,413,1970,1937,433)) and (`eshopuga_upgr_4122`.`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": [
"eshopuga_upgr_4122.c.option_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "5.00",
"cost_info": {
"read_cost": "38.00",
"eval_cost": "0.38",
"prefix_cost": "88.35",
"data_read_per_join": "4K"
},
"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"
],
"attached_condition": "((`eshopuga_upgr_4122`.`a`.`product_id` = 0) and (`eshopuga_upgr_4122`.`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": [
"eshopuga_upgr_4122.c.option_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.90",
"eval_cost": "0.38",
"prefix_cost": "90.63",
"data_read_per_join": "6K"
},
"used_columns": [
"option_id",
"lang_code",
"option_name",
"option_text",
"description",
"comment",
"inner_hint",
"incorrect_message",
"internal_option_name"
]
}
}
]
}
}
}
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 |
option_name |
internal_option_name |
option_text |
description |
inner_hint |
incorrect_message |
comment |
1934 |
143 |
0 |
1 |
T |
N |
|
N |
N |
|
0 |
M |
A |
0 |
|
Gift Card Text |
Gift Card Text |
|
|
|
|
Please type the message you wish to send to the Recipient |
1963 |
143 |
0 |
1 |
T |
N |
|
N |
N |
|
0 |
M |
A |
0 |
|
Gift Card Text |
Gift Card Text |
|
|
|
|
Please type the message you wish to send to the Recipient |
1964 |
143 |
0 |
1 |
T |
N |
|
N |
N |
|
0 |
M |
A |
0 |
|
Gift Card Text |
Gift Card Text |
|
|
|
|
Please type the message you wish to send to the Recipient |
1965 |
143 |
0 |
1 |
T |
N |
|
N |
N |
|
0 |
M |
A |
0 |
|
Gift Card Text |
Gift Card Text |
|
|
|
|
Please type the message you wish to send to the Recipient |
1966 |
143 |
0 |
1 |
T |
N |
|
N |
N |
|
0 |
M |
A |
0 |
|
Gift Card Text |
Gift Card Text |
|
|
|
|
Please type the message you wish to send to the Recipient |
1968 |
143 |
0 |
1 |
T |
N |
|
N |
N |
|
0 |
M |
A |
0 |
|
Gift Card Text |
Gift Card Text |
|
|
|
|
Please type the message you wish to send to the Recipient |
1970 |
143 |
0 |
1 |
T |
N |
|
N |
N |
|
0 |
M |
A |
0 |
|
Gift Card Text |
Gift Card Text |
|
|
|
|
Please type the message you wish to send to the Recipient |
1973 |
143 |
0 |
1 |
T |
N |
|
N |
N |
|
0 |
M |
A |
0 |
|
Gift Card Text |
Gift Card Text |
|
|
|
|
Please type the message you wish to send to the Recipient |
1964 |
329 |
0 |
1 |
C |
N |
|
N |
N |
|
0 |
M |
A |
0 |
|
Glass Flower Vase |
Glass Flower Vase |
|
|
|
|
|
1927 |
332 |
0 |
1 |
C |
N |
|
N |
N |
|
0 |
M |
A |
1 |
|
Gift Bag |
Gift Bag |
|
|
|
|
|
1928 |
332 |
0 |
1 |
C |
N |
|
N |
N |
|
0 |
M |
A |
1 |
|
Gift Bag |
Gift Bag |
|
|
|
|
|
1934 |
332 |
0 |
1 |
C |
N |
|
N |
N |
|
0 |
M |
A |
1 |
|
Gift Bag |
Gift Bag |
|
|
|
|
|
1937 |
332 |
0 |
1 |
C |
N |
|
N |
N |
|
0 |
M |
A |
1 |
|
Gift Bag |
Gift Bag |
|
|
|
|
|
1963 |
332 |
0 |
1 |
C |
N |
|
N |
N |
|
0 |
M |
A |
1 |
|
Gift Bag |
Gift Bag |
|
|
|
|
|
1964 |
332 |
0 |
1 |
C |
N |
|
N |
N |
|
0 |
M |
A |
1 |
|
Gift Bag |
Gift Bag |
|
|
|
|
|
1965 |
332 |
0 |
1 |
C |
N |
|
N |
N |
|
0 |
M |
A |
1 |
|
Gift Bag |
Gift Bag |
|
|
|
|
|
1966 |
332 |
0 |
1 |
C |
N |
|
N |
N |
|
0 |
M |
A |
1 |
|
Gift Bag |
Gift Bag |
|
|
|
|
|
1968 |
332 |
0 |
1 |
C |
N |
|
N |
N |
|
0 |
M |
A |
1 |
|
Gift Bag |
Gift Bag |
|
|
|
|
|
1970 |
332 |
0 |
1 |
C |
N |
|
N |
N |
|
0 |
M |
A |
1 |
|
Gift Bag |
Gift Bag |
|
|
|
|
|
1973 |
332 |
0 |
1 |
C |
N |
|
N |
N |
|
0 |
M |
A |
1 |
|
Gift Bag |
Gift Bag |
|
|
|
|
|
1963 |
333 |
0 |
1 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
2 |
|
Delivery Date |
Delivery Date |
|
|
|
|
|
1964 |
333 |
0 |
1 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
2 |
|
Delivery Date |
Delivery Date |
|
|
|
|
|
1965 |
333 |
0 |
1 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
2 |
|
Delivery Date |
Delivery Date |
|
|
|
|
|
1966 |
333 |
0 |
1 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
2 |
|
Delivery Date |
Delivery Date |
|
|
|
|
|
1968 |
333 |
0 |
1 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
2 |
|
Delivery Date |
Delivery Date |
|
|
|
|
|
1970 |
333 |
0 |
1 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
2 |
|
Delivery Date |
Delivery Date |
|
|
|
|
|
1973 |
333 |
0 |
1 |
I |
N |
|
Y |
N |
|
0 |
M |
A |
2 |
|
Delivery Date |
Delivery Date |
|
|
|
|
|