Query time 0.00039
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "10.86"
},
"grouping_operation": {
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "ctl",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"ids",
"idx_tag_links_object_id"
],
"key": "idx_tag_links_object_id",
"used_key_parts": [
"object_id"
],
"key_length": "4",
"rows_examined_per_scan": 12,
"rows_produced_per_join": 12,
"filtered": "100.00",
"index_condition": "(`cscart_db`.`ctl`.`object_id` in (2163,2162,2161,2160,2159))",
"cost_info": {
"read_cost": "5.46",
"eval_cost": "1.20",
"prefix_cost": "6.66",
"data_read_per_join": "192"
},
"used_columns": [
"tag_id",
"object_id"
]
}
},
{
"table": {
"table_name": "ct",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"tag_id"
],
"key_length": "3",
"ref": [
"cscart_db.ctl.tag_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "1.20",
"prefix_cost": "10.86",
"data_read_per_join": "9K"
},
"used_columns": [
"tag_id",
"tag"
]
}
}
]
}
}
}
Result
| video_id |
tags |
| 2159 |
#all skin types |
| 2160 |
#all skin types, #brightening, #Even Skin Tone, #pigmentation, #Skin Hydration |
| 2161 |
#all skin types, #Dull Skin, #pigmentation, #Skin Hydration |
| 2163 |
hairfall |