I am using couchbase 6.0 community version and I have about 20 million records and trying to run the following query,
SELECT SUM(sales) as sales, SUM(salesWithOut