Query time 0.00040
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "10.51"
},
"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": 10,
"rows_produced_per_join": 10,
"filtered": "100.00",
"index_condition": "(`gaseus`.`cscart_product_features`.`feature_id` in (550,18,644,624,625,626,595,628,553,627))",
"cost_info": {
"read_cost": "6.01",
"eval_cost": "1.00",
"prefix_cost": "7.01",
"data_read_per_join": "11K"
},
"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": [
"gaseus.cscart_product_features.feature_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 10,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "2.50",
"eval_cost": "1.00",
"prefix_cost": "10.51",
"data_read_per_join": "1K"
},
"used_columns": [
"share_company_id",
"share_object_id",
"share_object_type"
],
"attached_condition": "(`gaseus`.`cscart_ult_objects_sharing`.`share_object_id` = `gaseus`.`cscart_product_features`.`feature_id`)"
}
}
]
}
}
Result
| feature_id |
feature_type |
| 18 |
E |
| 550 |
S |
| 553 |
S |
| 595 |
S |
| 624 |
N |
| 625 |
N |
| 626 |
N |
| 627 |
S |
| 628 |
S |
| 644 |
S |