Query time 0.00063
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "13.66"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_product_features",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"rows_examined_per_scan": 13,
"rows_produced_per_join": 13,
"filtered": "100.00",
"index_condition": "(`test_uchur_k`.`cscart_product_features`.`feature_id` in (1,58,55,56,57,65,6,66,3,86,47,10,39))",
"cost_info": {
"read_cost": "7.81",
"eval_cost": "1.30",
"prefix_cost": "9.11",
"data_read_per_join": "25K"
},
"used_columns": [
"feature_id",
"feature_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": [
"test_uchur_k.cscart_product_features.feature_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 13,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "3.25",
"eval_cost": "1.30",
"prefix_cost": "13.66",
"data_read_per_join": "2K"
},
"used_columns": [
"share_company_id",
"share_object_id",
"share_object_type"
],
"attached_condition": "(`test_uchur_k`.`cscart_ult_objects_sharing`.`share_object_id` = `test_uchur_k`.`cscart_product_features`.`feature_id`)"
}
}
]
}
}
Result
| feature_id |
feature_type |
| 1 |
E |
| 3 |
S |
| 6 |
M |
| 10 |
M |
| 39 |
S |
| 47 |
M |
| 55 |
S |
| 56 |
M |
| 57 |
M |
| 58 |
M |
| 65 |
M |
| 66 |
S |
| 86 |
S |