Query time 0.00082
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "27.31"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_product_options",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"option_id"
],
"key_length": "3",
"rows_examined_per_scan": 26,
"rows_produced_per_join": 26,
"filtered": "100.00",
"index_condition": "(`primapearl_r_new`.`cscart_product_options`.`option_id` in (988,1030,1031,1032,1039,1041,1043,1046,1123,1130,1178,1179,1180,1181,1183,1184,1185,1186,1190,1196,1199,1200,1220,1221,1234,1261))",
"cost_info": {
"read_cost": "15.61",
"eval_cost": "2.60",
"prefix_cost": "18.21",
"data_read_per_join": "70K"
},
"used_columns": [
"option_id",
"option_type"
]
}
},
{
"table": {
"table_name": "cscart_ult_objects_sharing",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"share_object_id",
"share_company_id",
"share_object_type"
],
"key_length": "159",
"ref": [
"primapearl_r_new.cscart_product_options.option_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 26,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "6.50",
"eval_cost": "2.60",
"prefix_cost": "27.31",
"data_read_per_join": "4K"
},
"used_columns": [
"share_company_id",
"share_object_id",
"share_object_type"
],
"attached_condition": "(`primapearl_r_new`.`cscart_ult_objects_sharing`.`share_object_id` = `primapearl_r_new`.`cscart_product_options`.`option_id`)"
}
}
]
}
}
Result
| option_id |
option_type |
| 988 |
S |
| 1030 |
S |
| 1031 |
S |
| 1032 |
S |
| 1039 |
S |
| 1041 |
S |
| 1043 |
S |
| 1046 |
S |
| 1123 |
S |
| 1130 |
S |
| 1178 |
S |
| 1179 |
S |
| 1180 |
S |
| 1181 |
S |
| 1183 |
S |
| 1184 |
S |
| 1185 |
S |
| 1186 |
S |
| 1190 |
S |
| 1196 |
S |
| 1199 |
S |
| 1200 |
S |
| 1220 |
S |
| 1221 |
S |
| 1234 |
S |
| 1261 |
S |