MySQL Crazy Fast Stored Functions