You must understand that couchbase works differently with RDBMS, such as Oracle. Couchbase offers two ways to get your data:
1) Key search, you know the key of the document (s) that you want to receive.
2) Define the "Reduce map" tasks, called "Views", which create indexes that allow you to query your data for attributes other than the key.
Couchbase docs are always consistent, but views are not and ultimately are sequential (although you have the option to change this).
The couchbase documentation documentation states
Views are updated when document data is saved to disk. The delay between creating or updating a document and updating a document in a view.
So the query time really depends on many factors, can the browsing data be out of date? How big is the data emitted from the index, and what is the current workload and db size? Couchbase provides the following 3 flags for working with views and how you want to access data. False means that the index must be updated before returning the result, so it can be slow.
- false: force update of the view before returning data
- ok: Allow deprecated views
- update_after: allow obsolete view, view update after it has been reached.
For more information see the official document http://docs.couchbase.com/couchbase-manual-2.2/#views-and-indexes
You can also read this interesting article on caching http://blog.couchbase.com/caching-queries-couchbase-high-performance
Currently, there is N1QL in the development of Couchbase, effectively the version of the SQL version of couchbase, it will have an EXPLAIN statement, it will not be released until the end of 2014. I suppose.
N1QL Blog Post http://blog.couchbase.com/n1ql-it-makes-cents
Cheat sheet for N1QL http://www.couchbase.com/communities/sites/default/files/Couchbase-N1QL-CheatSheet.pdf
And where you can download the dev preview if you want to play with N1QL http://www.couchbase.com/communities/n1ql
Also pull out the cb stats tool http://docs.couchbase.com/couchbase-manual-2.2/#cbstats-tool , it gives an overview of persistence level, updates, key passes, etc. at a high level.