We are having some performance issues with our ongoing project because we get back lots of values from our views and cannot group them because we don't use any reduce function.
Here, we want all gpi - values which share the came cell_id back. problem here is that lots of document share the same gpi and the same cell_id. The group function is no option since we found no reduce to perform here. Since we get back so many duplicate values we have to put in a set in python so they are unique we lose a lot of performance due to iterating through all values couichbase returns.
An example doc and view are in the full description.
Does anyone have any idea how we could solve this problem?
I'm very new to Couchbase, and testing some queries on it these days.
In Couchbase, it seems that we should pre-define 'view' before I execute query. So, every sample article explains how to define views for each condition such as 'by_country", "by_lanuage", and "by_age"....
We are noticing that couchbase server (on windows) is using increasing amounts of CPU before crashing and restarting.
The process that seems to be most problematic is erl.exe.
We could throw more servers at the problem but would like to know if we are just hiding a fundamental...
Our PHP application has been running with Membase for several years connecting via the PHP Memcached Extension. We also have one instance of our application running on Couchbase 2.2.0. We have just installed a new server and we are testing our PHP application with Couchbase 2.5.0, PHP...