From what we’ve seen, pretty=false improves both latency and throughput.
How did you exactly set the pretty to false?
Here are the things you can do to.
- Use prepared statement. Set adhoc to false
- Set pretty=false
- Increase pipeline-batch to 2048.
info on how to increase it is at at: N1QL 200x slower than views for simple queries