What is the most efficient way to perform aggregation functions for a large amount of data using PouchDB and Ionic framework? The default map/reduce functions seam to be a bit slow. Should I use the GQL plugin?