basho/riak_kv — pull request #671 by engelsanchez (2013-10-30 17:31:52+00:00)
Title: Streaming 2i Query Performance Penalty in 1.4

In 1.4.2, the streaming merge sort which enables pagination creates a large performance hit to queries that might not require it (streaming).

Making the sort optional on non-paginated 2i queries would provide greatly increased performance on queries that don't require deterministic ordering.

This issue is particularly visible when returning multi-million key results. 1-10million