I don’t believe that is that @bek is asking. He mentioned disk usage, hiding a revision doesn’t do that, it just removes it from the client view for non-staff users.
That being said, I don’t believe this would be possible without accessing the database.