Query time 0.00290
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "73.99"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "7.63"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_ult_objects_sharing",
"access_type": "index",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"share_object_id",
"share_company_id",
"share_object_type"
],
"key_length": "159",
"rows_examined_per_scan": 170,
"rows_produced_per_join": 1,
"filtered": "1.00",
"using_index": true,
"cost_info": {
"read_cost": "17.62",
"eval_cost": "0.17",
"prefix_cost": "17.79",
"data_read_per_join": "272"
},
"used_columns": [
"share_company_id",
"share_object_id",
"share_object_type"
],
"attached_condition": "((`gaseus`.`cscart_ult_objects_sharing`.`share_company_id` = 1) and (`gaseus`.`cscart_ult_objects_sharing`.`share_object_type` = 'product_options'))"
}
},
{
"table": {
"table_name": "a",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"c_status"
],
"key": "PRIMARY",
"used_key_parts": [
"option_id"
],
"key_length": "3",
"ref": [
"gaseus.cscart_ult_objects_sharing.share_object_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "86.36",
"index_condition": "(`gaseus`.`cscart_ult_objects_sharing`.`share_object_id` = `gaseus`.`a`.`option_id`)",
"cost_info": {
"read_cost": "0.43",
"eval_cost": "0.15",
"prefix_cost": "18.38",
"data_read_per_join": "3K"
},
"used_columns": [
"option_id",
"product_id",
"company_id",
"option_type",
"regexp",
"required",
"multiupload",
"allowed_extensions",
"max_file_size",
"missing_variants_handling",
"status",
"position",
"value",
"yml2_type_options",
"yml2_option_param"
],
"attached_condition": "((`gaseus`.`a`.`product_id` = 0) and (`gaseus`.`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": [
"gaseus.a.option_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.37",
"eval_cost": "0.15",
"prefix_cost": "18.90",
"data_read_per_join": "4K"
},
"used_columns": [
"option_id",
"lang_code",
"option_name",
"internal_option_name",
"option_text",
"description",
"comment",
"inner_hint",
"incorrect_message"
]
}
},
{
"table": {
"table_name": "c",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"product_id"
],
"key": "PRIMARY",
"used_key_parts": [
"option_id"
],
"key_length": "3",
"ref": [
"gaseus.cscart_ult_objects_sharing.share_object_id"
],
"rows_examined_per_scan": 302,
"rows_produced_per_join": 7,
"filtered": "1.72",
"using_index": true,
"cost_info": {
"read_cost": "3.13",
"eval_cost": "0.76",
"prefix_cost": "66.36",
"data_read_per_join": "61"
},
"used_columns": [
"option_id",
"product_id"
],
"attached_condition": "((`gaseus`.`c`.`option_id` = `gaseus`.`a`.`option_id`) and (`gaseus`.`c`.`product_id` in (10965,10985,11005,11027,11047,11067,11089,11111,11133,11153,11173,11195,11215,11237,11259,11279,11299,11320,11813,11819,11825,11831,11838,11844,11851,11869,11887,11909,11929,11936,11940,11944,11951,11958,11959,11960,11961,11962,11963,11964,11965,12030,12031,12032,12033,12034,12035,12036,12037,12102,12116,12118,12132,12146,12160,12174,12188,12202,8203,8214,8215,8216,8217,8218,8205,8206,8207,8208,8209,8210,8211,8212,6843,6840,6841,6846,6962,6966,6967,6965,6963,6952,6953,3484,3487,3485,3486,6969,3434,6947,3424,3911,3422,3910,3421,3909)))"
}
}
]
}
}
}
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 |
yml2_type_options |
yml2_option_param |
option_name |
internal_option_name |
option_text |
description |
inner_hint |
incorrect_message |
comment |
| 11320 |
85 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
0 |
|
|
|
Type of outlet gauge |
Type of outlet gauge |
|
|
|
|
|
| 11320 |
84 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
0 |
|
|
|
Type of inlet gauge |
Type of inlet gauge |
|
|
|
|
|
| 11320 |
83 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
0 |
|
|
|
Connection type |
Connection type |
|
|
|
|
|
| 8210 |
73 |
0 |
1 |
R |
|
Y |
N |
|
0 |
M |
A |
10 |
|
|
|
Radio Test |
Radio Test |
|
|
|
|
|
| 8218 |
81 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
10 |
|
|
|
Inlet |
Inlet |
|
|
|
|
|
| 8217 |
80 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
10 |
|
|
|
Image Variant Test |
Image Variant Test |
|
|
|
|
|
| 8216 |
79 |
0 |
1 |
F |
|
Y |
N |
jpg,png,pdf |
500 |
M |
A |
10 |
|
|
|
File Upload Test |
File Upload Test |
|
|
|
|
|
| 8215 |
78 |
0 |
1 |
S |
|
N |
N |
|
0 |
H |
A |
10 |
|
|
|
Hide If Missing |
Hide If Missing |
|
|
|
|
|
| 8212 |
75 |
0 |
1 |
T |
|
N |
N |
|
0 |
M |
A |
10 |
|
|
|
Text Area |
Text Area |
|
|
|
|
|
| 8211 |
74 |
0 |
1 |
I |
|
Y |
N |
|
0 |
M |
A |
10 |
|
|
|
Text Input |
Text Input |
|
|
|
|
|
| 11320 |
64 |
0 |
1 |
S |
|
Y |
N |
|
0 |
M |
A |
10 |
|
|
|
Inlet connection |
Inlet connection |
|
|
|
|
|
| 8209 |
72 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
10 |
|
|
|
Combo A |
Combo A |
|
|
|
|
|
| 8208 |
71 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
10 |
|
|
|
Weight Test |
Weight Test |
|
|
|
|
|
| 8207 |
70 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
10 |
|
|
|
Percent Test |
Percent Test |
|
|
|
|
|
| 8206 |
69 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
10 |
|
|
|
Price Test |
Price Test |
|
|
|
|
|
| 8205 |
68 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
10 |
|
|
|
Test Option A |
Test Option A |
|
|
|
|
|
| 11320 |
65 |
0 |
1 |
S |
|
Y |
N |
|
0 |
M |
A |
20 |
|
|
|
Outlet connection |
Outlet connection |
|
|
|
|
|
| 11320 |
66 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
30 |
|
|
|
Purge |
Purge |
|
|
|
|
|
| 11320 |
67 |
0 |
1 |
S |
|
N |
N |
|
0 |
M |
A |
40 |
|
|
|
Shut off valve |
Shut off valve |
|
|
|
|
|