Query time 0.00594
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "5.82"
},
"nested_loop": [
{
"table": {
"table_name": "b",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"page_id"
],
"key_length": "3",
"rows_examined_per_scan": 10,
"rows_produced_per_join": 10,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.32",
"eval_cost": "1.00",
"prefix_cost": "2.32",
"data_read_per_join": "80"
},
"used_columns": [
"page_id",
"user_id"
],
"attached_condition": "(`wearethehelpful_scalesta_net`.`b`.`page_id` in (99,105,93,69,72,8,10,9,71,87))"
}
},
{
"table": {
"table_name": "u",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"user_id"
],
"key_length": "3",
"ref": [
"wearethehelpful_scalesta_net.b.user_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 10,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.50",
"eval_cost": "1.00",
"prefix_cost": "5.82",
"data_read_per_join": "64K"
},
"used_columns": [
"user_id",
"firstname",
"lastname"
]
}
}
]
}
}
Result
| author |
page_id |
| Kate Hamilton |
8 |
| Extra Digital |
8 |
| Kate Hamilton |
9 |
| Kate Hamilton |
10 |
| Extra Digital |
10 |
| Kate Hamilton |
69 |
| Extra Digital |
69 |
| Kate Hamilton |
71 |
| Kate Hamilton |
72 |
| Extra Digital |
72 |
| Kate Hamilton |
87 |
| Kate Hamilton |
93 |
| Extra Digital |
93 |
| Kate Hamilton |
99 |
| Kate Hamilton |
105 |