… hits the most is there a lot of rows are analyzed – count queries, group by, order by without indexes, search queries etc. Basically as soon as… as use total number of messages in the mailbox at least to draw “pager”. Easy solution is to do select count(*) from messages where…
Post: Sphinx search performance optimization: multi-threaded search
…nodes (even if local ones) and in parallel, merging of results is done by the …COUNT with GROUP BY and if data nodes return large amounts of data to post-process, aggregator may well become a…your Sphinx query log and look at the number of results matched per query – this should give you a clue….

