Homec4science
Diffusion YCSB 5edb1d9e2c9e

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

Authored by Matt Ingenthron <ingenthr@cep.net> on May 11 2016, 03:49.

Description

[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.

Details

Committed
Matt Ingenthron <ingenthr@cep.net>Jun 22 2016, 00:28
Pushed
iorgulescuOct 2 2018, 18:02
Parents
R7507:3fb3ab90e75f: [couchbase2] Update Couchbase SDK to version 2.3.1.
Branches
Unknown
Tags
Unknown

Event Timeline

Matt Ingenthron <ingenthr@cep.net> committed R7507:5edb1d9e2c9e: [couchbase2] Change query to use RAW and ORDER BY. (authored by Matt Ingenthron <ingenthr@cep.net>).Jun 22 2016, 00:28