Hello,
Hard to say without knowing your exact system.
But something you can do is to cache the result of your query. Something like:
- https://gist.github.com/tgrall/6162974
- http://blog.couchbase.com/caching-queries-couchbase-high-performance
Regards
Tug
@tgrall