Skip to content
Snippets Groups Projects
Commit 5edb1d9e authored by Matt Ingenthron's avatar Matt Ingenthron
Browse files

[couchbase2] Change query to use RAW and ORDER BY.

Using RAW queries reduces overhead at cbq-engine on the cluster and
reduces transport.  This in turn delivers lower latencies and thus
higher throughput with YCSB's tight loops of requests.

Adding an ORDER BY maintains strict correctness with the intended
implementation of Workload E.  In this particular case, the
ORDER BY is effectively a noop since the index in use is ordered
anyway.

The README for couchbase2 was also updated to reflect the simpler
index creation which is possible with Couchbase Server 4.5.  Server
4.5 automatically covers on the primary index so there is no need
for the more complicated syntax unless using an older version.

Note this change requires the 2.3.1 Couchbase Java SDK and its
underlying core-io 1.3.1.  The core-io 1.3.1 adds a streaming
parser for RAW results.
parent 3fb3ab90
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment