findAll(pageable) spring data couchbase slow

java

#1

Environment:

  • dev laptop
  • Version: 4.1.1-5914 Enterprise Edition (build-5914) running on VirtualBox
  • spring boot 1.5.9
  • spring data release train Ingalls-SR9
  • spring data couchbase 2.2.9
  • GSI primary index exists as well as specific index
  • View index exists as well

I try to run a default findAll(new PageRequest(0, 200, Sort.Direction.ASC, “name”) and it takes maybe half a minute to return. Is there something I am missing? I have not been able to find much info googling around as this seems so trivial.

Thanks for any suggestions