How do I delete a wordpress user from giant database?

Using WP CLI, you can easily delete users without concerns about loading the WordPress UI.

wp user delete is the command you’re looking for.

In your case, use wp user delete 123 --reassign=567 for deleting a user by ID and reassigning to another user.