On a separate note, recent 29.0 RC builds have a performance refactoring for group-by which you might need to be aware of: since I know you rely on group-bys, so I wanted to given an heads up about that. If you plan to use this version, be sure to test this on staging before upgrading production.